/* Font Faces */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-ExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-ExtraLightItalic.ttf")
    format("truetype");
  font-weight: 200;
  font-style: italic;
}

/* =========================
   Base Styles & Reset
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Design System Variables
========================= */
:root {
  --primary: #1e90ff; /* academy blue */
  --primary-dark: #1565c0;
  --secondary: #ff9800; /* accent orange */
  --bg-light: #f9f9f9;
  --bg-dark: #111;
  --footer-bg: #212121;
  --text-primary: #222; /* dark text */
  --text-secondary: #6b6b6b; /* softer dark text */
  --text-secondary-light: #c2c2c2; /* subtle text on dark bg (near white) */
  --text-secondary-dark: #666; /* subtle text on light bg (near black) */
  --text-disabled-light: rgb(
    92,
    92,
    92
  ); /* subtle text on light bg (near black) */
  --white: #fff;
  --grey-bg: #d9d9d9;
  --accordion-bg: #cdcdcd;

  /* Layout */
  --max-width: 1800px;
  --gap-after-section: 7rem;

  /* Typography (fluid scaling with clamp) */
  --fs-sm: clamp(0.9rem, 0.8vw, 1rem);
  --fs-base: clamp(1rem, 1vw, 1.125rem);
  --fs-lg: clamp(1.25rem, 1.5vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 2vw, 2.25rem);
  --fs-xxl: clamp(2.5rem, 3vw, 3rem);
  /* New super large size for hero/stat numbers */
  --fs-xxxl: clamp(4rem, 8vw, 12rem);

  /* Icons - responsive SVG sizes (use with svg { width: var(--icon-md); height: var(--icon-md); }) */
  --icon-xxs: clamp(10px, 0.6vw, 12px);
  --icon-xs:  clamp(12px, 0.9vw, 14px);
  --icon-sm:  clamp(14px, 1.2vw, 18px);
  --icon-md:  clamp(18px, 2.5vw, 40px); /* md's largest = 40px */
  --icon-lg:  clamp(28px, 4vw, 64px);
  --icon-xl:  clamp(40px, 6vw, 96px);

  /* convenience alias for components that expect a single "icon" variable */
  --icon-default: var(--icon-md);

}

/* =========================
   Navbar
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--text-secondary-light);
  z-index: 2000;
  background: transparent;
  transition: background 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.622);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1200;
}

@media (min-width: 901px) {
  .nav-close {
    display: none;
  }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
  height: 100vh;
  z-index: 1000; /* higher than navbar */
}

.logo {
  font-size: var(--fs-lg);
  font-weight: 700; /* Bold */
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  font-weight: 400;
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary-light);
  font-size: var(--fs-sm);
  font-weight: 400; /* Medium */
  transition: 0.2s ease-in-out;
}

.nav-links a:hover {
  /* opacity: 0.8; */
  color: var(--white);
}

.nav-right {
  margin-left: auto; /* pushes register button to far right */
}

.logo .img1 {
  height: 60px; /* adjust to your preferred size */
  width: auto;
  display: block;
}

.logo .img2 {
  height: 25px; /* adjust to your preferred size */
  width: auto;
  display: block;
}

/* Responsive Navbar */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  z-index: 1100;
}
.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Styles */
@media (max-width: 900px) {
  .nav-left {
    gap: 1rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 50vw;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 5rem 2rem 2rem 2rem;
    transition: right 0.3s;
    z-index: 1050;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }

  .nav-right a {
    display: none;
  }
}

/* =========================
   Global Typography & Layout
========================= */
body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.6;
  font-size: var(--fs-base);
  font-weight: 400; /* Regular */
  color: var(--text-primary);
  background: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700; /* Bold */
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Mobile Styles */
@media (max-width: 900px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  span {
    text-align: center;
  }
}

h1 {
  font-size: var(--fs-xxl);
}
h2 {
  font-size: var(--fs-xl);
}
h3 {
  font-size: var(--fs-lg);
}

p {
  font-weight: 400; /* Regular */
}

small {
  font-size: var(--fs-sm);
  font-weight: 300; /* Light */
}

