* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  background: #f5f6fb;
  color: #111827;
}

/* HEADER */
header {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #ffffff, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 700;
}

.header-title {
  font-size: 16px;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: #e5e7eb;
  font-size: 14px;
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
}

.nav-active {
  border-bottom: 2px solid #6366f1;
  padding-bottom: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-pill {
  font-size: 12px;
  padding: 5px 12px;
  background: rgba(30, 41, 59, 0.7);
  border-radius: 999px;
}

.btn-upload {
  background: #6366f1;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.15s;
}

.btn-upload:hover {
  background: #4f46e5;
}

/* HAMBURGER MENU (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger div {
  width: 24px;
  height: 2.5px;
  background: #f1f5f9;
  border-radius: 4px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: #1f2937;
}

.mobile-menu a {
  color: #f1f5f9;
  font-size: 15px;
}

.mobile-menu .user-pill {
  margin-top: 8px;
  align-self: flex-start;
}

/* PAGE */
.page {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 16px 40px;
}

h1 {
  font-size: 22px;
  margin-bottom: 18px;
}

/* CARDS */
.cards,
.cards-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  padding: 0 16px;              /* فاصله یکنواخت چپ و راست */
}

/* خود کارت */
.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.12s ease;
}

/* کادر عکس */
.card-image {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}



/* .card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  padding: 10px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
} */

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

/* .card-image {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
} */


.c1 {
  background: linear-gradient(135deg, #ff9a9e, #ff3b3b);
}

.c2 {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.c3 {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.c4 {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

.c5 {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.c6 {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.card-title {
  font-size: 14px;
  text-align: center;
  min-height: 32px;
}

.btn-request {
  margin-top: auto;
  padding: 7px 18px;
  border: none;
  border-radius: 999px;
  background: #6366f1;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(99, 102, 241, 0.35);
  transition: 0.15s;
}

.btn-request:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

/* FOOTER */
footer {
  margin-top: 40px;
  background: #111827;
  color: #9ca3af;
  padding: 20px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.footer-links a {
  color: #9ca3af;
  margin-left: 14px;
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 850px) {

  nav,
  .header-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.show {
    display: flex;
  }
}

@media (max-width: 480px) {
  h1 {
    text-align: center;
  }
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 16px;
  color: #1f2937;
}

.section-title span {
  margin-right: 12px;
  /* فاصله بین متن و خط */
}

/* خط صاف بعد از متن */
.section-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  /* ضخامت خط */
  background: #cbd5e1;
  /* رنگ خط – خاکستری روشن */
  margin-left: 12px;
  /* فاصله متن از خط */
}