@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #8b5cf6;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --dark: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 0.75rem;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* ===== Header / Navbar ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 3.5rem;
  width: auto;
  transition: var(--transition);
}

.nav-logo:hover img {
  transform: rotate(12deg);
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  margin-top: 0.75rem;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0.25rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-menu a:hover {
  background: var(--gray-50);
}

.dropdown-menu a::after {
  display: none;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-contact .phone-link {
  color: var(--gray-600);
}

.nav-contact .phone-link:hover {
  background: var(--blue-dark);
  background: #eff6ff;
  color: var(--blue);
}

.nav-contact .whatsapp-link {
  color: var(--gray-600);
}

.nav-contact .whatsapp-link:hover {
  background: #f0fdf4;
  color: var(--green);
}

.mobile-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: none;
  color: var(--gray-600);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Mobile menu */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: 0;
  width: 20rem;
  height: 100%;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  border-radius: 0.5rem;
}

.mobile-menu-close:hover {
  background: var(--gray-50);
}

.mobile-menu-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-links a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-menu-links a:hover {
  background: var(--gray-50);
}

.mobile-menu-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--gray-700);
}

.mobile-menu-contact .phone-link:hover {
  background: #eff6ff;
  color: var(--blue);
}

.mobile-menu-contact .whatsapp-link:hover {
  background: #f0fdf4;
  color: var(--green);
}

/* ===== Hero - Spline 3D + Spotlight ===== */
.hero {
  position: relative;
  min-height: 700px;
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.96);
  border-radius: 0;
}

/* Animated Spotlight SVG */
.hero-spotlight {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: -10rem;
  left: 0;
  width: 138%;
  height: 169%;
  opacity: 0;
  animation: spotlightFade 2s ease forwards 0.3s;
}

@keyframes spotlightFade {
  from { opacity: 0; transform: translateX(-30%) translateY(-10%); }
  to   { opacity: 1; transform: translateX(0%) translateY(0%); }
}

/* Mouse-follow spotlight */
.hero-mouse-spot {
  pointer-events: none;
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 80%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.hero:hover .hero-mouse-spot {
  opacity: 1;
}

/* Split layout */
.hero-split {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 500px;
  position: relative;
  z-index: 5;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.hero-gradient-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #ffffff, #a3a3a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: #d4d4d4;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right: Spline 3D */
.hero-right {
  flex: 1;
  position: relative;
  min-height: 400px;
}

.hero-right canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-spline-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    padding: 2.5rem 0 1rem;
  }

  .hero-right {
    min-height: 300px;
    flex: none;
    height: 300px;
  }

  .hero-spotlight {
    width: 200%;
    top: -5rem;
    left: -2rem;
  }
}

@media (max-width: 480px) {
  .hero-right {
    min-height: 250px;
    height: 250px;
  }

  .hero-gradient-title {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

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

/* ===== Programs - Hero Parallax ===== */
.parallax-programs {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
}

.parallax-scroll-area {
  position: relative;
  height: 300vh;
  perspective: 1000px;
  transform-style: preserve-3d;
  padding-top: 2rem;
  overflow: hidden;
}

.parallax-header {
  position: relative;
  z-index: 10;
  padding: 5rem 0 2rem;
}

.parallax-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.parallax-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--gray-400);
  max-width: 640px;
  line-height: 1.7;
}

.parallax-rows {
  position: relative;
  will-change: transform, opacity;
}

.parallax-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  will-change: transform;
}

.parallax-row[data-direction="right"] {
  flex-direction: row-reverse;
}

.parallax-card {
  position: relative;
  flex-shrink: 0;
  width: 30rem;
  height: 24rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parallax-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.parallax-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.parallax-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.3s ease;
}

.parallax-card:hover .parallax-card-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.parallax-card-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.parallax-card:hover .parallax-card-title {
  opacity: 1;
}

/* Icon card variant — dark cards with PNG icons */
.parallax-card.parallax-card-icon {
  background: #1a2236;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
}

.parallax-card.parallax-card-icon:hover {
  background: #1e2942;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.parallax-card.parallax-card-icon img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.parallax-card.parallax-card-icon:hover img {
  transform: scale(1.15);
}

