/* =====================================================
   BRAND THEME – ACADEMY OFFICIAL
===================================================== */
:root {
  --navy: #0b1d3a;
  --navy-light: #163a6b;
  --gold: #f5a623;
  --gold-soft: #ffd38a;
  --white: #ffffff;
  --soft-bg: #f6f8fc;
  --text-dark: #1f2933;
  --text-muted: #5f6c7b;
}

/* =====================================================
   RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.center {
  text-align: center;
}

/* =====================================================
   HEADER / NAVBAR
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #eaeef5;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  height: 46px;
}

.menu {
  display: flex;
  gap: 28px;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: 0.35s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu a.active {
  color: var(--gold);
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(11,29,58,0.75),
    rgba(11,29,58,0.85)
  );
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 8%;
  color: #fff;
  animation: slideUp 1.1s ease forwards;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.slide-content p {
  max-width: 520px;
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dots span.active {
  background: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content {
    padding: 90px 6%;
  }

  .slide-content h1 {
    font-size: 2.1rem;
  }
}


/* Buttons */
.btn {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn.outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* =====================================================
   SECTIONS
===================================================== */
.section {
  padding: 90px 0;
}

.light-bg {
  background: var(--soft-bg);
}

.section h2 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 35px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--gold);
  margin: 14px auto 0;
}

/* =====================================================
   TWO COLUMN LAYOUT
===================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.rounded-img {
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}

/* =====================================================
   LIST
===================================================== */
.tick-list {
  list-style: none;
  margin: 20px 0;
}

.tick-list li {
  margin-bottom: 10px;
  font-weight: 600;
}

.tick-list li::before {
  content: "✔ ";
  color: var(--gold);
  font-weight: 800;
}

/* =====================================================
   STATS
===================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat h3 {
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 800;
}

.stat p {
  font-weight: 600;
  color: var(--navy);
}

/* =====================================================
   CARDS
===================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}


/* ================= GALLERY GRID ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.45s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.gallery-img:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 22px 55px rgba(0,0,0,0.2);
}

/* =====================================================
   INDEX PAGE – GALLERY PREVIEW
===================================================== */

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.gallery-preview img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.45s ease;
}

/* Hover animation */
.gallery-preview img:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

/* Soft overlay on hover (official look) */
.gallery-preview img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(11, 29, 58, 0.15),
    rgba(11, 29, 58, 0.35)
  );
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-preview img:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-preview img {
    height: 210px;
  }
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 32, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: fadeIn 0.4s ease;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 18px;
  animation: zoomIn 0.45s ease;
}

/* Close */
.lightbox .close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
}

/* Nav buttons */
.lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 55px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  transform: translateY(-50%);
  user-select: none;
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

.lightbox .nav:hover {
  color: var(--gold);
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* =====================================================
   CTA
===================================================== */
.cta {
  background: linear-gradient(
    rgba(255, 255, 255, 0.95),
    rgba(238, 238, 238, 0.95)
  );
  color: rgb(4, 4, 64);
  padding: 100px 0;
}

.cta h2 {
  color: rgb(4, 4, 64);
}

.cta p {
  max-width: 720px;
  margin: 18px auto 30px;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =====================================================
   REVEAL ANIMATION (USED BY JS)
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   KEYFRAMES
===================================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 2.1rem;
  }
}

/* Page load animation */
.page-load {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}
.page-load.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}


/* CONTACT PAGE */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.contact-form h2 {
  color: var(--navy);
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #ccd5e0;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.2);
  outline: none;
}

.contact-info {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 30px;
  border-radius: 20px;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.map {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ================= EXAM ICON HOVER EFFECT ================= */
.exam-icons span,
.exam-strip span {
  transition: all 0.35s ease;
}

.exam-icons span:hover,
.exam-strip span:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(245,166,35,0.4);
}

.exam-icons span:hover i,
.exam-strip span:hover i {
  color: var(--navy);
}

/* ================= FILTER BUTTONS ================= */
.exam-filter {
  margin: 35px 0 55px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(245,166,35,0.35);
}

/* Hide animation */
.course-card {
  transition: all 0.4s ease;
}

.course-card.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* ================= ADMISSION RIBBON ================= */
.admission-ribbon {
  background: linear-gradient(90deg, var(--gold), #ffbf47);
  color: var(--navy);
  padding: 12px 20px;
  text-align: center;
  font-weight: 800;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.admission-ribbon a {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.admission-ribbon a:hover {
  background: #08162d;
}

/* ================= ADVANCED FOOTER ================= */
.academy-footer {
  background: var(--navy);
  color: #fff;
}

.footer-top {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--navy), #0e2a55);
}

.footer-grid-advanced {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-col p,
.footer-col li {
  font-size: 0.95rem;
  color: #e4e9f2;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e4e9f2;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

/* Map */
.footer-map iframe {
  width: 100%;
  height: 140px;
  border: none;
  border-radius: 12px;
  margin-top: 14px;
}

/* Social */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}

/* Bottom bar */
.footer-bottom-advanced {
  background: #08162d;
  padding: 16px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-bottom-flex a {
  color: #cdd6e5;
  text-decoration: none;
}

.footer-bottom-flex a:hover {
  color: var(--gold);
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 3000;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid-advanced {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .footer-grid-advanced {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
