/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2444;
  --primary-light: #2557a7;
  --gold: #c9a227;
  --gold-light: #e8c44a;
  --gold-dark: #a07c1a;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #e8ecf4;
  --gray: #6b7280;
  --dark: #1a1f2e;
  --text: #2d3748;
  --text-light: #718096;
  --success: #22c55e;
  --shadow-sm: 0 2px 8px rgba(26,58,107,0.08);
  --shadow-md: 0 4px 20px rgba(26,58,107,0.12);
  --shadow-lg: 0 8px 40px rgba(26,58,107,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.gold-text { color: var(--gold); }
.primary-text { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(201,162,39,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,162,39,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
}
.btn-blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26,58,107,0.3);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,58,107,0.45);
}
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; }
.top-bar a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(26,58,107,0.1);
  transition: all var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(26,58,107,0.18);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.logo-tagline { font-size: 0.68rem; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--off-white); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--primary); background: var(--off-white); }
.nav-link.active::after { width: 60%; }
.nav-enroll {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 3px 12px rgba(201,162,39,0.3);
  transition: all var(--transition);
}
.nav-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.45);
}
.nav-enroll::after { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile sidebar header & overlay - hidden on desktop, shown only via @media (max-width:768px) */
.mobile-sidebar-header,
.mobile-sidebar-close,
.mobile-sidebar-overlay { display: none; }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4a8a 100%);
}

/* Modern centered hero (no large logo image) */
.hero.hero-modern { min-height: 78vh; }
.hero-modern-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-modern-content .hero-badge { margin-bottom: 22px; }
.hero-modern-content .hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-modern-content .hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gold-light);
  font-weight: 600;
  font-style: italic;
  margin: 8px 0 14px;
  padding: 12px 26px;
  border: 1px dashed rgba(201,162,39,0.4);
  background: rgba(201,162,39,0.08);
  border-radius: 50px;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 680px;
}
.hero-modern-content .hero-address {
  justify-content: center;
  text-align: left;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-modern-content .hero-buttons {
  justify-content: center;
  margin-bottom: 40px;
}
.hero-modern-content .hero-stats {
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 720px;
  gap: 18px;
}
.btn-maps {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-maps:hover {
  background: #ea4335;
  border-color: #ea4335;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234,67,53,0.45);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/301926/pexels-photo-301926.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  opacity: 0.12;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,26,54,0.92) 0%, rgba(26,58,107,0.85) 60%, rgba(21,45,90,0.9) 100%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--gold);
}
.hero-shape-1 { width: 500px; height: 500px; top: -150px; right: -100px; animation: float 8s ease-in-out infinite; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; animation: float 10s ease-in-out infinite reverse; }
.hero-shape-3 { width: 180px; height: 180px; top: 40%; left: 45%; animation: float 12s ease-in-out infinite; opacity: 0.04; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold-light); }
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(201,162,39,0.08);
  border-radius: 0 8px 8px 0;
}
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 30px;
}
.hero-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero-address svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(201,162,39,0.3);
  animation: ring-pulse 3s ease-in-out infinite;
}
.hero-logo-ring-2 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.15);
  animation: ring-pulse 3s ease-in-out infinite 1s;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}
.hero-logo-img {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: 0 0 40px rgba(201,162,39,0.4), 0 0 80px rgba(201,162,39,0.15);
  position: relative;
  z-index: 1;
}
.hero-institute-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  text-align: center;
  width: 100%;
  max-width: 340px;
}
.hero-institute-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.hero-institute-sub { font-size: 0.8rem; color: var(--gold-light); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hero-contact-row { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.hero-contact-row svg { width: 16px; height: 16px; fill: var(--gold); }

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 0 30px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.marquee-dot { width: 6px; height: 6px; background: var(--primary-dark); border-radius: 50%; opacity: 0.5; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content { min-width: 0; }
.about-para {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.about-cta { margin-top: 28px; }
.about-image-wrap { position: relative; }
.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 420px;
}
.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 110px;
}
.about-badge-float .num { font-size: 2rem; line-height: 1; display: block; }
.about-badge-float .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: all var(--transition);
}
.about-feature:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-feature-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 20px; height: 20px; fill: var(--white); }
.about-feature-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 2px; }
.about-feature-text p { font-size: 0.8rem; color: var(--text-light); }