.parallax-card.parallax-card-icon .parallax-card-title {
  position: static;
  opacity: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.parallax-card.parallax-card-icon .parallax-card-overlay {
  display: none;
}

@media (max-width: 768px) {
  .parallax-scroll-area {
    height: 250vh;
  }

  .parallax-card {
    width: 18rem;
    height: 14rem;
  }

  .parallax-card.parallax-card-icon img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .parallax-card.parallax-card-icon .parallax-card-title {
    font-size: 0.8rem;
  }

  .parallax-card.parallax-card-icon {
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }

  .parallax-row {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .parallax-header {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .parallax-scroll-area {
    height: 220vh;
  }

  .parallax-card {
    width: 14rem;
    height: 10rem;
  }

  .parallax-card.parallax-card-icon img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .parallax-card.parallax-card-icon .parallax-card-title {
    font-size: 0.7rem;
  }

  .parallax-card.parallax-card-icon {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }

  .parallax-card-title {
    font-size: 0.8rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }
}

.icon-purple { background: #f3e8ff; }
.icon-blue { background: #dbeafe; }
.icon-green { background: #dcfce7; }
.icon-orange { background: #ffedd5; }
.icon-red { background: #fee2e2; }
.icon-yellow { background: #fef9c3; }
.icon-teal { background: #ccfbf1; }
.icon-pink { background: #fce7f3; }

/* ===== Partners ===== */
.partners {
  padding-bottom: 5rem;
}

/* Expandable Image Gallery */
.expand-gallery {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.expand-gallery-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 400px;
  width: 100%;
}

.expand-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.expand-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.expand-panel:hover .expand-panel-overlay,
.expand-panel.active .expand-panel-overlay {
  opacity: 1;
}

.expand-panel-label {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Desktop: expand on hover */
@media (hover: hover) {
  .expand-gallery-track:hover .expand-panel {
    flex: 1;
  }
  .expand-gallery-track .expand-panel:hover {
    flex: 4;
  }
}

/* Partner Cards */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.partner-card .partner-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.partner-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Gallery responsive */
@media (max-width: 768px) {
  .expand-gallery-track {
    height: 280px;
  }

  .expand-panel-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .expand-gallery-track {
    height: 220px;
    gap: 0.35rem;
  }

  .expand-panel {
    border-radius: 0.5rem;
  }

  .expand-panel-overlay {
    padding: 0.75rem;
  }

  .expand-panel-label {
    font-size: 0.75rem;
  }
}

/* ===== Gallery - Rotating 3D Carousel ===== */
.carousel-gallery {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--white);
  overflow: hidden;
}

.carousel-bg-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobPulse 4s ease-in-out infinite;
}

.carousel-bg-blob-tr {
  top: 0;
  right: 0;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent);
}

.carousel-bg-blob-bl {
  bottom: 0;
  left: 0;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent);
  animation-delay: 2s;
}

@keyframes blobPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.carousel-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150vh;
  padding: 2rem 1rem 4rem;
}

/* Orbit container */
.carousel-orbit {
  position: relative;
  width: 100%;
  max-width: 72rem;
  height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  margin-bottom: 8rem;
}

/* Image cards */
.carousel-card {
  position: absolute;
  width: 8rem;
  height: 10rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  will-change: transform;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
}

.carousel-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.carousel-card:hover img {
  transform: scale(1.1);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.carousel-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.carousel-card:hover .carousel-card-shine {
  opacity: 1;
}

/* Content */
.carousel-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.carousel-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.carousel-content p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.carousel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.carousel-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.carousel-cta:active {
  transform: scale(0.95);
}

.carousel-cta svg {
  transition: transform 0.2s ease;
}

.carousel-cta:hover svg {
  transform: translateX(4px);
}

/* Feature cards */
.carousel-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 56rem;
}

.carousel-feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-200);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.carousel-feature-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--gray-300);
}

.carousel-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.carousel-feature-card:hover h3 {
  color: var(--primary);
}

.carousel-feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .carousel-orbit {
    height: 20rem;
  }

  .carousel-card {
    width: 6.5rem;
    height: 8rem;
  }

  .carousel-features {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }
}

@media (max-width: 480px) {
  .carousel-orbit {
    height: 18rem;
  }

  .carousel-card {
    width: 5.5rem;
    height: 7rem;
  }
}

/* ===== Why Choose - Sticky Scroll Cards ===== */
.sticky-features {
  background: var(--gray-50);
}

.sticky-features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.sticky-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.sticky-header-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  transform-style: preserve-3d;
}

.sticky-header-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  transform-style: preserve-3d;
}

.sticky-cards-wrap {
  margin-bottom: 4rem;
}

.sticky-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 120px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.sticky-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.sticky-card-blue {
  background: #dbeafe;
}

.sticky-card-green {
  background: #dcfce7;
}

.sticky-card-orange {
  background: #ffedd5;
}

.sticky-card-purple {
  background: #f3e8ff;
}

.sticky-card-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.sticky-card-text p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.sticky-card-img {
  overflow: hidden;
  border-radius: var(--radius);
}

.sticky-card-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.sticky-card:hover .sticky-card-img img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .sticky-features-inner {
    padding: 3.5rem 1.5rem;
  }

  .sticky-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    top: 80px;
  }

  .sticky-card-text h3 {
    font-size: 1.25rem;
  }

  .sticky-header-title {
    font-size: 1.75rem;
  }
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== NEP Section - Animated Video on Scroll ===== */
.nep-scroll-section {
  position: relative;
}

