/* ==========================================
   SUNRISE ACADEMY – style.css
   Palette: Warm Gold + Deep Navy + Cream
   Fonts: Playfair Display + DM Sans
   ========================================== */

:root {
  --gold:      #e8a020;
  --gold-lt:   #f5c05a;
  --gold-dk:   #c47f0a;
  --navy:      #0d1f3c;
  --navy-lt:   #1a3560;
  --cream:     #fffdf7;
  --white:     #ffffff;
  --gray-100:  #f8f5ef;
  --gray-200:  #ede9e0;
  --gray-500:  #8a8278;
  --text:      #1c1810;
  --radius:    16px;
  --shadow:    0 8px 32px rgba(13,31,60,0.10);
  --shadow-lg: 0 20px 60px rgba(13,31,60,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); line-height: 1.7; }

h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }
.section-pad { padding: 96px 0; }

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, #fff3d6, #ffe09a);
  color: var(--gold-dk);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid #f5c05a60;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--navy); line-height: 1.25; margin-bottom: 18px; }
.section-title span { color: var(--gold); }
.section-body { color: var(--gray-500); font-size: 1.05rem; margin-bottom: 14px; }
.section-sub  { color: var(--gray-500); font-size: 1rem; max-width: 580px; margin: 0 auto; }

/* ===== NAVBAR ===== */
#mainNav {
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  padding: 10px 0;
  z-index: 1000;
}
#mainNav.scrolled { background: var(--navy); box-shadow: 0 4px 24px rgba(0,0,0,0.18); padding: 10px 0; }

.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.2rem; flex-shrink: 0;
}
.brand-icon.sm { width: 32px; height: 32px; font-size: 1rem; }
.brand-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
.brand-text span { color: var(--gold); }

.nav-link { color: rgba(255,255,255,0.85) !important; font-size: 0.9rem; font-weight: 500; padding: 8px 12px !important; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; background: rgba(255,255,255,0.07); }

.btn-enroll {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy) !important; font-weight: 700; font-size: 0.88rem;
  padding: 10px 22px; border-radius: 100px; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-enroll:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== SHARED BUTTONS ===== */
.btn-primary-hero {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy); font-weight: 700; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 100px; border: none;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(232,160,32,0.45); color: var(--navy); }

.btn-outline-hero {
  background: transparent; color: var(--white); font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.35);
  text-decoration: none; display: inline-flex; align-items: center; transition: all 0.2s;
}
.btn-outline-hero:hover { background: rgba(255,255,255,0.08); color: var(--gold); border-color: var(--gold); }

.btn-outline-navy {
  background: transparent; color: var(--navy); font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 100px; border: 1.5px solid var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; transition: all 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ===== HERO SECTION (index) ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-lt) 55%, #0f2d5e 100%);
  display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 90px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.06; }
.shape-1 { width: 600px; height: 600px; background: var(--gold); top: -200px; right: -150px; animation: floatShape 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: var(--gold-lt); bottom: 100px; left: -100px; animation: floatShape 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: #5b9bd5; top: 200px; left: 40%; opacity: 0.04; animation: floatShape 7s ease-in-out infinite 2s; }
@keyframes floatShape { 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-30px) rotate(5deg); } }

.hero-badge { display: inline-block; background: rgba(255,255,255,0.1); color: var(--gold-lt); font-size: 0.82rem; font-weight: 500; padding: 8px 18px; border-radius: 100px; border: 1px solid rgba(232,160,32,0.3); margin-bottom: 24px; animation: fadeUp 0.6s ease both; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); line-height: 1.15; margin-bottom: 22px; animation: fadeUp 0.7s ease 0.1s both; }
.hero-title .highlight { color: var(--gold); position: relative; }
.hero-title .highlight::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 4px; }
.hero-subtitle { color: rgba(255,255,255,0.70); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; animation: fadeUp 0.7s ease 0.2s both; }
.hero-actions { animation: fadeUp 0.7s ease 0.25s both; }

.hero-stats { animation: fadeUp 0.7s ease 0.3s both; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-label { color: rgba(255,255,255,0.55); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); }