/* Layout utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section {
  padding: 4rem 0;
}
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  height: 50rem;
  width: 100%;
  background: url("assets/images/hero.png") no-repeat center center/cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 4rem;
  margin-bottom: var(--gap-after-section);
}

.hero-content {
  color: #fff;
  width: 100%;
  max-width: var(--max-width);
  padding-bottom: 4rem;
}

.hero-content-inner {
  max-width: 600px;
  text-align: left;
}

.hero-content-inner h2 {
  font-size: var(--fs-xxl);
  margin-bottom: 2rem;
  font-weight: 600; /* Bold */
}

.hero-content-inner p {
  font-size: var(--fs-base);
  margin-bottom: 2rem;
  font-weight: 300; /* Light */
  color: var(--text-secondary-light);
}

/* Mobile Styles */
@media (max-width: 900px) {
  .hero {
    height: 43rem;
    padding: 0 3rem;
    margin-bottom: var(--gap-after-section);
  }

  .hero-content {
    width: fit-content;
  }
}

/* =========================
   Vision Section
========================= */
.vision {
  width: 100%;
  margin-bottom: var(--gap-after-section);
}

.vision-container {
  display: flex;
  flex-wrap: wrap; /* responsive fallback */
  max-width: var(--max-width);
  margin: 0 auto; /* centers the section horizontally */
  align-items: center;
  width: 90%; /* keeps breathing room on very wide screens */
  gap: 3rem;
}

.vision-text {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  text-align: left;
}

.vision-text h2 {
  font-size: var(--fs-md);
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 800;
}

.vision-text p {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  /* max-width: 500px; */
  font-weight: 100;
}

.vision-image {
  flex: 1 1 40%;
  position: relative;
}

.vision-image img {
  width: 100%;
  max-height: 35rem;
  object-fit: cover;
}

/* Mobile Styles */
@media (max-width: 900px) {
  .vision-container {
    flex-direction: column;
  }

  .vision-text {
    padding: 1rem;
  }
}

/* =========================
   About Us Section
========================= */
.about {
  position: relative;
  width: 100%;
  min-height: 50rem;
  background: url("assets/images/about.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--gap-after-section);
}

.about-overlay {
  width: 90%;
  height: 100%;
  display: flex;
  align-items: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--white);
  width: 90%;
}

/* Left stat block */
.about-stat {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  text-align: left;
  border-left: 1px solid var(--white);
}

.about-stat h2 {
  font-size: var(--fs-xxxl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--white);
}

.about-stat p {
  font-size: var(--fs-lg);
  color: var(--text-secondary-light);
  font-weight: 100;
}

/* Right text block */
.about-extra {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  text-align: left;
}

.about-extra h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary-light);
  margin-bottom: 1rem;
}

.about-extra p {
  font-size: var(--fs-xl);
  color: var(--white);
  /* max-width: 500px; */
  font-weight: 100;
}

/* Mobile Styles */
@media (max-width: 900px) {
  .about-container {
    width: fit-content;
    flex-direction: column;
  }

  .about-stat {
    padding: 1rem;
    border-left: none;
  }

  .about-extra {
    padding: 1rem;
  }
}

/* =========================
   Programs Section
========================= */
.programs {
  width: 100%;
  margin-bottom: var(--gap-after-section);
}

.programs-container {
  display: flex;
  flex-wrap: wrap; /* responsive fallback */
  max-width: var(--max-width);
  margin: 0 auto; /* centers the section horizontally */
  align-items: center;
  width: 90%; /* keeps breathing room on very wide screens */
  gap: 4rem;
}

.programs-image {
  flex: 1 1 40%;
  position: relative;
}

.programs-image img {
  width: 100%;
  max-height: 35rem;
  object-fit: cover;
}

.programs-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}

.programs-text h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px;
}

.program-item .program-age {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.25rem;
}

