/* ============================================================
   Lycoming Aviation Academy — Premium Theme
   Inspired by thepilot.in — modern, glass, gradient, animated
   ============================================================ */

:root {
  --navy-900: #1b0f2a;
  --navy-800: #2c1443;
  --navy-700: #4a2f74;
  --navy-600: #6a4fa5;
  --blue-500: #ac99dc;
  --blue-400: #c9b9f4;
  --sky-200: #ece6fa;
  --gold: #d9b7ff;
  --gold-2: #f0d4ff;
  --white: #ffffff;
  --ink: #2f1d4f;
  --muted: #7a6c96;
  --line: #e9e2f7;
  --bg: #f6f3fb;
  --grad-hero: linear-gradient(135deg, #1b0f2a 0%, #2c1443 45%, #ac99dc 100%);
  --grad-gold: linear-gradient(135deg, #d9b7ff 0%, #f0d4ff 100%);
  --grad-blue: linear-gradient(135deg, #ac99dc 0%, #c9b9f4 100%);
  --shadow-sm: 0 4px 14px rgba(15, 35, 95, 0.08);
  --shadow-md: 0 14px 40px rgba(15, 35, 95, 0.12);
  --shadow-lg: 0 30px 70px rgba(15, 35, 95, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --font-body:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "Sora", "Plus Jakarta Sans", sans-serif;
}

/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
p {
  color: #4a5878;
}
a {
  color: var(--blue-500);
  text-decoration: none;
  transition: 0.25s;
}
a:hover {
  color: var(--navy-700);
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: 1240px;
}
section {
  padding: 90px 0;
  position: relative;
}

/* ==========================================================
   AERO PREMIUM PRELOADER
   Full-screen sky with drifting clouds, plane takeoff arc,
   logo shimmer, animated brand text, gradient progress bar.
   ========================================================== */
.aero-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(
    ellipse at 50% 110%,
    #6a4fa5 0%,
    #2c1443 50%,
    #1b0f2a 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 0.8s,
    transform 0.8s;
}
.aero-loader.hide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

/* Sky stars */
.aero-loader__sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.aero-loader__star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px #fff,
    0 0 14px rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: aero-twinkle 3s ease-in-out infinite;
}
.aero-loader__star:nth-child(1) {
  top: 12%;
  left: 18%;
  animation-delay: 0s;
}
.aero-loader__star:nth-child(2) {
  top: 28%;
  left: 76%;
  animation-delay: 0.8s;
  width: 3px;
  height: 3px;
}
.aero-loader__star:nth-child(3) {
  top: 18%;
  left: 52%;
  animation-delay: 1.4s;
}
.aero-loader__star:nth-child(4) {
  top: 70%;
  left: 12%;
  animation-delay: 0.4s;
  width: 3px;
  height: 3px;
}
.aero-loader__star:nth-child(5) {
  top: 60%;
  left: 88%;
  animation-delay: 2s;
}
.aero-loader__star:nth-child(6) {
  top: 84%;
  left: 60%;
  animation-delay: 1s;
}
@keyframes aero-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Drifting clouds */
.aero-loader__cloud {
  position: absolute;
  height: 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(8px);
  animation: aero-drift linear infinite;
}
.aero-loader__cloud::before,
.aero-loader__cloud::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}
.aero-loader__cloud::before {
  width: 30px;
  height: 30px;
  left: 18%;
  top: -14px;
}
.aero-loader__cloud::after {
  width: 22px;
  height: 22px;
  left: 55%;
  top: -10px;
}
.aero-loader__cloud--1 {
  width: 140px;
  top: 22%;
  animation-duration: 22s;
}
.aero-loader__cloud--2 {
  width: 200px;
  top: 64%;
  animation-duration: 28s;
  animation-delay: -8s;
  opacity: 0.7;
}
.aero-loader__cloud--3 {
  width: 110px;
  top: 80%;
  animation-duration: 18s;
  animation-delay: -3s;
  opacity: 0.8;
}
@keyframes aero-drift {
  from {
    transform: translateX(-260px);
  }
  to {
    transform: translateX(calc(100vw + 260px));
  }
}

/* Center stack */
.aero-loader__center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: aero-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes aero-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Logo with shimmer */
.aero-loader__logo {
  height: 90px;
  width: auto;
  max-width: 280px;
  filter: drop-shadow(0 18px 40px rgba(245, 185, 66, 0.25));
  position: relative;
  -webkit-mask-image: linear-gradient(
    110deg,
    #000 30%,
    rgba(0, 0, 0, 0.5) 50%,
    #000 70%
  );
  mask-image: linear-gradient(
    110deg,
    #000 30%,
    rgba(0, 0, 0, 0.5) 50%,
    #000 70%
  );
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  animation:
    aero-shimmer 2.4s linear infinite,
    aero-float 4s ease-in-out infinite;
}
@keyframes aero-shimmer {
  from {
    -webkit-mask-position: 220% 0;
    mask-position: 220% 0;
  }
  to {
    -webkit-mask-position: -120% 0;
    mask-position: -120% 0;
  }
}
@keyframes aero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Runway w/ plane takeoff arc */
.aero-loader__runway {
  position: relative;
  width: 280px;
  height: 60px;
  margin-top: 8px;
}
.aero-loader__runway::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(245, 185, 66, 0.85) 0 18px,
    transparent 18px 32px
  );
  border-radius: 2px;
  animation: aero-runway 1s linear infinite;
}
@keyframes aero-runway {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -32px 0;
  }
}
.aero-loader__plane {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 36px;
  height: 36px;
  color: #f5b942;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(245, 185, 66, 0.6));
  animation: aero-takeoff 3.4s cubic-bezier(0.55, 0, 0.35, 1) infinite;
}
.aero-loader__plane svg {
  width: 100%;
  height: 100%;
}
.aero-loader__plane::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(245, 185, 66, 0.7));
  filter: blur(1px);
  opacity: 0;
  animation: aero-trail 3.4s linear infinite;
}
@keyframes aero-takeoff {
  0% {
    left: 0;
    bottom: 12px;
    transform: rotate(0deg) scale(0.85);
    opacity: 0.35;
  }
  20% {
    left: 30%;
    bottom: 12px;
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  60% {
    left: 80%;
    bottom: 38px;
    transform: rotate(-22deg) scale(1);
    opacity: 1;
  }
  100% {
    left: 110%;
    bottom: 70px;
    transform: rotate(-32deg) scale(0.7);
    opacity: 0;
  }
}
@keyframes aero-trail {
  0%,
  15% {
    opacity: 0;
  }
  25%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Brand text */
.aero-loader__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-top: 4px;
}
.aero-loader__brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  background: linear-gradient(135deg, #f5b942 0%, #ffd271 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
}
.aero-loader__brand-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Progress bar */
.aero-loader__progress {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 18px;
  position: relative;
}
.aero-loader__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #2769ff 0%, #f5b942 50%, #2769ff 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation:
    aero-progress 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite,
    aero-shine 1.6s linear infinite;
}
@keyframes aero-progress {
  0% {
    left: -40%;
    width: 40%;
  }
  50% {
    left: 30%;
    width: 50%;
  }
  100% {
    left: 100%;
    width: 40%;
  }
}
@keyframes aero-shine {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* Loading status */
.aero-loader__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}
.aero-loader__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5b942;
  animation: aero-dot 1.2s ease-in-out infinite;
}
.aero-loader__dot:nth-child(2) {
  animation-delay: 0.15s;
}
.aero-loader__dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes aero-dot {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.3);
  }
}
.aero-loader__text {
  margin-left: 6px;
  letter-spacing: 0.04em;
}

