:root {
  --navy:       #002147;
  --navy-mid:   #0d3b66;
  --navy-dark:  #00152e;
  --navy-deep:  #052952;
  --gold:       #ffd700;
  --gold-soft:  #f5c842;
  --white:      #ffffff;
  --gray-100:   #f4f4f4;
  --gray-200:   #f8f9fa;
  --gray-300:   #e9ecef;
  --gray-500:   #888;
  --gray-700:   #444;
  --text:       #333;
  --shadow-sm:  0 2px 8px rgba(0,33,71,0.08);
  --shadow-md:  0 6px 20px rgba(0,33,71,0.12);
  --shadow-lg:  0 12px 40px rgba(0,33,71,0.18);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: 0.3s ease;
}

/* 
   Reset
 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Iran-sans', Tahoma, sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  background-color: var(--gray-100);
  direction: rtl;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* 
   Font
 */
@font-face {
  font-family: 'Iran-sans';
  src: url('../font/A-Iranian-Sans/Iranian Sans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   Header
   ============================================= */
.main-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

/* ── Topbar ── */
.topbar {
  background-color: var(--navy);
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  color: var(--white);
}

.topbar-right .brand-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--white);
  transition: opacity var(--transition);
}

.topbar-right .brand-link:hover { opacity: 0.85; }

.azad-logo {
  height: 55px;
  width: auto;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.3px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.auth-section {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), border-color var(--transition);
}

.auth-section:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.login-text {
  font-size: 14px;
  font-weight: 500;
}

.icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* ── Dropdown ── */
.menu-container {
  position: relative;
  padding: 10px 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background-color: var(--white);
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  z-index: 200;
  overflow: hidden;
  animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li a {
  display: block;
  padding: 11px 16px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-300);
  transition: background var(--transition), padding-right var(--transition);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
  background-color: #f0f4f8;
  color: var(--navy);
  padding-right: 22px;
}

.menu-container:hover .dropdown-menu { display: block; }

/* ── Navbar ── */
.navbar {
  background-color: var(--navy-mid);
  width: 100%;
  padding: 0 30px;
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links li a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding: 14px 12px;
  position: relative;
  transition: color var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 12px;
  background-color: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links li a:hover { color: var(--white); }
.nav-links li a:hover::after { width: calc(100% - 24px); }

/* =============================================
   Slider
   ============================================= */
.main-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}

.slider-wrapper {
  display: grid;
  grid-template-areas: "slide-area";
}

.slide {
  grid-area: slide-area;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img,
.slide picture,
.slide picture source {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--navy);
}

/* ── Dots ── */
.dots-container {
  position: absolute;
  bottom: 14px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  background-color: rgba(255,255,255,0.4);
  border-radius: 50%;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  padding: 0;
}

.dot:hover,
.dot.active {
  background-color: var(--white);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* =============================================
   Slogan Bar
   ============================================= */
.slogan-bar {
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  z-index: 5;
}

.slogan-bar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.slogan-text {
  font-size: 1rem;
  letter-spacing: 0.4px;
  opacity: 0.95;
}

.scroll-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--white);
  user-select: none;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}

.scroll-trigger:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255,215,0,0.08);
}

.arrow-down {
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform var(--transition);
}

.scroll-trigger:hover .arrow-down {
  transform: rotate(45deg) translateY(2px);
}

/* =============================================
   News Section
   ============================================= */
#news-section {
  padding: 70px 8%;
  background-color: #fafafa;
}

.news-section-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: 48px;
  font-size: 1.9rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 16px;
}

.news-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Common card ── */
.news-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out,
    box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.news-item.show {
  opacity: 1;
  transform: translateY(0);
}

.news-item:hover { box-shadow: var(--shadow-lg); }

.news-item .img-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.date::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(to bottom, transparent 50%, currentColor 50%) no-repeat center;
  background-size: 1px 4px;
}

/* ── Featured card ── */
.news-item.featured {
  height: 360px;
  border-right: 5px solid var(--navy);
  border-radius: var(--radius);
}

.news-item.featured .img-wrapper {
  position: relative;
  height: 100%;
}

.news-item.featured .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,46,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.news-item.featured h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.5;
  transition: transform 0.4s ease;
}

.news-item.featured .date { color: var(--gold); }

.news-item.featured .summary {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.3s ease;
  line-height: 1.7;
}

.news-item.featured:hover img      { transform: scale(1.08); }
.news-item.featured:hover .overlay { background: rgba(0,21,46,0.72); backdrop-filter: blur(3px); }
.news-item.featured:hover h3       { transform: translateY(-8px); }
.news-item.featured:hover .summary { max-height: 120px; opacity: 1; margin-top: 10px; }