.hero-card-stack { position: relative; width: 380px; height: 400px; animation: fadeUp 0.8s ease 0.3s both; }
.hero-img-card.main-card { width: 320px; background: rgba(255,255,255,0.07); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; padding: 30px; position: absolute; top: 20px; left: 20px; }
.card-inner { text-align: center; }
.school-illustration { position: relative; padding: 20px 0; }
.illus-sun { font-size: 2.5rem; color: var(--gold); animation: rotateSun 12s linear infinite; display: inline-block; }
@keyframes rotateSun { from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
.illus-building { position: relative; display: inline-block; margin-top: 10px; }
.building-body { width: 140px; background: linear-gradient(180deg, #3a6ea5 0%, #2a5285 100%); border-radius: 8px 8px 0 0; padding: 14px 12px 0; margin: 0 auto; }
.windows-row { display: flex; justify-content: space-around; margin-bottom: 8px; }
.win { width: 22px; height: 22px; background: linear-gradient(135deg, #ffd700, #ffec6e); border-radius: 3px; animation: winBlink 3s ease-in-out infinite; }
.win:nth-child(2){ animation-delay: 0.5s; } .win:nth-child(3){ animation-delay: 1s; }
@keyframes winBlink { 0%,100%{opacity:1;} 50%{opacity:0.6;} }
.door { width: 30px; height: 38px; background: var(--gold-dk); border-radius: 15px 15px 0 0; margin: 0 auto; }
.building-flag { position: absolute; top: -18px; right: -10px; color: var(--gold); font-size: 1.1rem; }
.illus-trees { display: flex; justify-content: space-around; }
.tree { color: #2d8a4e; font-size: 1.8rem; }
.card-caption { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 14px; }

.float-badge { position: absolute; background: var(--white); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 8px 16px; border-radius: 100px; box-shadow: var(--shadow); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.badge-top { top: 0; right: 0; animation: floatBadge 3s ease-in-out infinite; }
.badge-top i { color: var(--gold); }
.badge-bottom { bottom: 30px; left: 0; animation: floatBadge 3s ease-in-out infinite 1.5s; }
.badge-bottom i { color: #10b981; }
@keyframes floatBadge { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }
@keyframes fadeUp { from{ opacity:0; transform:translateY(30px); } to{ opacity:1; transform:translateY(0); } }

/* ===== PAGE HERO (About & Contact) ===== */
.page-hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-lt) 60%, #0f2d5e 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.ph-circle { position: absolute; border-radius: 50%; }
.ph-c1 { width: 500px; height: 500px; background: var(--gold); opacity: 0.05; top: -200px; right: -100px; animation: floatShape 10s ease-in-out infinite; }
.ph-c2 { width: 250px; height: 250px; background: var(--gold-lt); opacity: 0.04; bottom: -50px; left: -80px; animation: floatShape 8s ease-in-out infinite reverse; }

.breadcrumb-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: 0.85rem; }
.breadcrumb-nav a { color: var(--gold-lt); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav i { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.breadcrumb-nav span { color: rgba(255,255,255,0.55); }

.page-hero-title { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--white); line-height: 1.15; margin-bottom: 20px; animation: fadeUp 0.7s ease both; }
.page-hero-title span { color: var(--gold); }
.page-hero-sub { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 600px; margin: 0 auto; animation: fadeUp 0.7s ease 0.15s both; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); color: var(--white); padding: 16px 0; font-size: 0.88rem; }
.announce-item { display: flex; align-items: center; color: rgba(255,255,255,0.85); }
.announce-item i { color: var(--gold); }
.announce-sep { color: rgba(255,255,255,0.2); }

/* ===== ABOUT SECTION (index teaser) ===== */
.about-section { background: var(--cream); }
.about-card-grid { display: grid;  gap: 16px; }
.about-card { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display: block; }
.about-card h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }
.about-card p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }
.about-card.ac-medium { grid-column: 1 / 3; }
.about-card.accent { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); }
.about-card.accent i, .about-card.accent h4, .about-card.accent p { color: var(--gold-lt); }
.pillar-item { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--navy); padding: 10px 14px; background: var(--white); border-radius: 10px; border: 1px solid var(--gray-200); }
.pillar-item i { color: var(--gold); }

/* ===== ABOUT STORY GRID (about page) ===== */
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story-card { border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.story-card i { font-size: 2rem; margin-bottom: 12px; display: block; }
.story-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.story-card p { font-size: 0.85rem; margin: 0; }
.sc-gold { background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: var(--navy); }
.sc-gold i, .sc-gold h3 { color: var(--navy); }
.sc-navy { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); color: var(--white); }
.sc-navy i, .sc-navy h3 { color: var(--gold-lt); }
.sc-navy p { color: rgba(255,255,255,0.65); }
.sc-light { background: var(--cream); border: 2px solid var(--gray-200); color: var(--navy); }
.sc-light i { color: var(--gold); }
.sc-gold-lt { background: #fff8e8; border: 2px solid #f5c05a60; color: var(--navy); }
.sc-gold-lt i { color: var(--gold); }

/* ===== MISSION VISION VALUES ===== */
.mvv-section { background: var(--gray-100); }
.mvv-card { border-radius: var(--radius); padding: 36px 30px; height: 100%; box-shadow: var(--shadow); background: var(--white); border-top: 4px solid transparent; transition: transform 0.3s, box-shadow 0.3s; }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mvv-mission { border-top-color: var(--gold); }
.mvv-vision  { border-top-color: #3b82f6; }
.mvv-values  { border-top-color: #10b981; }
.mvv-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.mvv-mission .mvv-icon { background: #fff8e0; color: var(--gold); }
.mvv-vision  .mvv-icon { background: #eff6ff; color: #3b82f6; }
.mvv-values  .mvv-icon { background: #ecfdf5; color: #10b981; }
.mvv-card h4 { font-size: 1.2rem; color: var(--navy); margin-bottom: 14px; }
.mvv-card p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 18px; }
.mvv-list { list-style: none; padding: 0; margin: 0; }
.mvv-list li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--navy); padding: 6px 0; border-bottom: 1px solid var(--gray-200); }
.mvv-list li:last-child { border: none; }
.mvv-list i { color: var(--gold); font-size: 1rem; }

/* ===== TIMELINE ===== */
.timeline-section { background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--gold-lt), var(--gray-200)); transform: translateX(-50%); }
.tl-item { display: flex; margin-bottom: 48px; position: relative; align-items: flex-start; }
.tl-left { flex-direction: row; padding-right: calc(50% + 30px); }
.tl-right { flex-direction: row-reverse; padding-left: calc(50% + 30px); }
.tl-dot { position: absolute; left: 50%; top: 14px; width: 16px; height: 16px; background: var(--gold); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--gold); transform: translateX(-50%); flex-shrink: 0; z-index: 1; }
.tl-content { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); width: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.tl-content:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tl-year { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; margin-bottom: 8px; }
.tl-content h5 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.tl-content p { color: var(--gray-500); font-size: 0.88rem; margin: 0; }

/* ===== TEAM ===== */
.team-section { background: var(--cream); }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-avatar { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.ta-1 { background: linear-gradient(135deg, #e8a020, #f5c05a); color: var(--navy); }
.ta-2 { background: linear-gradient(135deg, #0d1f3c, #1a3560); color: var(--gold-lt); }
.ta-3 { background: linear-gradient(135deg, #10b981, #34d399); color: var(--white); }
.ta-4 { background: linear-gradient(135deg, #3b82f6, #60a5fa); color: var(--white); }
.team-info { padding: 22px; }
.team-info h5 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.team-role { display: inline-block; color: var(--gold-dk); font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; }
.team-info p { color: var(--gray-500); font-size: 0.84rem; margin-bottom: 14px; }
.team-socials { display: flex; gap: 10px; }
.team-socials a { width: 32px; height: 32px; background: var(--gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--navy); text-decoration: none; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
.team-socials a:hover { background: var(--gold); color: var(--navy); }

/* ===== FACILITIES ===== */
.facilities-section { background: var(--white); }
.facility-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px; background: var(--cream); border-radius: var(--radius); border: 1.5px solid var(--gray-200); height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.facility-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-lt); }
.fac-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--navy); flex-shrink: 0; }
.facility-item h6 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 6px; font-size: 0.98rem; }
.facility-item p { color: var(--gray-500); font-size: 0.85rem; margin: 0; }

/* ===== CTA STRIP ===== */
.cta-strip { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); padding: 60px 0; color: var(--white); }
.cta-strip h3 { font-size: 1.7rem; color: var(--white); margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.65); margin: 0; }
.btn-cta-white { background: var(--white); color: var(--navy); font-weight: 700; padding: 12px 28px; border-radius: 100px; text-decoration: none; display: inline-flex; align-items: center; transition: transform 0.2s, box-shadow 0.2s; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); color: var(--navy); }
.btn-cta-outline { background: transparent; color: var(--white); font-weight: 600; padding: 11px 26px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.4); text-decoration: none; display: inline-flex; align-items: center; transition: all 0.2s; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); color: var(--gold); border-color: var(--gold); }

/* ===== PROGRAMS ===== */
.programs-section { background: var(--white); }
.program-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 32px 26px; height: 100%; position: relative; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-lt); }
.prog-icon { width: 56px; height: 56px; background: color-mix(in srgb, var(--c) 15%, transparent); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--c); margin-bottom: 18px; }
.program-card h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 16px; }
.prog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.prog-tags span { background: var(--gray-100); color: var(--navy); font-size: 0.74rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.program-card.featured { border-color: var(--gold); background: linear-gradient(160deg, #fffdf7, #fff8e8); }
.featured-badge { position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }

/* ===== FEATURES ===== */
.features-section { background: var(--gray-100); }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; height: 100%; position: relative; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card.highlight-card { background: linear-gradient(145deg, var(--navy), var(--navy-lt)); color: var(--white); }
.feature-card.highlight-card h5, .feature-card.highlight-card p { color: var(--white); }
.feature-card.highlight-card .feat-icon { color: var(--gold); }
.feat-num { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--gray-200); position: absolute; top: 14px; right: 20px; line-height: 1; }
.feature-card.highlight-card .feat-num { color: rgba(255,255,255,0.1); }
.feat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 16px; display: block; }
.feature-card h5 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--gray-500); margin: 0; }

