:root {
  --navy: #0a1628;
  --deep: #112240;
  --gold: #c9952a;
  --gold-light: #f0c060;
  --cream: #faf7f0;
  --white: #ffffff;
  --slate: #8892a4;
  --green: #2d6a4f;
  --green-light: #40916c;
  --red: #c1121f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(201,149,42,0.25);
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  color: var(--navy);
}
.nav-logo-text { color: var(--white); font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.nav-logo-text span { color: var(--gold); }

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }
.mobile-only-cta { display: none; }

/* Hamburger Menu Toggle */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}
.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,149,42,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,106,79,0.1) 0%, transparent 40%),
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 60px,
      rgba(255,255,255,0.01) 60px, rgba(255,255,255,0.01) 61px
    );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,149,42,0.15);
  border: 1px solid rgba(201,149,42,0.4);
  color: var(--gold);
  padding: 6px 16px; border-radius: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 24px;
}

.hero-badge::before { content: '●'; font-size: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 900;
  color: var(--white); line-height: 1.05;
  margin-bottom: 16px;
}

.hero h1 em { color: var(--gold); font-style: normal; }

.hero-tagline {
  font-size: 16px; color: rgba(255,255,255,0.6);
  font-style: italic; margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 500; font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--gold);
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.hero-right {
  display: flex; flex-direction: column; gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.hero-card:hover { border-color: rgba(201,149,42,0.4); }

.hero-card-title {
  color: var(--gold); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}

.hero-card-schools {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.school-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  padding: 6px 14px; border-radius: 4px;
  font-size: 13px; font-weight: 500;
}

.hero-card-classes {
  display: flex; gap: 12px;
}

.class-badge {
  width: 52px; height: 52px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 15px;
}

.hero-contact-card {
  background: var(--gold);
  border-radius: 12px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
}

.hero-contact-card a {
  color: var(--navy); font-weight: 600; font-size: 18px;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}

.hero-contact-card small {
  color: rgba(10,22,40,0.65); font-size: 12px;
}

/* ─── SECTIONS ─── */
section { padding: 96px 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.section-label {
  display: inline-block;
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700;
  line-height: 1.15; margin-bottom: 20px;
  color: var(--navy);
}

.section-sub {
  font-size: 17px; color: #546; line-height: 1.7;
  max-width: 560px;
}

/* ─── ABOUT ─── */
.about { background: var(--white); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.about-philosophy {
  display: flex; flex-direction: column; gap: 24px; margin-top: 40px;
}

.philosophy-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.philosophy-item:hover { background: var(--cream); border-left-color: var(--gold); }

.philosophy-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.philosophy-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.philosophy-item p { font-size: 14px; color: #667; line-height: 1.6; }

.about-right { display: flex; flex-direction: column; gap: 20px; }

.message-card {
  background: var(--cream);
  border-radius: 12px; padding: 28px;
  border-left: 4px solid var(--gold);
  position: relative;
}

.message-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 80px; color: var(--gold);
  opacity: 0.2;
  position: absolute; top: -10px; left: 16px;
  line-height: 1;
}

.message-card p { font-size: 15px; color: #445; line-height: 1.75; margin-bottom: 16px; }
.message-card .author { font-weight: 700; font-size: 15px; color: var(--navy); }
.message-card .role { font-size: 13px; color: var(--gold); }

/* ─── PROGRAMS ─── */
.programs { background: var(--cream); }

.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }

.program-card {
  background: var(--white);
  border-radius: 12px; padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: all 0.25s;
  position: relative; overflow: hidden;
  text-align: center;
}

.program-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.25s;
}

.program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.program-card:hover::after { transform: scaleX(1); }

.program-icon { font-size: 36px; margin-bottom: 16px; }
.program-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.program-card p { font-size: 13px; color: #667; line-height: 1.6; }

/* ─── EXAM DETAILS ─── */
.exam-details { background: var(--navy); color: var(--white); }
.exam-details .section-title { color: var(--white); }
.exam-details .section-sub { color: rgba(255,255,255,0.6); }
.exam-details .section-label { color: var(--gold); }

.exam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }

.exam-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 32px;
}

.exam-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--gold);
  margin-bottom: 8px;
}

.exam-card .exam-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

table { width: 100%; border-collapse: collapse; }
th {
  background: rgba(201,149,42,0.2);
  color: var(--gold-light); font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 14px; text-align: left;
}
td { padding: 10px 14px; font-size: 14px; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.07); }
tr:last-child td { border-bottom: none; }

.exam-rk-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.exam-rk-note strong { color: var(--gold); }

/* ─── WHY NEEV ─── */
.why-neev { background: var(--white); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }

.why-card {
  padding: 32px; border-radius: 12px;
  background: var(--cream);
  border: 1px solid transparent;
  transition: all 0.25s;
}
.why-card:hover { border-color: var(--gold); background: var(--white); box-shadow: 0 8px 32px rgba(201,149,42,0.1); }