.program-item h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.program-item p {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Mobile Styles */
@media (max-width: 900px) {
  .programs-container {
    flex-direction: column;
  }

  .program-item {
    max-width: 450px;
  }
}

/* =========================
       Gallery Section
========================= */

.gallery {
  width: 100%;
  background: var(--bg-light);
  padding: 6rem 2rem;
}

.gallery-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.gallery p {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  /* max-width: 500px; */
  font-weight: 100;
}

.gallery-list {
  column-count: 5;
  column-gap: 1rem;
  margin-top: 3rem;
}

.gallery-list a {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-list img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: cover;
}

.gallery-list a:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* 📱 Tablet */
@media (max-width: 900px) {
  .gallery-list {
    column-count: 2;
  }
}

/* 📱 Mobile */
@media (max-width: 600px) {
  .gallery-list {
    column-count: 1;
  }
}

/* Mobile Styles */
@media (max-width: 900px) {
  .gallery {
    padding: 3rem 1rem;
  }
}

/* =========================
   Contact Section
========================= */
.contact {
  width: 100%;
  background: var(--bg-light);
  margin-bottom: var(--gap-after-section);

}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact p {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  /* max-width: 500px; */
  font-weight: 100;
}

.contact-right {
  margin: 3rem 0 0 0;
}

.contact-right-container {
  display: flex;
  justify-content: center;
  text-align: left;
  gap: 2rem;
}

.contact-right-item svg {
  width: var(--icon-md);
  height: var(--icon-md);
  vertical-align: middle;
}

.contact-right-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.contact-right-item a {
  color: var(--text-secondary-dark);
  text-decoration: none;
  font-size: var(--fs-lg);
  font-weight: 500;
}

/* Vertical divider utility */
.vertical-line {
  width: var(--vertical-line-width, 1px);
  height: var(--vertical-line-height, 3rem);
  background-color: var(--vertical-line-color, rgba(0, 0, 0, 0.12));
  display: inline-block;
  margin: 0 var(--vertical-line-gap, 1rem);
  align-self: center; /* useful inside flex containers */
}

/* Optional size modifiers */
.vertical-line--stretch {
  height: 100%;
  align-self: stretch;
}

.vertical-line--thin  { --vertical-line-width: 1px; }
.vertical-line--med   { --vertical-line-width: 2px; }
.vertical-line--thick { --vertical-line-width: 4px; }

/* Optional color helpers */
.vertical-line--muted { --vertical-line-color: var(--text-secondary-light); }
.vertical-line--dark  { --vertical-line-color: var(--text-secondary-dark); }

/* Mobile Styles */
@media (max-width: 900px) {
  .contact-right-container {
    flex-direction: column;
  }

  .contact-right-item a {
    font-size: var(--fs-base);
  }

  .contact-text {
    padding: 1rem;
  }

  .vertical-line {
    display: none;
  }
}

/* =========================
       FAQs Section
========================= */

.faq {
  width: 100%;
  background: var(--grey-bg);
  padding: 6rem 2rem;
}

.faq-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.faq h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.faq p {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  /* max-width: 500px; */
  font-weight: 100;
}

.faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 3rem 0 0 0;
}

.faq-item {
  background: var(--accordion-bg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  padding: 2rem 1.5rem;
  font-family: "Plus Jakarta Sans";
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
  margin: 0 1rem;
  color: var(--text-secondary);
}

/* Rotate to form an "X" */
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  /* content: "-"; */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  margin: 1rem 0;
  font-size: var(--fs-base);
  color: var(--text-primary);
  font-weight: 300;
  text-align: left;
}

.faq-item.active .faq-answer {
  padding-bottom: 1rem;
}

/* Mobile Styles */
@media (max-width: 900px) {
  .faq {
    padding: 3rem 1rem;
  }
}

/* =========================
             JOIN US Section
        ========================= */

.join-us {
  width: 100%;
  background: var(--grey-bg);
  padding: 6rem 2rem;
  background: url("assets/images/join.png") no-repeat center center/cover;
}

.join-us-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.join-us h2 {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.join-us p {
  font-size: var(--fs-xl);
  color: var(--white);
  /* max-width: 500px; */
  line-height: 50px;
  font-weight: 100;
}

.join-us a {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .join-us {
    padding: 3rem 1rem;
  }
}

/* =========================
   Footer
========================= */
.footer {
  background-color: var(--footer-bg);
  color: var(--text-secondary-light);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: var(--fs-sm);
}

.footer-container {
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.footer-container p {
  padding: 0.5rem;
  font-weight: 300; /* Light */
}

.all-rights {
  color: var(--text-secondary-dark);
}

/* Mobile Styles */
@media (max-width: 900px) {
  .footer-contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
  }
}

/* HR / Divider utilities */
.hr {
  opacity: 0.1;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  font-size: var(--fs-sm);
}

.btn-primary {
  background: var(--white);
  color: var(--bg-dark);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0); /* start with no glow */
}

.btn-primary:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* white glow */
}

.strong {
  font-weight: bold;
}

/* =========================
   Animations
========================= */

/* Initial hidden state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When element is visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