@media (max-width: 575px) {
  .aero-loader__logo {
    height: 64px;
  }
  .aero-loader__runway {
    width: 220px;
  }
  .aero-loader__brand-name {
    font-size: 1.25rem;
  }
  .aero-loader__progress {
    width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aero-loader__plane,
  .aero-loader__cloud,
  .aero-loader__star,
  .aero-loader__logo,
  .aero-loader__progress-bar,
  .aero-loader__dot,
  .aero-loader__plane::after {
    animation: none !important;
  }
}

/* Top bar */
.topbar {
  background: var(--navy-900);
  color: #d2dcf2;
  font-size: 0.87rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar a {
  color: #d2dcf2;
  margin-left: 14px;
}
.topbar a:hover {
  color: var(--gold);
}
.topbar-right .btn-apply-top {
  background: var(--grad-gold);
  color: #0a1740 !important;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
  margin-left: 18px;
  font-size: 0.82rem;
}
.topbar-right .btn-apply-top:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.4);
}

/* Navbar */
.main-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(229, 235, 245, 0.7);
  transition:
    padding 0.3s,
    background 0.3s,
    box-shadow 0.3s;
  min-height: 76px;
}
.main-navbar.scrolled {
  padding: 6px 0;
  min-height: 60px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 0;
}
.site-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: height 0.25s ease;
}
.main-navbar.scrolled .site-logo {
  height: 46px;
}
/* Logo is white-on-transparent; tint to brand navy on the light navbar.
   Drop this filter line if you replace the file with a dark-variant logo. */