.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.why-card p { font-size: 14px; color: #667; line-height: 1.65; }

/* ─── TEAM ─── */
.team { background: var(--cream); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }

.team-card {
  background: var(--white); border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }

.team-card-header {
  background: var(--navy);
  padding: 40px 32px 32px;
  text-align: center; position: relative;
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--navy);
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,0.2);
}

.team-name { color: var(--white); font-size: 18px; font-weight: 700; }
.team-role { color: var(--gold); font-size: 13px; margin-top: 4px; }

.team-card-body { padding: 24px 28px; }
.team-card-body p { font-size: 14px; color: #556; line-height: 1.7; }

/* ─── GALLERY ─── */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.gallery-img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; border: 4px solid var(--white); box-shadow: 0 8px 32px rgba(0,0,0,0.08); transition: transform 0.3s; }
.gallery-img:hover { transform: translateY(-6px); }

/* ─── ACHIEVEMENTS ─── */
.achievements { background: var(--navy); }
.achievements .section-title { color: var(--white); }
.achievements .section-label { color: var(--gold); }
.achievements .section-sub { color: rgba(255,255,255,0.6); }

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 48px;
}

.ach-card {
  position: relative; border-radius: 12px; overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(201,149,42,0.25);
  transition: transform 0.25s, border-color 0.25s;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
}
.ach-card:hover { transform: translateY(-6px); border-color: var(--gold); }

.ach-card img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.ach-card:hover img { transform: scale(1.05); }

.ach-card-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed rgba(201,149,42,0.3);
  border-radius: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 13px; gap: 8px;
}
.ach-card-placeholder span { font-size: 32px; opacity: 0.4; }

.ach-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.3s;
}
.ach-card:hover .ach-card-overlay { opacity: 1; }
.ach-card-overlay p { color: var(--white); font-size: 13px; font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: white; font-size: 40px; cursor: pointer;
  line-height: 1; font-weight: 300;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold); }

/* ─── FAQ ─── */
.faq { background: var(--white); }
.faq-list { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; max-width: 800px; }

.faq-item {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px; overflow: hidden;
}

.faq-question {
  padding: 20px 24px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 16px; color: var(--navy);
  background: var(--cream);
  transition: background 0.2s;
  user-select: none;
}
.faq-question:hover { background: #f0ead8; }
.faq-question.active { background: var(--navy); color: var(--white); }
.faq-question .chevron { transition: transform 0.3s; font-style: normal; }
.faq-question.active .chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 24px;
  font-size: 15px; color: #556; line-height: 1.75;
}
.faq-answer.open { max-height: 300px; padding: 20px 24px; }

/* ─── SAFETY ─── */
.safety { background: var(--navy); }
.safety .section-title { color: var(--white); }
.safety .section-label { color: var(--gold); }

.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.safety-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 28px;
  text-align: center;
}

.safety-card .icon { font-size: 32px; margin-bottom: 12px; }
.safety-card h4 { color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.safety-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ─── CTA / CONTACT ─── */
.contact { background: var(--cream); }

.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }

.contact-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--white);
  border-radius: 8px; border: 1px solid rgba(0,0,0,0.06);
}

.contact-row .ci { font-size: 24px; min-width: 36px; }
.contact-row h5 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.contact-row p { font-size: 15px; color: var(--navy); font-weight: 500; }
.contact-row a { color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-row a:hover { color: var(--gold); }

.inquiry-form {
  background: var(--white);
  border-radius: 16px; padding: 40px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  margin-top: 40px;
}

.inquiry-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; margin-bottom: 24px; color: var(--navy);
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #445; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 6px; font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--navy);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%; padding: 15px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold); color: var(--navy); }

/* ─── FOOTER ─── */
footer {
  background: #050d1a;
  color: rgba(255,255,255,0.55);
  padding: 40px 0 80px; /* added bottom padding to account for sticky cta */
  text-align: center;
  font-size: 14px;
}

footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: var(--gold);
  margin-bottom: 12px;
}

footer a { color: var(--gold); text-decoration: none; }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none; font-size: 26px;
  animation: wa-bounce 3s ease-in-out infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Sticky CTAs (Hidden on Desktop) */
.mobile-sticky-ctas {
  display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  
  .hamburger-menu { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    align-items: flex-start;
    padding-left: 24px;
    gap: 24px;
  }
  
  .nav-links.active { right: 0; }
  
  .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-only-cta { display: block; }
  .nav-cta.desktop-cta { display: none; }

  .mobile-sticky-ctas {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
  }
  
  .mobile-sticky-ctas a {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
  }
  
  .sticky-call { background: var(--navy); color: var(--white); }
  .sticky-wa { background: #25d366; color: var(--white); }
  
  .wa-float { bottom: 70px; /* Float above sticky CTA */ }

  .hero-content { grid-template-columns: 1fr; padding: 80px 24px 48px; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .about-grid, .exam-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .team-grid, .safety-grid { grid-template-columns: 1fr; }
  .container { padding: 0 24px; }
  .section-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
}