/* ===== COURSES SECTION ===== */
.courses-section { background: var(--off-white); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.course-card:hover .course-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scale(1.05);
}
.course-icon svg { width: 28px; height: 28px; fill: var(--white); }
.course-tag {
  display: inline-block;
  background: rgba(26,58,107,0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.course-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.course-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 20px; }
.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--light-gray);
  margin-bottom: 16px;
}
.course-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text-light); }
.course-meta-item svg { width: 14px; height: 14px; fill: var(--gold); }

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  transition: transform var(--transition);
}
.why-card:hover .why-icon { transform: scale(1.08) rotate(3deg); }
.why-icon-1 { background: rgba(26,58,107,0.1); }
.why-icon-2 { background: rgba(201,162,39,0.12); }
.why-icon-3 { background: rgba(34,197,94,0.1); }
.why-icon-4 { background: rgba(239,68,68,0.1); }
.why-icon-5 { background: rgba(139,92,246,0.1); }
.why-icon-6 { background: rgba(14,165,233,0.1); }
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.why-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== ACHIEVEMENTS / COUNTERS ===== */
.achievements-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.achievements-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/1205651/pexels-photo-1205651.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
  opacity: 0.06;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}
.achievement-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.achievement-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}
.achievement-icon { font-size: 2.5rem; margin-bottom: 12px; }
.achievement-num {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.achievement-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { font-size: 1rem; }
.testimonial-text { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); }
.author-course { font-size: 0.78rem; color: var(--gold); font-weight: 600; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.cta-section .container { position: relative; }
.cta-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.cta-subtitle { font-size: 1.05rem; color: rgba(15,36,68,0.75); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-link { margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-name { color: var(--white); font-size: 1rem; }
.footer-brand .logo-tagline { color: var(--gold-light); }
.footer-desc { font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; color: rgba(255,255,255,0.65); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--primary-dark); border-color: var(--gold); transform: translateY(-2px); }
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-link::before { content: '›'; color: var(--gold); font-size: 1.1rem; line-height: 1; }
.footer-link:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-copy a { color: var(--gold-light); }

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.float-btn svg { width: 22px; height: 22px; fill: var(--white); }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--primary); }
.float-top { background: var(--gold-dark); opacity: 0; pointer-events: none; transition: all var(--transition); }
.float-top.show { opacity: 1; pointer-events: all; }
.float-tooltip {
  position: absolute;
  right: 62px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ===== FOOTER SOCIAL OVERRIDES ===== */
.social-instagram:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
}
.social-maps:hover {
  background: #ea4335;
  color: var(--white);
  border-color: #ea4335;
  transform: translateY(-3px);
}
.social-whatsapp:hover {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  transform: translateY(-3px);
}