/* ── Standard cards ── */
.news-item.standard {
  display: flex;
  flex-direction: column;
  border-bottom: 5px solid var(--navy);
  height: 360px;
}

.news-item.standard .img-wrapper { height: 52%; }

.news-item.standard .content {
  padding: 18px 20px;
  flex-grow: 1;
  transition: transform 0.35s ease;
}

.news-item.standard h3 {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.6;
  font-weight: bold;
  transition: color var(--transition);
}

.news-item.standard p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item.standard:hover                { background-color: #f5f8fc; }
.news-item.standard:hover img            { transform: scale(1.08); }
.news-item.standard:hover .content       { transform: scale(1.015); }
.news-item.standard:hover h3             { color: var(--navy); }

/* ══════════════════════════════════════════════
   Events Section  —  scroll-snap slider
   متغیرهای رنگ از index.css وراثت می‌گیرند
   ══════════════════════════════════════════════ */

/* ── پوسته بخش ─────────────────────────────── */
#events-section {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #0f4a7a 100%);
  padding: 72px 0 80px;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* نوار نوری پس‌زمینه */
#events-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ev-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── هدر ────────────────────────────────────── */
.ev-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.ev-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.9;
}

.ev-title {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0;
  position: relative;
  padding-bottom: 12px;
}

.ev-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.ev-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  text-decoration: none;
  flex-shrink: 0;
}

.ev-view-all:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.06);
}

.ev-arrow-icon {
  display: inline-block;
  transition: transform 0.25s;
}

.ev-view-all:hover .ev-arrow-icon {
  transform: translateX(-4px);
}

/* ── ردیف اسلایدر ───────────────────────────── */
.ev-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── دکمه‌های ناوبری ─────────────────────────── */
.ev-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, opacity 0.25s;
  z-index: 2;
}

.ev-nav svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ev-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.ev-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ── ویوپورت (scroll-snap) ───────────────────── */
.ev-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  /* اسکرول‌بار پنهان */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ev-viewport::-webkit-scrollbar {
  display: none;
}

/* ── track ───────────────────────────────────── */
.ev-track {
  display: flex;
  gap: 20px;
  padding: 10px 2px 18px;
  width: max-content;
}

/* ── کارت ────────────────────────────────────── */
.ev-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 300px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.ev-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.ev-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ── تصویر کارت ──────────────────────────────── */
.ev-card-img {
  height: 192px;
  overflow: hidden;
  position: relative;
  background: #e8edf3;
  flex-shrink: 0;
}

.ev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.ev-card:hover .ev-card-img img {
  transform: scale(1.07);
}

/* ── بج ──────────────────────────────────────── */
.ev-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.ev-badge--conf { background: rgba(0, 33, 71, 0.88); backdrop-filter: blur(4px); }
.ev-badge--work { background: rgba(41, 143, 82, 0.88); backdrop-filter: blur(4px); }

/* ── بدنه کارت ───────────────────────────────── */
.ev-card-body {
  padding: 16px 16px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.ev-card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ev-card-date::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.7;
}

.ev-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 46px;
  transition: color 0.2s;
}

.ev-card:hover .ev-card-title {
  color: var(--navy);
}

.ev-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #666;
  margin-top: auto;
}

.ev-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ev-meta-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.6;
}

.ev-meta-sep {
  color: #ccc;
  line-height: 1;
}

.ev-meta-fee {
  font-weight: 600;
  color: var(--navy-mid);
}

/* ── پاورقی کارت ─────────────────────────────── */
.ev-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #eef0f3;
  background: #fafbfc;
}

.ev-footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e0e4ea;
  flex-shrink: 0;
}