.nep-scroll-area {
  position: relative;
  height: 350vh;
  width: 100%;
}

.nep-sticky {
  position: sticky;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(40% 40% at 50% 20%, #0e19ae 0%, #0b1387 23%, #080f67 43%, #030526 89%);
  overflow: hidden;
}

/* Animated text */
.nep-anim-text {
  text-align: center;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
  will-change: transform, opacity, filter;
  transition: none;
}

.nep-anim-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.03em;
}

.nep-anim-text h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.nep-anim-text p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* Video inset */
.nep-video-inset {
  width: 100%;
  max-height: 450px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  pointer-events: none;
  will-change: clip-path;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nep-video-inset video {
  position: relative;
  z-index: 10;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  will-change: transform;
}

/* CTA button */
.nep-anim-cta {
  margin-top: 1rem;
  will-change: transform, opacity, filter;
}

.nep-glow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid #84cc16;
  background: rgba(10, 10, 10, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 24px rgba(132, 204, 22, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.nep-glow-btn:hover {
  background: rgba(15, 23, 42, 0.5);
  transform: scale(1.02);
  box-shadow: 0 6px 30px rgba(132, 204, 22, 0.5);
}

.nep-glow-btn:active {
  transform: scale(0.98);
}

.nep-glow-btn svg {
  transition: transform 0.2s ease;
}

.nep-glow-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .nep-scroll-area {
    height: 280vh;
  }

  .nep-video-inset {
    max-height: 300px;
  }

  .nep-sticky {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .nep-scroll-area {
    height: 250vh;
  }

  .nep-video-inset {
    max-height: 220px;
  }

  .nep-anim-text h2 {
    font-size: 1.75rem;
  }
}

/* ===== Animated Card Stack Testimonials ===== */
.testimonials-stack {
  background: var(--gray-50);
  padding-bottom: 0;
}

.stack-scroll-container {
  position: relative;
  width: 100%;
  height: 300vh;
  perspective: 1000px;
}

.stack-sticky-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.stack-cards-container {
  position: relative;
  width: 350px;
  height: 450px;
  perspective: 1000px;
  margin: 0 auto;
}

.stack-card {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform, filter;
  backface-visibility: hidden;
}

.stack-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
}

.stack-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.stack-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #14b8a6;
}

.stack-stars svg {
  width: 1rem;
  height: 1rem;
}

.stack-card-content blockquote {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  width: 85%;
  margin: 0 auto;
  font-style: italic;
}

.stack-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stack-avatar-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gray-300);
}

.stack-avatar-placeholder {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
}

.stack-author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stack-author-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.stack-author-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

@media (max-width: 480px) {
  .stack-cards-container {
    width: 290px;
    height: 420px;
  }

  .stack-card-content blockquote {
    font-size: 0.85rem;
    width: 90%;
  }
}

/* ===== Founders (animated testimonial-style cards) ===== */
.founders {
  background: var(--gray-50);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.founder-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.founder-card-media {
  position: relative;
  height: 28rem;
}

.founder-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
}

.founder-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  text-align: left;
  color: var(--white);
}

.founder-quote-icon {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.founder-card-content blockquote {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}

.founder-name {
  margin-top: 1rem;
  font-weight: 600;
}

.founder-role {
  margin-left: 0.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.founder-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.founder-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .founder-card-media {
    height: 24rem;
  }
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--gray-50);
}

.contact-info-card .info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-info-card a:hover {
  color: var(--blue);
}

/* ===== FAQ ===== */
.faq {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--blue);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question .faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--gray-400);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: var(--gray-400);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .footer-logo img {
  height: 2.5rem;
}

.footer-brand .footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-info p,
.footer-contact-info a {
  font-size: 0.875rem;
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.375rem;
}

.footer-contact-info a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.designed-by {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.designed-by a {
  color: var(--blue);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-floating {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

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

@media (max-width: 768px) {
  .nav-links,
  .nav-contact {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item .stat-number {
    font-size: 1.75rem;
  }
}