/* ===== CONTACT MAP LINK / VIEW LOCATION ===== */
.map-link-wrap {
  position: relative;
  display: block;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-link-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.map-link-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,58,107,0);
  transition: background var(--transition);
  pointer-events: none;
}
.map-link-wrap:hover::after { background: rgba(26,58,107,0.18); }
.map-overlay-cta {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
  transition: all var(--transition);
}
.map-link-wrap:hover .map-overlay-cta {
  background: var(--gold);
  transform: translateX(-50%) translateY(-3px);
}
.map-overlay-cta svg { width: 14px; height: 14px; fill: currentColor; }
.contact-address-link {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}
.contact-address-link:hover { color: var(--white); text-decoration: underline; }
.contact-map-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.contact-map-icon-btn:hover {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201,162,39,0.4);
}
.contact-map-icon-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== FORM VALIDATION HELPERS ===== */
.form-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}
.form-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}
.form-error.show { display: block; }
.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}
.char-counter {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}
.char-counter.warn { color: #f59e0b; }
.char-counter.over { color: #ef4444; font-weight: 600; }

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.page-banner-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.page-banner-breadcrumb a { color: var(--gold-light); }
.page-banner-breadcrumb span { color: var(--gold); }

/* ===== ABOUT PAGE ===== */
.about-content-block { padding: 80px 0; }
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 48px 0;
}
.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mission-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mission-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.mission-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.team-section { background: var(--off-white); padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-img-wrap { height: 200px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.4); position: relative; }
.team-img-initial { font-size: 3rem; font-weight: 700; color: var(--gold); }
.team-body { padding: 20px; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.team-exp { font-size: 0.82rem; color: var(--text-light); }

/* ===== COURSES PAGE ===== */
.courses-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--light-gray);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ===== RESULTS PAGE ===== */
.results-section { background: var(--off-white); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 auto 16px;
}
.result-name { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.result-exam { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.result-year { font-size: 0.78rem; color: var(--text-light); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
}
.contact-info-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; fill: var(--gold-light); }
.contact-info-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-val { font-size: 0.92rem; color: rgba(255,255,255,0.9); line-height: 1.6; }
.contact-info-val a { color: var(--gold-light); }
.contact-action-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.map-placeholder {
  width: 100%;
  height: 220px;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}
.form-title { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 24px; }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label .required { color: #ef4444; margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,58,107,0.08); }
.form-control.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.08); }
.form-control::placeholder { color: #a0aec0; }
.form-error { font-size: 0.78rem; color: #ef4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; font-weight: 700; border-radius: 10px; margin-top: 6px; }
.success-message {
  display: none;
  text-align: center;
  padding: 32px 24px;
  animation: fadeInUp 0.4s ease;
}
.success-message.show { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: 12px; }
.success-title { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.success-desc { font-size: 0.92rem; color: var(--text-light); }

/* ===== ENROLL PAGE ===== */
.enroll-section { background: var(--off-white); padding: 70px 0; }
.enroll-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.enroll-info { position: sticky; top: 90px; }
.enroll-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: var(--white);
}
.enroll-info-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; color: var(--gold-light); }
.enroll-feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.enroll-feature-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.enroll-feature-text { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.enroll-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  box-shadow: var(--shadow-md);
}
.enroll-form-title { font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.enroll-form-sub { font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .hero-logo-img { width: 160px; height: 160px; }
  .hero-logo-ring { width: 200px; height: 200px; }
  .hero-logo-ring-2 { width: 240px; height: 240px; }
  .hero-modern-content { padding: 70px 0 60px; }
  .hero-modern-content .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 560px; margin: 0 auto; }
  .about-main-img { height: 360px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .enroll-grid { grid-template-columns: 1fr; }
  .enroll-info { position: static; }
}

/* ===== HEADER COMPACT FIX 852px–954px =====
   Between these widths the desktop nav was wrapping ("About Us", "Contact Us",
   "Enroll Now" breaking to 2 lines). Compact spacing & font sizes so everything
   fits on one line without affecting layouts above 954px or below 852px. */
@media (min-width: 852px) and (max-width: 954px) {
  .navbar { gap: 10px; padding: 12px 0; }
  .container { padding: 0 16px; }
  .logo-img { width: 46px; height: 46px; }
  .logo-name { font-size: 0.95rem; letter-spacing: 0.3px; }
  .logo-tagline { display: none; }
  .nav-menu { gap: 2px; flex-wrap: nowrap; }
  .nav-link {
    padding: 7px 9px;
    font-size: 0.82rem;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .nav-enroll {
    padding: 7px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  .top-bar .container { justify-content: center; }
  .top-bar-left { display: none; }
  .hamburger { display: flex; }

  /* ===== MOBILE SIDEBAR (premium redesign) ===== */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 320px);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:
      radial-gradient(circle at 100% 0%, rgba(232,196,74,0.22) 0%, transparent 50%),
      radial-gradient(circle at 0% 100%, rgba(201,162,39,0.10) 0%, transparent 55%),
      linear-gradient(165deg, #0a1a36 0%, var(--primary-dark) 45%, var(--primary) 100%);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow: -14px 0 50px rgba(0,0,0,0.5);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-menu.open { right: 0; }

  /* Sidebar header (logo + name + close) injected via JS */
  .mobile-sidebar-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 22px;
    border-bottom: 1px solid rgba(201,162,39,0.25);
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  }  .mobile-sidebar-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    padding: 5px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35), 0 0 0 2px var(--gold);
    object-fit: contain;
    margin-bottom: 12px;
  }
  .mobile-sidebar-name {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1.25;
    margin-bottom: 4px;
  }
  .mobile-sidebar-tagline {
    color: var(--gold-light);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
  }
  .mobile-sidebar-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .mobile-sidebar-close:hover,
  .mobile-sidebar-close:focus {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: rotate(90deg);
  }
  .mobile-sidebar-close svg { width: 16px; height: 16px; fill: currentColor; }

  /* Nav list inside sidebar - distribute vertically across full height */
  .nav-menu > li:not(.mobile-sidebar-header) {
    width: 100%;
    padding: 0 18px;
    display: block;
  }
  .nav-menu > li.mobile-sidebar-header + li { padding-top: 22px; }
  .nav-menu > li:not(.mobile-sidebar-header) + li:not(.mobile-sidebar-header) { margin-top: 10px; }
  /* Push the Enroll Now item to the bottom of the sidebar */
  .nav-menu > li:last-child {
    margin-top: auto;
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: transparent;
    transition: color 0.25s ease, background 0.25s ease, padding 0.25s ease;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .nav-link::after { display: none; }
  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--gold);
    border-radius: 0 3px 3px 0;
    transition: transform 0.25s ease;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--gold-light);
    background: rgba(201,162,39,0.12);
    padding-left: 24px;
  }
  .nav-link:hover::before,
  .nav-link.active::before { transform: translateY(-50%) scaleY(1); }

  /* Enroll Now button stands out in gold (full-width pill, aligned with other links) */
  .nav-enroll {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: var(--primary-dark) !important;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(201,162,39,0.4);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.4px;
  }
  .nav-enroll:hover,
  .nav-enroll.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    color: var(--primary-dark) !important;
    padding-left: 20px;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(201,162,39,0.5);
  }
  .nav-enroll:hover::before,
  .nav-enroll.active::before { display: none; }

  /* Overlay behind sidebar */
  .mobile-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 38, 0.65);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  .mobile-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero { min-height: auto; }
  .hero.hero-modern { min-height: auto; }
  .hero-content { padding: 60px 0 40px; }
  .hero-modern-content { padding: 60px 0 50px; }
  .hero-modern-content .hero-tagline { font-size: 1.05rem; padding: 10px 18px; }
  .hero-modern-content .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .about-grid { gap: 56px; }
  .about-image-wrap { max-width: 100%; }
  .about-main-img { height: 280px; }
  .about-badge-float { right: 10px; bottom: -15px; padding: 14px; min-width: 96px; }
  .about-badge-float .num { font-size: 1.6rem; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .about-mission-grid { grid-template-columns: 1fr; }
  .enroll-form-card { padding: 28px 20px; }
  .contact-form-card { padding: 28px 20px; }
  .contact-info-card { padding: 28px 20px; }
  .floating-buttons { bottom: 20px; right: 16px; }
}
@media (max-width: 480px) {
  .section-padding { padding: 56px 0; }
  .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-modern-content .hero-buttons { align-items: stretch; }
  .hero-modern-content .hero-address { text-align: left; }
  .hero-modern-content .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-modern-content .hero-tagline { font-size: 0.95rem; padding: 9px 14px; }
  .hero-subtitle { font-size: 0.9rem; }
  .about-features { grid-template-columns: 1fr; }
  .about-main-img { height: 220px; }
  .about-badge-float {
    position: static;
    margin: 14px auto 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo-text .logo-name { font-size: 0.95rem; }
}