.ev-card-footer span {
  font-size: 0.76rem;
  color: #777;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-footer-cta {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: var(--navy-mid) !important;
  border: 1px solid var(--navy-mid);
  padding: 3px 10px;
  border-radius: 12px;
  flex: 0 0 auto !important;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.ev-card:hover .ev-footer-cta {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}

/* ── حالت خالی ───────────────────────────────── */
.ev-empty {
  width: 280px;
  padding: 48px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.ev-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.ev-empty p {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.ev-empty small {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ── دات‌های ناوبری ──────────────────────────── */
.ev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.ev-dot.active {
  background: var(--gold);
  transform: scale(1.2);
  width: 22px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════
   ریسپانسیو
   ══════════════════════════════════════════════ */

/* موبایل کوچک  ≤ 480px  →  2 کارت */
@media (max-width: 480px) {
  #events-section { padding: 44px 0 54px; }
  .ev-container { width: 100%; padding: 0 12px; }
  .ev-header { margin-bottom: 22px; }
  .ev-title { font-size: 1.2rem; }
  .ev-eyebrow { font-size: 0.68rem; }
  .ev-view-all { font-size: 0.78rem; padding: 5px 10px; }

  .ev-nav { width: 34px; height: 34px; }
  .ev-nav svg { width: 15px; height: 15px; }

  /* دو کارت در موبایل — عرض viewport - nav - gap بین ۲ کارت تقسیم بر ۲ */
  .ev-card {
    width: calc((100vw - 24px - 34px - 34px - 14px - 14px - 20px) / 2);
  }
  .ev-card-img { height: 130px; }
  .ev-card-body { padding: 10px 10px 6px; gap: 5px; }
  .ev-card-title { font-size: 0.78rem; min-height: 38px; }
  .ev-card-date { font-size: 0.67rem; }
  .ev-card-meta { font-size: 0.68rem; gap: 4px; }
  .ev-card-footer { padding: 7px 10px; }
  .ev-footer-logo { width: 22px; height: 22px; }
  .ev-footer-cta { display: none; }
  .ev-dots { margin-top: 18px; }
}

/* موبایل متوسط  481px – 767px  →  2 کارت */
@media (min-width: 481px) and (max-width: 767px) {
  #events-section { padding: 50px 0 62px; }
  .ev-container { width: 100%; padding: 0 14px; }

  .ev-nav { width: 38px; height: 38px; }
  .ev-nav svg { width: 17px; height: 17px; }

  .ev-card {
    width: calc((100vw - 28px - 38px - 38px - 14px - 14px - 20px) / 2);
  }
  .ev-card-img { height: 155px; }
  .ev-card-body { padding: 12px 13px 8px; }
  .ev-card-title { font-size: 0.88rem; }
  .ev-card-footer { padding: 9px 13px; }
  .ev-footer-cta { display: none; }
}

/* تبلت  768px – 1023px  →  2 کارت واضح */
@media (min-width: 768px) and (max-width: 1023px) {
  #events-section { padding: 58px 0 70px; }

  .ev-card { width: 270px; }
  .ev-card-img { height: 170px; }
}

/* دسکتاپ  ≥ 1024px  →  3 کارت */
@media (min-width: 1024px) {
  .ev-card { width: 310px; }
}

@media (min-width: 1280px) {
  .ev-card { width: 330px; }
}
/* =============================================
   FAQ Section
   ============================================= */
.faq-section {
  padding: 70px 0;
  background-color: #f9f9f9;
}

.faq-section-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: 44px;
  font-size: 1.6rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 14px;
}

.faq-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-right: 4px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item.active { border-right-color: var(--navy); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-mid);
  transition: color var(--transition);
}

.faq-item.active .faq-question { color: var(--navy); }

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.35s ease, color var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--gold-soft);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding: 0 22px 22px;
  color: #555;
  line-height: 1.85;
  font-size: 0.93rem;
  text-align: justify;
}

/* =============================================
   Feedback
   ============================================= */
.feedback-section {
  padding: 70px 0 90px;
  background-color: var(--white);
}

.feedback-section-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: 44px;
  font-size: 1.6rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 14px;
}

