:root {
  --primary: #004a9f;
  --primary-dark: #003474;
  --accent: #f7c948;
  --bg: #050b18;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --border-radius: 14px;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #f3f4f6;
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #e5ecff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 15px 30px rgba(0, 74, 159, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0, 74, 159, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.secondary-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #e5e7eb;
}

/* Header / Navbar */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(
    to right,
    rgba(5, 11, 24, 0.9),
    rgba(5, 11, 24, 0.85)
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 16px; /* NEW — adds left & right spacing */
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 4px 12px; /* NEW — adds space around logo & academy name */
  white-space: nowrap;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-title {
  font-size: 1.35rem; /* larger */
  font-weight: 800; /* thicker text */
  color: #ffffff; /* bright */
  letter-spacing: 0.5px; /* wider spacing */
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(255, 255, 255, 0.22);
}

.logo-tagline {
  font-size: 0.78rem;
  color: #d1d5db;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* NEW — adds more spacing between menu items */
}

.nav-link {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.22);
}

.nav-link.active {
  background: rgba(248, 250, 252, 0.1);
  color: var(--white);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  transition: all 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      120deg,
      rgba(5, 11, 24, 0.9),
      rgba(5, 11, 24, 0.8)
    ),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(37, 99, 235, 0.5),
    transparent 55%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
}

.hero-text {
  max-width: 620px;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-text p {
  font-size: 0.98rem;
  color: #d1d5db;
  max-width: 520px;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.hero-highlight-item {
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.highlight-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.08em;
}

.highlight-value {
  font-size: 0.92rem;
  color: #e5e7eb;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.4rem 1.5rem;
  border-radius: var(--border-radius);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--primary-dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Programs */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.program-card.featured {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(5, 13, 37, 0.28);
  transform: translateY(-3px);
}

.program-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.program-age {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.program-card ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.program-card ul li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.35rem;
}

.program-card ul li + li {
  margin-top: 0.2rem;
}

/* Coaches */

.coaches-grid {
  align-items: stretch;
}

.coach-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coach-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.coach-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Gallery preview */

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  border-radius: 0.9rem;
  overflow: hidden;
  min-height: 120px;
  background-position: center;
  background-size: cover;
}

/* Simple placeholders – replace with real images later */

.gallery-item.placeholder {
  background: radial-gradient(circle at top left, #4f46e5, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.85rem;
}

/* Contact Strip */

.contact-strip {
  background: linear-gradient(135deg, var(--primary-dark), #020617);
  padding: 2.5rem 0;
  color: var(--white);
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-strip h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.contact-strip p {
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Footer */

.footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1.2fr));
  gap: 2rem;
  padding-bottom: 1.8rem;
}

.footer-logo {
  width: 60px;
  margin-bottom: 0.6rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.3rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.7);
  padding: 0.9rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-seo {
  color: #6b7280;
}

.center {
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    min-height: 80vh;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    right: 1.5rem;
    top: 72px;
    background: #020617;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 1rem;
    border-radius: 0.9rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    width: min(220px, 70vw);
  }

  .nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding-top: 3rem;
  }

  .contact-strip-inner {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .logo-tagline {
    display: none;
  }
}
/* Sliding Gallery */
.slider-container {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 1.5rem;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 12px;
  animation: slide 35s linear infinite;
}

.slide img {
  width: 320px;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border: 2px solid #ffffff;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slider-container:hover .slider-track {
  animation-play-state: paused;
}
@media (max-width: 900px) {
  .logo-title {
    font-size: 1.15rem;
  }
  .logo-img {
    width: 60px;
    height: 60px;
  }
}
/* 🔥 Admission Form Styling */
.form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  max-width: 900px;
  margin: auto;
  box-shadow: 0px 6px 26px rgba(0, 0, 0, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.8px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: inherit;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #004aad;
  box-shadow: 0px 0px 5px rgba(0, 74, 173, 0.35);
}

.form-card textarea {
  grid-column: span 2;
  resize: none;
}

.form-card button {
  border-radius: 35px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= VIDEO GALLERY ================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* Mobile fixes */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card video {
  width: 100%;
  border-radius: 12px;
}

.video-caption {
  margin-top: 10px;
  text-align: center;
}

.video-caption h4 {
  font-size: 16px;
  font-weight: 700;       /* BOLD */
  color: #ffffff;        /* WHITE */
  margin-bottom: 4px;
}

.video-caption p {
  font-size: 14px;
  font-weight: 600;       /* SEMI-BOLD */
  color: #ffffff;        /* WHITE */
  opacity: 0.9;
}

