/* ============================================================
   Archway Admissions — Main Stylesheet
   Fonts: Poppins (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --primary:        #046BD2;
  --primary-dark:   #045CB4;
  --primary-light:  #EBF4FF;
  --heading:        #0B1F3B;
  --text:           #1E293B;
  --text-mid:       #475569;
  --text-light:     #94A3B8;
  --bg:             #FAF9F6;
  --bg-light:       #F0F5FA;
  --white:          #FFFFFF;
  --beige:          #D8CFC4;
  --gold:           #A38560;
  --border:         #E2E8F0;
  --shadow:         0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:      0 12px 48px rgba(0,0,0,0.12);
  --radius:         8px;
  --radius-lg:      14px;
  --font-head:      'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
  --max-w:          1200px;
  --transition:     all 0.2s ease;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--heading); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(22px, 4vw, 36px); }
h2 { font-size: 22px; }
h3 { font-size: 15px; }
h4 { font-size: 14px; }
p  { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* ── ANNOUNCE BAR ───────────────────────────────────────── */
.announce-bar {
  background: var(--heading);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  position: relative;
  z-index: 100;
}
.announce-bar a { color: var(--beige); font-weight: 600; text-decoration: underline; }
.announce-bar .marquee-text { display: inline-block; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 8px;
}
/* ── LOGO IMAGES ── */
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .logo-img { height: 32px; }
  .logo-img-footer { height: 36px; }
}

.navbar-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--heading);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-logo span { color: var(--primary); }
.navbar-logo img { height: 36px; width: auto; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.navbar-nav .nav-link {
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.navbar-nav .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.navbar-nav .nav-link.active { color: var(--primary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text-mid);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav-dropdown-menu .menu-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  padding: 10px 14px 4px;
}
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(4,107,210,0.25);
}
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--heading); border-radius: 2px; transition: all 0.25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* mobile-menu accordion styles are defined in includes/header.php */

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0B1F3B 0%, #0D2D50 50%, #0B1F3B 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(4,107,210,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 20% 80%, rgba(163,133,96,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,107,210,0.2);
  border: 1px solid rgba(4,107,210,0.3);
  color: #93C5FD;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-badge span { width: 6px; height: 6px; background: #3B82F6; border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { color: #60A5FA; font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.hero-form-card h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 6px;
}
.hero-form-card .sub {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 20px;
}

/* ── LEAD FORM ──────────────────────────────────────────── */
.lead-form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(4,107,210,0.1);
}
.lead-form select { cursor: pointer; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(4,107,210,0.3); }
.form-note { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}
.trust-item .icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-item strong { color: var(--heading); }

/* ── COURSES SECTION ────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.course-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.course-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.course-card h4 { font-size: 15px; margin-bottom: 6px; }
.course-card p { font-size: 12px; color: var(--text-light); margin: 0; }
.course-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 12px;
}

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 16px; }

/* ── WHY ARCHWAY ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.why-card h4 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 14px; margin: 0; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-bg { background: var(--heading); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.6% + 16px);
  right: calc(16.6% + 16px);
  height: 2px;
  background: rgba(255,255,255,0.1);
}
.step-card { text-align: center; position: relative; }
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(4,107,210,0.3);
  border: 2px solid rgba(4,107,210,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: #60A5FA;
  margin: 0 auto 20px;
}
.step-card h4 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 0; }

/* ── STATS COUNTER ──────────────────────────────────────── */
.stats-bg { background: var(--primary); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; padding: 32px 16px; }
.stat-item .num {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .lbl { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-card .quote {
  font-size: 36px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.testimonial-card p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.testimonial-card .student {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.student-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.student-info .name { font-weight: 600; font-size: 14px; color: var(--heading); }
.student-info .college { font-size: 12px; color: var(--text-light); }
.stars { color: #F59E0B; font-size: 13px; margin-bottom: 12px; }

/* ── UPDATES ────────────────────────────────────────────── */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.update-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.update-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.update-date {
  text-align: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 8px 12px;
  flex-shrink: 0;
  min-width: 52px;
}
.update-date .day { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1; }
.update-date .month { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; }
.update-content h4 { font-size: 14px; margin-bottom: 4px; }
.update-content p { font-size: 13px; margin: 0; }
.update-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.tag-neet { background: #DCFCE7; color: #166534; }
.tag-mbbs { background: #DBEAFE; color: #1E40AF; }
.tag-mba  { background: #FEF3C7; color: #92400E; }
.tag-btech{ background: #F3E8FF; color: #6B21A8; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  transition: var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p { font-size: 14px; color: var(--text-mid); padding-bottom: 20px; margin: 0; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── FINAL CTA ──────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, #0B1F3B 0%, #046BD2 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 100%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-head);
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--primary-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-head);
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--heading);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer-brand h3 span { color: #60A5FA; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: 0.3px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-col a.footer-view-all { color: rgba(255,255,255,0.8) !important; font-weight: 600; margin-top: 4px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6) !important;
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white) !important; }

/* ── FLOATING MOBILE BAR ────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.mobile-bar-inner { display: block; }
.mobile-bar a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  box-sizing: border-box;
}
.mb-form { background: var(--heading); color: var(--white) !important; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--text-light); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 2px 12px rgba(4,107,210,0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-light); }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes countUp { from{opacity:0} to{opacity:1} }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form-card { display: none; }
  .hero { padding: 56px 0; }
  .hero-stats { gap: 20px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .updates-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-bar { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 20px; }
  .section { padding: 56px 0; }
  /* Hero section titles on mobile */
  .hero h1 { font-size: clamp(22px, 5vw, 34px); }
  .hero-sub { font-size: 14px; }
  /* Navbar/footer h3/h4 keep their own styles */
  .footer-brand h3 { font-size: 18px; }
  .step-card h4 { font-size: 16px; }
  .why-card h4 { font-size: 15px; }
}

@media (max-width: 480px) {
  /* Increase side padding on mobile for breathing room */
  .container { padding: 0 20px; }
  /* Page content layout */
  .page-layout { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── FOOTER GRID NEW ─────────────────────────────────────── */
.footer-grid-new {
  display: grid;
  grid-template-columns: 220px repeat(7, 1fr);
  gap: 24px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 1200px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ── PAGE CONTENT — MOBILE OPTIMIZATIONS ───────────────── */
@media (max-width: 600px) {
  /* Hero section side breathing room */
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(20px, 6vw, 28px); margin-bottom: 10px; }
  .hero-sub { font-size: 13px; margin-bottom: 18px; }

  /* Announce bar smaller on mobile */
  .announce-bar { font-size: 12px; padding: 8px 16px; }

  /* Section headings on mobile */
  .section-header h2 { font-size: 20px; }
  .section-header p { font-size: 14px; }

  /* Trust bar stack on small screens */
  .trust-bar-inner { flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 4px; }

  /* Why cards compact */
  .why-card { padding: 20px; gap: 14px; }
  .why-card h4 { font-size: 14px; }
  .why-card p { font-size: 13px; }

  /* Course cards compact */
  .course-card { padding: 20px 16px; }
  .course-card h4 { font-size: 14px; }

  /* Steps compact */
  .step-card h4 { font-size: 15px; }
  .step-card p { font-size: 13px; }

  /* FAQ compact */
  .faq-question { font-size: 14px; padding: 16px 18px; }
  .faq-answer p { font-size: 13px; }

  /* Mobile bar */
  .mobile-bar a { font-size: 14px; padding: 13px 16px; }

  /* Footer compact */
  .footer { padding: 40px 0 0; }
  .footer-col h4 { font-size: 13px; }
  .footer-col a { font-size: 12px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
}