.feedback-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.feedback-container {
  max-width: 780px;
  margin: 0 auto;
  background: var(--gray-200);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { width: 100%; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

.required { color: #d63384; }

.form-control {
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(13,59,102,0.1);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.char-counter {
  text-align: left;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 4px;
  direction: ltr;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background-color: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.submit-btn:hover {
  background-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,33,71,0.25);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =============================================
   Footer
   ============================================= */
.main-footer {
  background-color: var(--navy);
  color: #d1d5db;
  padding-top: 60px;
  font-size: 0.88rem;
  border-top: 4px solid var(--gold);
  direction: rtl;
  text-align: right;
}

.footer-grid {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-img {
  width: 62px;
  height: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.brand-text h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.footer-desc {
  line-height: 1.85;
  color: #b0bec5;
  margin-bottom: 20px;
  text-align: justify;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-list { padding: 0; }

.footer-list li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.footer-list li:last-child { border-bottom: none; }

.footer-list a {
  color: #b0bec5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: color var(--transition), padding-right var(--transition);
}

.footer-list a i {
  font-size: 0.65rem;
  color: var(--gold);
  transition: transform var(--transition);
}

.footer-list a:hover {
  color: var(--white);
  padding-right: 5px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.icon-box {
  min-width: 34px;
  height: 34px;
  background-color: rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: -4px;
  flex-shrink: 0;
}

.contact-row p {
  margin: 0;
  line-height: 1.7;
  color: #b0bec5;
}

.footer-bottom {
  background-color: var(--navy-dark);
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #6b7f96;
}

.bottom-flex p { margin: 0; }


/* =============================================
   RESPONSIVE MEDIA QUERIES
   ============================================= */

/* ── موبایل کوچک  (≤ 480px) ── */
@media (max-width: 480px) {

  /* ── Header ── */
  .topbar { height: 60px; padding: 0 12px; }
  .azad-logo { height: 40px; }
  .brand-name { font-size: 14px; }

  /* ── Slider ── */
  .slide img { object-fit: contain; max-height: none; background: var(--navy); }
  .dot { width: 7px; height: 7px; }
  .dots-container { bottom: 8px; gap: 6px; }

  /* ── Slogan Bar ── */
  .slogan-bar { flex-direction: column; gap: 12px; padding: 14px 16px; text-align: center; }
  .slogan-text { font-size: 0.88rem; }
  .scroll-trigger { font-size: 0.85rem; padding: 5px 10px; }

  /* ── News ── */
  #news-section { padding: 36px 3%; }
  .news-section-title { font-size: 1.25rem; margin-bottom: 28px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .news-item.featured { grid-column: span 2; height: 190px; border-right-width: 3px; }
  .news-item.featured .overlay { padding: 14px; }
  .news-item.featured h3 { font-size: 0.82rem; margin-bottom: 4px; }
  .news-item.standard { height: auto; min-height: 200px; border-bottom-width: 3px; }
  .news-item.standard .img-wrapper { height: 115px; }
  .news-item.standard .content { padding: 8px 10px; }
  .news-item.standard h3 { font-size: 0.72rem; margin-bottom: 4px; }
  .news-item.standard p { display: none; }
  .date { font-size: 0.65rem; margin-bottom: 5px; }

  /* ── Events ── */
  #events-section { padding: 40px 0; }
  .container-fluid { width: 100%; padding: 0 12px; }
  .events-header { margin-bottom: 20px; }
  .hamayesh-section-title { font-size: 1.2rem; }
  .events-slider-wrapper { display: flex; align-items: center; gap: 8px; }
  .nav-arrow {
    position: static;
    flex-shrink: 0;
    width: 36px; height: 36px; min-width: 36px;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    transform: none;
    box-shadow: none;
  }
  .nav-arrow svg { width: 16px; height: 16px; }
  .nav-arrow:hover { background-color: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.05); }
  .slider-viewport { flex: 1; overflow: hidden; min-width: 0; }
  .slider-track { gap: 10px; padding: 5px 2px 12px; }
  .event-card { width: calc(50% - 5px); min-width: 0; }
  .card-image { height: 120px; }
  .card-content { padding: 8px 10px; }
  .card-title { font-size: 0.75rem; min-height: 36px; -webkit-line-clamp: 2; }
  .card-date { font-size: 0.68rem; margin-bottom: 5px; }
  .card-meta { font-size: 0.68rem; gap: 3px; }
  .card-footer { padding: 7px 10px; }
  .footer-logo { width: 22px; height: 22px; }
  .card-footer span { font-size: 0.65rem; }
  .event-badge { font-size: 0.62rem; padding: 2px 7px; top: 6px; right: 6px; }
  .slider-dots { margin-top: 16px; }

  /* ── FAQ ── */
  .faq-section { padding: 40px 0; }
  .faq-section-title { font-size: 1.3rem; margin-bottom: 28px; }
  .faq-question { font-size: 0.9rem; padding: 14px 16px; }
  .faq-answer p { font-size: 0.85rem; padding: 0 16px 16px; }

  /* ── Feedback ── */
  .feedback-section { padding: 40px 0 60px; }
  .feedback-section-title { font-size: 1.3rem; }
  .feedback-container { padding: 20px 14px; }
  .form-row.two-col { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .main-footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; width: 94%; }
  .brand-col { grid-column: auto; }
  .footer-title::after { right: 50%; transform: translateX(50%); }
  .brand-wrapper, .social-links, .contact-row, .footer-list a { justify-content: center; }
  .footer-list a:hover { padding-right: 0; }
  .bottom-flex { flex-direction: column; gap: 8px; text-align: center; }
}


/* ── موبایل متوسط  (481px – 768px) ── */
@media (min-width: 481px) and (max-width: 768px) {

  /* ── Header ── */
  .topbar { height: 64px; padding: 0 16px; }
  .azad-logo { height: 46px; }
  .brand-name { font-size: 16px; }

  /* ── Slider ── */
  .slide img { object-fit: contain; max-height: none; background: var(--navy); }
  .dot { width: 8px; height: 8px; }
  .dots-container { bottom: 10px; gap: 8px; }

  /* ── Slogan Bar ── */
  .slogan-bar { flex-direction: column; gap: 14px; padding: 18px; text-align: center; }

  /* ── News ── */
  #news-section { padding: 48px 4%; }
  .news-section-title { font-size: 1.55rem; margin-bottom: 34px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-item.featured { grid-column: span 2; height: 250px; }
  .news-item.featured h3 { font-size: 1rem; }
  .news-item.standard { height: auto; min-height: 255px; border-bottom-width: 3px; }
  .news-item.standard .img-wrapper { height: 148px; }
  .news-item.standard .content { padding: 12px 14px; }
  .news-item.standard h3 { font-size: 0.85rem; }
  .news-item.standard p { font-size: 0.78rem; -webkit-line-clamp: 2; }

  /* ── Events ── */
  #events-section { padding: 50px 0; }
  .container-fluid { width: 100%; padding: 0 16px; }
  .events-header { margin-bottom: 24px; }
  .hamayesh-section-title { font-size: 1.4rem; }
  .events-slider-wrapper { display: flex; align-items: center; gap: 10px; }
  .nav-arrow {
    position: static;
    flex-shrink: 0;
    width: 40px; height: 40px; min-width: 40px;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    transform: none;
    box-shadow: none;
  }
  .nav-arrow svg { width: 18px; height: 18px; }
  .nav-arrow:hover { background-color: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.05); }
  .slider-viewport { flex: 1; overflow: hidden; min-width: 0; }
  .slider-track { gap: 14px; padding: 5px 3px 12px; }
  .event-card { width: calc(50% - 7px); min-width: 0; }
  .card-image { height: 155px; }
  .card-content { padding: 11px 13px; }
  .card-title { font-size: 0.85rem; min-height: 42px; }
  .card-date { font-size: 0.73rem; }
  .card-meta { font-size: 0.73rem; gap: 3px; }
  .card-footer { padding: 9px 12px; }
  .footer-logo { width: 26px; height: 26px; }
  .card-footer span { font-size: 0.68rem; }
  .slider-dots { margin-top: 20px; }

  /* ── FAQ ── */
  .faq-section { padding: 50px 0; }
  .faq-section-title { font-size: 1.4rem; margin-bottom: 32px; }
  .faq-question { font-size: 0.95rem; padding: 16px 20px; }

  /* ── Feedback ── */
  .feedback-section { padding: 50px 0 70px; }
  .feedback-container { padding: 28px 20px; }
  .form-row.two-col { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; width: 94%; }
  .brand-col { grid-column: span 2; }
  .bottom-flex { flex-direction: column; gap: 8px; text-align: center; }
}


/* ── تبلت  (769px – 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ── Header ── */
  .topbar { padding: 0 20px; }
  .brand-name { font-size: 18px; }
  .navbar { padding: 0 20px; }
  .nav-links li a { font-size: 13px; padding: 13px 10px; }

  /* ── Slider ── */
  .slide img { max-height: 70vh; object-fit: cover; }

  /* ── Slogan Bar ── */
  .slogan-bar { padding: 16px 3%; }

  /* ── News ── */
  #news-section { padding: 60px 5%; }
  .news-section-title { font-size: 1.7rem; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-item.featured, .news-item.standard { height: 320px; }
  .news-item.standard .img-wrapper { height: 50%; }

  /* ── Events ── */
  #events-section { padding: 60px 0; }
  .container-fluid { width: 95%; }
  .hamayesh-section-title { font-size: 1.55rem; }
  .nav-arrow { width: 42px; height: 42px; }
  .nav-arrow svg { width: 20px; height: 20px; }
  .event-card { width: 280px; }
  .card-image { height: 180px; }

  /* ── FAQ ── */
  .faq-section { padding: 60px 0; }
  .faq-section-title { font-size: 1.5rem; }

  /* ── Feedback ── */
  .feedback-section { padding: 60px 0 80px; }
  .feedback-container { padding: 36px 32px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brand-col { grid-column: span 2; }
}


/* ── دسکتاپ  (1025px+) ── */
@media (min-width: 1025px) {

  /* ── Slider ── */
  .slide img { max-height: 80vh; object-fit: cover; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .brand-col { grid-column: auto; }
}