.main-navbar .site-logo {
  filter: brightness(0) saturate(100%) invert(8%) sepia(60%) saturate(3500%)
    hue-rotate(220deg) brightness(85%) contrast(110%);
}
.site-logo--footer {
  height: 60px;
  max-width: 240px;
  filter: none;
}
@media (max-width: 575px) {
  .site-logo {
    height: 44px;
    max-width: 170px;
  }
  .main-navbar.scrolled .site-logo {
    height: 38px;
  }
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-hero);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 22px rgba(15, 35, 95, 0.25);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-900);
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.main-navbar .nav-link {
  color: var(--navy-800) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
  color: var(--blue-500) !important;
}
.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}
.btn-cta-nav {
  background: var(--grad-blue);
  color: #fff !important;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 26px rgba(39, 105, 255, 0.32);
  transition: 0.3s;
}
.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(39, 105, 255, 0.45);
  color: #fff !important;
}

/* Buttons */
.btn-aero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: 0;
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(39, 105, 255, 0.35);
  transition: 0.3s;
}
.btn-aero:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(39, 105, 255, 0.45);
  color: #fff;
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 14px 30px rgba(245, 185, 66, 0.45);
}
.btn-gold:hover {
  color: var(--navy-900);
  box-shadow: 0 20px 40px rgba(245, 185, 66, 0.55);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy-900);
  border-color: #fff;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  background: var(--blue-500);
  top: -180px;
  right: -120px;
}
.hero::after {
  width: 420px;
  height: 420px;
  background: var(--gold);
  bottom: -160px;
  left: -100px;
}
.hero .hero-shape {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.4) 1px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.35) 1px,
      transparent 1.5px
    );
  background-size:
    38px 38px,
    56px 56px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #d8e7ff;
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}
.hero h1 {
  color: #fff;
}
.hero h1 .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 580px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}
.hero-stats .stat strong {
  font-family: var(--font-head);
  font-size: 2rem;
  display: block;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 520px;
  margin-left: auto;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual .float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.float-card.fc-1 {
  top: 24px;
  left: 24px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card.fc-2 {
  bottom: 24px;
  right: 24px;
  animation: floaty 5s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  background: rgba(39, 105, 255, 0.1);
  color: var(--blue-500);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.section-head h2 .accent {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Partners marquee */
.partners-strip {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-strip .label {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 26px;
}
.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.partner-track {
  display: flex;
  gap: 70px;
  animation: scrollX 28s linear infinite;
}
.partner-track img {
  height: 42px;
  opacity: 0.7;
  transition: 0.3s;
  filter: grayscale(100%);
}
.partner-track img:hover {
  opacity: 1;
  filter: none;
}
@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Course cards */
.courses-section {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.4s;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
}
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-card .card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.course-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.course-card:hover .card-img-wrap img {
  transform: scale(1.08);
}
.course-card .badge-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.course-card .card-body {
  padding: 26px 24px;
}
.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.course-card .course-meta {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.course-card .course-meta i {
  color: var(--blue-500);
  margin-right: 6px;
}
.course-card .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-card .price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
}
.course-card .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--blue-500);
  transition: 0.3s;
}
.course-card:hover .arrow {
  background: var(--grad-blue);
  color: #fff;
  transform: translateX(4px);
}

/* Why choose */
.why-section {
  background: #fff;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  height: 100%;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0;
  transition: 0.4s;
  z-index: 0;
}
.why-card > * {
  position: relative;
  z-index: 1;
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.why-card:hover::before {
  opacity: 1;
}
.why-card:hover h3,
.why-card:hover p {
  color: #fff;
}
.why-card .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: 0.4s;
  box-shadow: 0 12px 28px rgba(39, 105, 255, 0.3);
}
.why-card:hover .icon-box {
  background: var(--grad-gold);
  color: var(--navy-900);
}

/* Stats counter */
.stats-section {
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 30% 50%,
      rgba(245, 185, 66, 0.12),
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(39, 105, 255, 0.18),
      transparent 55%
    );
}
.stats-section .container {
  position: relative;
  z-index: 1;
}
.stat-block {
  text-align: center;
  padding: 20px;
}
.stat-block .count {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-block .label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Gallery preview */
.gallery-preview-section {
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--navy-800);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 64, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0;
  transition: 0.35s;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item.span-2 {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Testimonials */
.testimonials-section {
  background: #fff;
}
.testimonial-card {
  background: linear-gradient(160deg, #fff 0%, #f1f6ff 100%);
  border-radius: var(--radius);
  padding: 38px 32px;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-500);
  opacity: 0.12;
}
.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 14px;
}
.testimonial-card .quote {
  color: var(--navy-800);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card h6 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy-900);
}
.testimonial-card small {
  color: var(--muted);
}

/* Admission process */
.process-section {
  background: linear-gradient(180deg, #fff, var(--bg));
}
.process-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.process-card .step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 22px;
  box-shadow: 0 14px 30px rgba(39, 105, 255, 0.35);
}
.process-card h4 {
  margin-bottom: 10px;
}

/* FAQ */
.faq-section {
  background: #fff;
}
.accordion .accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion .accordion-button {
  background: #fff !important;
  color: var(--navy-900) !important;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 22px 26px;
  box-shadow: none !important;
}
.accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #f1f6ff, #fff) !important;
  color: var(--blue-500) !important;
}
.accordion .accordion-body {
  color: var(--muted);
  padding: 0 26px 22px;
}

/* CTA banner */
.cta-section {
  background: var(--grad-hero);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M-50 100 Q 50 0 150 100 T 350 100" fill="none" stroke="%23ffffff" stroke-width=".5" opacity=".15"/></svg>')
    no-repeat center / cover;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  color: #fff;
}

/* Newsletter */
.newsletter-strip {
  background: #f1f6ff;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
.text-muted-soft {
  color: var(--muted);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 50px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}
.newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font-size: 0.95rem;
  outline: 0;
}
.newsletter-form button {
  background: var(--grad-blue);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(39, 105, 255, 0.35);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #b8c4e0;
  padding: 80px 0 30px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-gold);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.15rem;
}
.footer-brand small {
  color: #8a99bf;
  font-weight: 400;
}
.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #b8c4e0;
  transition: 0.25s;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}