/* ===== STATS BANNER ===== */
.stats-banner { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); padding: 60px 0; }
.bstat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--navy); display: block; }
.bstat-label { font-size: 0.85rem; color: rgba(13,31,60,0.7); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px 220px; gap: 16px; }
.gal-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gal-large { grid-column: 1 / 3; }
.gal-tall  { grid-row: 1 / 3; grid-column: 3; }
.gal-inner { width: 100%; height: 100%; background: linear-gradient(145deg, var(--navy), var(--navy-lt)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: transform 0.4s; color: var(--white); }
.gal-large .gal-inner { background: linear-gradient(145deg, #1a3560, #0d3060); }
.gal-tall  .gal-inner { background: linear-gradient(145deg, #0d2a50, #16417a); }
.gal-item:nth-child(3) .gal-inner { background: linear-gradient(145deg, #2d1a5e, #1e1040); }
.gal-item:nth-child(5) .gal-inner { background: linear-gradient(145deg, #1a4a2e, #0d3020); }
.gal-item:nth-child(6) .gal-inner { background: linear-gradient(145deg, #4a1a10, #3d1a08); }
.gal-item:hover .gal-inner { transform: scale(1.04); }
.gal-inner i { font-size: 2.8rem; color: var(--gold); }
.gal-inner span { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--cream); }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); height: 100%; border: 1.5px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card.featured-testi { background: linear-gradient(145deg, var(--navy), var(--navy-lt)); border-color: var(--navy); }
.testi-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 3px; }
.testi-text { font-size: 0.95rem; color: var(--gray-500); font-style: italic; margin-bottom: 22px; }
.featured-testi .testi-text { color: rgba(255,255,255,0.75); }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.testi-author strong { display: block; color: var(--navy); font-size: 0.92rem; }
.featured-testi .testi-author strong { color: var(--white); }
.testi-author span { font-size: 0.78rem; color: var(--gray-500); }
.featured-testi .testi-author span { color: rgba(255,255,255,0.55); }

/* ===== CONTACT PAGE ===== */
.quick-contact-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 30px 24px; text-align: center; height: 100%; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.quick-contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-lt); }
.qc-icon { width: 60px; height: 60px; border-radius: 18px; background: color-mix(in srgb, var(--qc) 15%, transparent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--qc); margin: 0 auto 16px; }
.quick-contact-card h6 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.quick-contact-card p { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.6; }
.qc-link { color: var(--gold-dk); font-size: 0.84rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.qc-link:hover { gap: 8px; color: var(--gold); }

.admission-steps { background: var(--gray-100); border-radius: var(--radius); padding: 24px; }
.steps-title { font-size: 0.88rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.step-item:last-child { margin-bottom: 0; }
.step-num { width: 32px; height: 32px; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.step-item strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 2px; }
.step-item p { font-size: 0.82rem; color: var(--gray-500); margin: 0; }

.social-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1.5px solid var(--gray-200); color: var(--navy); font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 100px; text-decoration: none; transition: all 0.2s; }
.social-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.contact-form-wrap { background: var(--cream); border-radius: 20px; padding: 40px; border: 1.5px solid var(--gray-200); }
.form-title { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.form-subtitle { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 28px; }
.form-label { font-size: 0.83rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.req { color: #ef4444; }

.sa-input { border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 12px 16px; font-size: 0.9rem; background: var(--white); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.sa-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,0.12); outline: none; }

.radio-pill { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.radio-pill input { display: none; }
.radio-pill span { background: var(--white); border: 1.5px solid var(--gray-200); color: var(--navy); font-size: 0.82rem; padding: 6px 14px; border-radius: 100px; transition: all 0.2s; }
.radio-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.radio-pill span:hover { border-color: var(--gold); }

.btn-submit { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); color: var(--white); font-weight: 700; font-size: 0.95rem; padding: 14px; border-radius: 12px; border: none; transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; justify-content: center; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,31,60,0.3); color: var(--white); }

.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 30px; background: #ecfdf5; border-radius: 16px; border: 2px solid #10b981; }
.form-success i { font-size: 3rem; color: #10b981; margin-bottom: 16px; }
.form-success h5 { color: var(--navy); margin-bottom: 10px; }
.form-success p { color: var(--gray-500); }

/* ===== MAP ===== */
.map-section { padding-bottom: 0; }
.map-embed { margin-top: 40px; }
.map-placeholder { height: 420px; position: relative; overflow: hidden; background: #e8f0f7; }
.map-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(13,31,60,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,31,60,0.05) 1px, transparent 1px); background-size: 50px 50px; }
.map-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; z-index: 2; }
.map-pin { font-size: 3rem; color: var(--gold); filter: drop-shadow(0 4px 12px rgba(232,160,32,0.5)); animation: mapBounce 2s ease-in-out infinite; margin-bottom: 12px; }
@keyframes mapBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
.map-info { background: var(--white); padding: 24px 32px; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; }
.map-info strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.map-info span { font-size: 0.88rem; color: var(--gray-500); }

/* ===== FAQ ACCORDION ===== */
.faq-section { background: var(--cream); }
.sa-acc-item { border: 1.5px solid var(--gray-200); border-radius: var(--radius) !important; margin-bottom: 12px; overflow: hidden; }
.sa-acc-btn { background: var(--white); color: var(--navy); font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem; padding: 18px 24px; box-shadow: none !important; }
.sa-acc-btn:not(.collapsed) { background: var(--navy); color: var(--gold-lt); }
.sa-acc-btn::after { filter: none; }
.sa-acc-btn:not(.collapsed)::after { filter: brightness(10); }
.sa-acc-body { background: var(--white); color: var(--gray-500); font-size: 0.92rem; padding: 20px 24px; line-height: 1.7; }

/* ===== CONTACT INFO BOX ===== */
.contact-section { background: var(--white); }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1rem; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.contact-info-item p { color: var(--gray-500); font-size: 0.9rem; margin: 0; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-top { padding-bottom: 50px; }
.footer-brand .brand-text { font-size: 1.2rem; }
.footer-about { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-heading { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-socials a { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 1rem; transition: background 0.2s, color 0.2s; }
.footer-socials a:hover { background: var(--gold); color: var(--navy); }
.footer-newsletter .sa-input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--white); flex: 1; }
.footer-newsletter .sa-input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter .sa-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: var(--navy); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 16px rgba(232,160,32,0.4); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity 0.3s, transform 0.3s; z-index: 999; }
.back-to-top.visible { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { color: var(--navy); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.program-card, .feature-card, .testi-card, .about-card, .gal-item, .team-card, .mvv-card, .facility-item, .quick-contact-card, .tl-content {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.program-card.animated, .feature-card.animated, .testi-card.animated,
.about-card.animated, .gal-item.animated, .team-card.animated,
.mvv-card.animated, .facility-item.animated, .quick-contact-card.animated, .tl-content.animated {
  opacity: 1; transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .hero-section { padding-top: 100px; padding-bottom: 80px; min-height: auto; }
  .timeline::before { left: 20px; }
  .tl-item { padding-left: 55px !important; padding-right: 0 !important; flex-direction: row !important; }
  .tl-dot { left: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gal-large { grid-column: 1 / 3; }
  .gal-tall  { grid-row: auto; grid-column: auto; }
}
@media (max-width: 767px) {
  .section-pad { padding: 56px 0; }
  .hero-title { font-size: 2.2rem; }
  .about-card-grid { grid-template-columns: 1fr; }
  .about-card.ac-medium { grid-column: 1; }
  .about-story-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gal-large, .gal-tall { grid-column: 1; grid-row: auto; }
  .contact-form-wrap { padding: 24px 18px; }
  .page-hero { padding: 130px 0 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .announce-sep { display: none; }
  .cta-strip .d-flex { flex-direction: column; }
}

/* ==========================================
   SUNRISE ACADEMY – courses.css
   Course Details Page Styles
   ========================================== */

/* ── HERO EXTENSION ── */
.courses-hero { padding-bottom: 120px; }

.ph-orb {
  position: absolute;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,160,32,0.18), transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100%{transform:translate(-50%,-50%) scale(1); opacity:0.6;} 50%{transform:translate(-50%,-50%) scale(1.4); opacity:1;} }

/* ── FILTER TABS ── */
.course-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cf-tab {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
}
.cf-tab:hover { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.4); }
.cf-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(232,160,32,0.4);
}

/* ── STATS STRIP ── */
.courses-stats-strip {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.cs-stat.animated { opacity: 1; transform: none; }
.cs-stat > i { font-size: 1.4rem; color: var(--gold); margin-bottom: 4px; }
.cs-num { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1; }
.cs-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── CATEGORY TITLE ── */
.courses-grid-section { background: var(--white); }

.courses-category-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.cat-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--gold-lt), var(--gray-200)); }
.cat-line:last-child { background: linear-gradient(90deg, var(--gray-200), var(--gold-lt)); }
.cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  padding: 8px 20px;
  background: linear-gradient(135deg, #fff8e0, #fffdf7);
  border: 1.5px solid var(--gold-lt);
  border-radius: 100px;
}
.cat-label i { color: var(--gold); font-size: 1rem; }

/* ── COURSE CARDS ── */
.course-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  opacity: 0;
  transform: translateY(24px);
}
.course-card.animated { opacity: 1; transform: translateY(0); }
.course-card:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(13,31,60,0.14); }

/* Color themes for card headers */
.cc-header {
  padding: 28px 28px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cc-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* Gold theme */
.cc-gold .cc-header { background: linear-gradient(135deg, #fff8e0, #fffbf0); }
.cc-gold .cc-icon { background: rgba(232,160,32,0.15); color: var(--gold-dk); }
.cc-gold .cc-badge { background: rgba(232,160,32,0.15); color: var(--gold-dk); }
.cc-gold:hover { border-color: var(--gold-lt); }

/* Green theme */
.cc-green .cc-header { background: linear-gradient(135deg, #ecfdf5, #f0fdf7); }
.cc-green .cc-icon { background: rgba(16,185,129,0.12); color: #059669; }
.cc-green .cc-badge { background: rgba(16,185,129,0.12); color: #059669; }
.cc-green:hover { border-color: #6ee7b7; }

/* Blue theme */
.cc-blue .cc-header { background: linear-gradient(135deg, #eff6ff, #f0f7ff); }
.cc-blue .cc-icon { background: rgba(59,130,246,0.12); color: #2563eb; }
.cc-blue .cc-badge { background: rgba(59,130,246,0.12); color: #2563eb; }
.cc-blue:hover { border-color: #93c5fd; }

/* Purple theme */
.cc-purple .cc-header { background: linear-gradient(135deg, #f5f3ff, #faf5ff); }
.cc-purple .cc-icon { background: rgba(139,92,246,0.12); color: #7c3aed; }
.cc-purple .cc-badge { background: rgba(139,92,246,0.12); color: #7c3aed; }
.cc-purple:hover { border-color: #c4b5fd; }

/* Red theme */
.cc-red .cc-header { background: linear-gradient(135deg, #fff1f2, #fff5f5); }
.cc-red .cc-icon { background: rgba(239,68,68,0.12); color: #dc2626; }
.cc-red .cc-badge { background: rgba(239,68,68,0.12); color: #dc2626; }
.cc-red:hover { border-color: #fca5a5; }

/* Teal theme */
.cc-teal .cc-header { background: linear-gradient(135deg, #ecfeff, #f0fdff); }
.cc-teal .cc-icon { background: rgba(6,182,212,0.12); color: #0891b2; }
.cc-teal .cc-badge { background: rgba(6,182,212,0.12); color: #0891b2; }
.cc-teal:hover { border-color: #a5f3fc; }

/* Orange theme */
.cc-orange .cc-header { background: linear-gradient(135deg, #fff7ed, #fff9f2); }
.cc-orange .cc-icon { background: rgba(249,115,22,0.12); color: #ea580c; }
.cc-orange .cc-badge { background: rgba(249,115,22,0.12); color: #ea580c; }
.cc-orange:hover { border-color: #fdba74; }

/* Pink theme */
.cc-pink .cc-header { background: linear-gradient(135deg, #fdf2f8, #fef6fb); }
.cc-pink .cc-icon { background: rgba(236,72,153,0.12); color: #db2777; }
.cc-pink .cc-badge { background: rgba(236,72,153,0.12); color: #db2777; }
.cc-pink:hover { border-color: #f9a8d4; }

/* Indigo theme */
.cc-indigo .cc-header { background: linear-gradient(135deg, #eef2ff, #f3f0ff); }
.cc-indigo .cc-icon { background: rgba(99,102,241,0.12); color: #4f46e5; }
.cc-indigo .cc-badge { background: rgba(99,102,241,0.12); color: #4f46e5; }
.cc-indigo:hover { border-color: #a5b4fc; }

/* Card body */
.cc-body { padding: 0 28px 20px; flex: 1; }
.cc-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.cc-body h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.cc-body p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 16px; line-height: 1.65; }

.cc-highlights { display: flex; flex-direction: column; gap: 7px; }
.cc-hl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--navy);
  font-weight: 500;
}
.cc-hl i { color: #10b981; font-size: 0.95rem; flex-shrink: 0; }

/* Card footer */
.cc-footer {
  padding: 18px 28px 24px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}
.cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.cc-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}
.cc-meta i { color: var(--gold); font-size: 0.85rem; }
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cc-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(232,160,32,0.35); }
.cc-btn i { transition: transform 0.2s; }
.cc-btn:hover i { transform: translateX(3px); }

/* Featured course */
.featured-course {
  border-color: var(--gold) !important;
  box-shadow: 0 4px 24px rgba(232,160,32,0.15);
}
.cc-featured-ribbon {
  position: absolute;
  top: 18px; right: -1px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px 4px 10px;
  border-radius: 100px 0 0 100px;
  box-shadow: -2px 2px 10px rgba(232,160,32,0.3);
  letter-spacing: 0.04em;
}

/* ── COMPARISON TABLE ── */
.comparison-section { background: var(--cream); }

.sa-table {
  border-radius: 16px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: var(--shadow);
  background: var(--white);
  font-size: 0.9rem;
}
.sa-table thead tr { background: var(--navy); }
.sa-table thead th {
  color: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 20px;
  border: none;
}
.sa-table tbody tr { transition: background 0.2s; }
.sa-table tbody tr:hover { background: var(--gray-100); }
.sa-table tbody td { padding: 15px 20px; color: var(--text); border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.sa-table tbody tr:last-child td { border-bottom: none; }
.highlight-row { background: linear-gradient(90deg, #fff8e0, #fffbf0) !important; }
.highlight-row td { font-weight: 500; }

.level-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}
.lb-yellow { background: #fff3cd; color: #92400e; }
.lb-green  { background: #d1fae5; color: #065f46; }
.lb-blue   { background: #dbeafe; color: #1e40af; }
.lb-purple { background: #ede9fe; color: #5b21b6; }
.lb-red    { background: #fee2e2; color: #991b1b; }
.lb-teal   { background: #cffafe; color: #155e75; }
.lb-orange { background: #ffedd5; color: #9a3412; }

.tbl-enroll {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tbl-enroll:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(232,160,32,0.4); color: var(--navy); }

/* ── FEE SECTION ── */
.fee-section { background: var(--white); }

.fee-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.fee-card.animated { opacity: 1; transform: none; }
.fee-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-lt); }
.fee-card.fee-featured {
  background: linear-gradient(160deg, var(--navy), var(--navy-lt));
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(13,31,60,0.25);
}
.fee-popular-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.fee-level {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.fee-featured .fee-level { color: rgba(255,255,255,0.5); }
.fee-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1;
}
.fee-price span { font-size: 0.85rem; font-family: 'DM Sans', sans-serif; color: var(--gray-500); font-weight: 500; }
.fee-featured .fee-price { color: var(--gold-lt); }
.fee-featured .fee-price span { color: rgba(255,255,255,0.4); }

.fee-includes { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.fee-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
}
.fee-includes li:last-child { border: none; }
.fee-featured .fee-includes li { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.1); }
.fee-includes i { color: #10b981; font-size: 0.9rem; flex-shrink: 0; }
.fee-extra { color: var(--gray-500) !important; }
.fee-extra i { color: var(--gold) !important; }

.fee-btn {
  display: block;
  text-align: center;
  background: var(--gray-100);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  transition: all 0.2s;
  margin-top: auto;
}
.fee-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.fee-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  border-color: var(--gold);
}
.fee-btn-gold:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

.fee-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.fee-note a { color: var(--gold-dk); font-weight: 600; text-decoration: none; }
.fee-note a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .courses-hero { padding-bottom: 100px; }
  .course-filter-tabs { gap: 8px; }
  .cf-tab { padding: 8px 16px; font-size: 0.82rem; }
}
@media (max-width: 767px) {
  .courses-category-title { flex-direction: column; gap: 10px; }
  .cat-line { width: 100%; height: 1px; }
  .cc-meta { gap: 10px; }
  .sa-table { font-size: 0.78rem; }
  .sa-table thead th, .sa-table tbody td { padding: 12px 12px; }
  .fee-card { padding: 26px 20px; }
}
.carousel {
    position: relative;
    width: 100%;
}

.hero-slider-img {
    height: 100vh;
    object-fit: cover;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
}

.carousel-caption p {
    font-size: 18px;
    color: #fff;
    max-width: 600px;
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.highlight {
    color: #ffc107;
}
.about-card-grid img {
    width: 100%;
}
.lg-logo {
    width: 187px;
}
.flogo-lg {
    width: 232px;
}