.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-contact a {
  color: #b8c4e0;
}
.footer-contact a:hover {
  color: var(--gold);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.footer-social a:hover {
  background: var(--grad-gold);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 50px 0 22px;
}
.site-footer small a {
  color: #8a99bf;
}
.site-footer small a:hover {
  color: var(--gold);
}

/* WhatsApp / back-to-top */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  animation: pulse-w 2s infinite;
}
@keyframes pulse-w {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.85);
  }
}
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(39, 105, 255, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.35s;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

/* Page banner */
.page-banner {
  background: var(--grad-hero);
  color: #fff;
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(
    circle at 25% 30%,
    rgba(255, 255, 255, 0.5) 1px,
    transparent 1.5px
  );
  background-size: 40px 40px;
}
.page-banner h1 {
  color: #fff;
}
.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}
.page-banner .breadcrumb-item.active {
  color: var(--gold);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Forms */
.aero-form .form-control,
.aero-form .form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  background: #fff;
  transition: 0.25s;
}
.aero-form .form-control:focus,
.aero-form .form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 0.25rem rgba(39, 105, 255, 0.12);
}
.aero-form label {
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

/* Contact info card */
.contact-info-card {
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 32px;
  height: 100%;
}
.contact-info-card .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-info-card .info-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-card h6 {
  color: #fff;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.contact-info-card p,
.contact-info-card a {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 0.9rem;
}
.contact-info-card a:hover {
  color: var(--gold);
}

/* Blog cards */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.4s;
  height: 100%;
  border: 1px solid var(--line);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: 0.6s;
}
.blog-card:hover img {
  transform: scale(1.06);
}
.blog-card .card-body {
  padding: 24px;
}
.blog-card .meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.blog-card h4 {
  font-size: 1.12rem;
  line-height: 1.4;
}

/* Team cards */
.team-card {
  text-align: center;
}
.team-card .photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 16px;
  position: relative;
}
.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.team-card:hover .photo img {
  transform: scale(1.05);
}
.team-card h5 {
  margin-bottom: 4px;
}
.team-card small {
  color: var(--muted);
}

/* Utilities */
.bg-soft {
  background: var(--bg);
}
.text-gold {
  color: var(--gold) !important;
}
.divider-gold {
  width: 60px;
  height: 4px;
  background: var(--grad-gold);
  border-radius: 4px;
  margin: 16px auto;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .main-navbar .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    margin-top: 14px;
    box-shadow: var(--shadow-md);
  }
  .hero-visual {
    margin: 40px auto 0;
  }
  .hero-stats .stat strong {
    font-size: 1.6rem;
  }
  section {
    padding: 60px 0;
  }
}
