/* ============================================
   VEDANSH SKILL ACADEMY - Main Stylesheet
   Premium 2026-style UI | Logo-inspired palette
   ============================================ */

/* ---------- CSS Variables (Logo-inspired) ---------- */
:root {
  /* Primary palette */
  --primary: #2B4C8A;
  --primary-dark: #1e3a6b;
  --primary-light: #3d6ab5;
  --secondary: #F99B30;
  --secondary-dark: #e0851a;
  --secondary-light: #fbb052;
  --accent: #6DBE45;
  --accent-dark: #5aa838;
  --accent-light: #8dd468;

  /* Neutrals */
  --text-dark: #1a2744;
  --text-body: #4a5568;
  --text-muted: #718096;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --white: #ffffff;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #2B4C8A 0%, #1e3a6b 40%, #F99B30 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(247,250,252,0.98) 100%);
  --gradient-cta: linear-gradient(135deg, #2B4C8A 0%, #3d6ab5 100%);
  --gradient-cta-orange: linear-gradient(135deg, #F99B30 0%, #fbb052 100%);
  --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(43,76,138,0.15), transparent),
                   radial-gradient(ellipse 60% 40% at 100% 50%, rgba(249,155,48,0.12), transparent),
                   radial-gradient(ellipse 50% 30% at 0% 80%, rgba(109,190,69,0.08), transparent);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 76, 138, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 76, 138, 0.1);
  --shadow-lg: 0 16px 48px rgba(43, 76, 138, 0.12);
  --shadow-xl: 0 24px 64px rgba(43, 76, 138, 0.15);
  --shadow-glow: 0 0 40px rgba(249, 155, 48, 0.2);

  /* Spacing & layout */
  --header-height: 72px;
  --topbar-height: 44px;
  --section-padding: 5rem;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), transform var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Sora', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.section-title { color: var(--primary); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 20px 0; }
.section-alt { background: var(--gray-100); }

/* ---------- Top Contact Bar ---------- */
.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-left,
.topbar .topbar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 0.35rem; }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 76, 138, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }
.nav-desktop a:hover { color: var(--primary); }

/* CTA in header */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--gradient-cta-orange);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(249, 155, 48, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 155, 48, 0.4);
}

/* Mobile menu trigger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  color: var(--primary);
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Off-canvas mobile menu */
.offcanvas {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  z-index: 999;
  padding: calc(var(--header-height) + 1.5rem) 1.5rem 1.5rem;
  transition: right var(--transition);
  overflow-y: auto;
}
.offcanvas.open { right: 0; }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: opacity var(--transition), visibility var(--transition);
}
.overlay.open { opacity: 1; visibility: visible; }
.offcanvas .nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.offcanvas .nav-mobile a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.offcanvas .nav-mobile a:hover,
.offcanvas .nav-mobile a.active { background: var(--gray-100); color: var(--primary); }
.offcanvas .btn-demo { margin-top: 1rem; width: 100%; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary {
  color: var(--white);
  background: var(--gradient-cta);
  box-shadow: 0 4px 16px rgba(43, 76, 138, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43, 76, 138, 0.35);
}
.btn-secondary {
  color: var(--white);
  background: var(--gradient-cta-orange);
  box-shadow: 0 4px 16px rgba(249, 155, 48, 0.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 155, 48, 0.4);
}
.btn-outline {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-height) + var(--topbar-height) + 0.5rem) 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gray-100);
  background-image: var(--gradient-mesh);
  z-index: 0;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.hero-shapes .shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; opacity: 0.08; }
.hero-shapes .shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: 10%; left: -80px; opacity: 0.1; }
.hero-shapes .shape-3 { width: 200px; height: 200px; background: var(--accent); top: 50%; right: 20%; opacity: 0.06; }
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 { margin-bottom: 1rem; color: var(--primary); }
.hero-content .hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-body);
  margin-bottom: 1.5rem;
  max-width: 540px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(43, 76, 138, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(43, 76, 138, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.hero-badge.orange { color: var(--secondary-dark); background: rgba(249, 155, 48, 0.1); border-color: rgba(249, 155, 48, 0.2); }
.hero-badge.green { color: var(--accent-dark); background: rgba(109, 190, 69, 0.1); border-color: rgba(109, 190, 69, 0.2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 1px solid rgba(255,255,255,0.8);
}
.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,76,138,0.05) 0%, rgba(249,155,48,0.05) 100%);
  pointer-events: none;
}
.hero-visual-placeholder {
  font-size: 4rem;
  opacity: 0.15;
  color: var(--primary);
}
.hero-visual .float-card {
  position: absolute;
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}
.hero-visual .float-card:nth-child(2) { top: 12%; right: 2%; animation-delay: -1s; }
.hero-visual .float-card:nth-child(3) { bottom: 22%; left: 2%; animation-delay: -2s; }
.hero-visual .float-card:nth-child(4) { top: 38%; left: 2%; animation-delay: -0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Why Choose / Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transition: height var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 76, 138, 0.15);
}
.feature-card:hover::before { height: 100%; }
.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43,76,138,0.1) 0%, rgba(249,155,48,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- About Preview ---------- */
.about-preview .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-preview .about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-preview .about-image-wrap .img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 3rem;
}
.about-preview .mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.mv-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.mv-card:hover { transform: translateY(-4px); }
.mv-card h4 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.1rem; }
.mv-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Featured Programs ---------- */
.programs-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.program-card-large {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card-large:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.program-card-large .card-head {
  padding: 1.5rem 1.5rem 0.5rem;
  border-left: 4px solid var(--primary);
}
.program-card-large .card-head.java { border-left-color: var(--primary); }
.program-card-large .card-head.python { border-left-color: var(--secondary); }
.program-card-large h3 { margin-bottom: 0.5rem; }
.program-card-large .card-body { padding: 1rem 1.5rem 1.5rem; flex-grow: 1; }
.program-card-large .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0;
}
.program-card-large .tech-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--gray-100);
  color: var(--text-body);
  border-radius: 999px;
}
.program-card-large .badge-pb {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(109, 190, 69, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.program-card-large .card-footer { padding: 0 1.5rem 1.5rem; }
.programs-other {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.program-card-small {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 76, 138, 0.2);
}
.program-card-small .icon-sm { font-size: 2rem; margin-bottom: 0.5rem; color: var(--primary); }
.program-card-small h4 { font-size: 1rem; color: var(--text-dark); }

/* ---------- Learning Path / Timeline ---------- */
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.timeline-step {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.timeline-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.timeline-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.timeline-step h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.timeline-step p { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 768px) {
  .timeline-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .timeline-steps { grid-template-columns: 1fr; }
}

/* ---------- Student Projects Preview ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-6px); }
.project-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,76,138,0.92) 0%, rgba(43,76,138,0.6) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  transition: opacity var(--transition);
}
.project-card .card-overlay h4 { color: var(--white); margin-bottom: 0.35rem; font-size: 1.1rem; }
.project-card .card-overlay p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 0.75rem; }
.project-card .stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.project-card .stack-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
}
.project-card .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 2.5rem;
}

/* ---------- Career / Stats Section ---------- */
.stats-section {
  background: var(--gradient-cta);
  color: var(--white);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}
.stat-item .counter { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; font-family: 'Outfit', sans-serif; margin-bottom: 0.25rem; }
.stat-item .counter-label { font-size: 0.95rem; opacity: 0.9; }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ---------- Hiring Mentors Section ---------- */
.mentors-section {
  background: linear-gradient(135deg, #1a2744 0%, var(--primary) 50%, #2B4C8A 100%);
  color: var(--white);
  padding: var(--section-padding) 0;
  position: relative;
}
.mentors-section .section-label { color: var(--secondary-light); }
.mentors-section .section-title { color: var(--white); }
.mentors-section .lead { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 720px; }
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.mentors-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}
.mentors-section .perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.mentors-section .perk {
  padding: 0.5rem 1rem;
  background: rgba(109, 190, 69, 0.2);
  color: var(--accent-light);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}
.mentors-section .btn-secondary { margin-top: 0.5rem; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--gray-100); }
.testimonials-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0;
  scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 min(380px, 90vw);
  scroll-snap-align: start;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card .stars { color: var(--secondary); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.testimonial-card .quote { font-size: 0.95rem; color: var(--text-body); margin-bottom: 1rem; font-style: italic; }
.testimonial-card .author { font-weight: 600; color: var(--primary); }
.testimonial-card .course { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Contact CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(43,76,138,0.06) 0%, rgba(249,155,48,0.08) 100%);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: var(--text-muted); margin-bottom: 1.5rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0px;
  background: var(--gray-100);
  background-image: var(--gradient-mesh);
  text-align: center;
}
.page-hero h1 { color: var(--primary); margin-bottom: 0.5rem; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.page-hero .breadcrumb a { color: var(--primary); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(43, 76, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form-wrap .form-group {
  margin-bottom: 1.25rem;
}
.contact-form-wrap label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 76, 138, 0.15);
}
.contact-form-wrap textarea { min-height: 120px; resize: vertical; }
.map-placeholder {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-200);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text-dark);
  color: var(--gray-400);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-link img { filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer a { color: var(--gray-400); transition: color var(--transition); }
.footer a:hover { color: var(--white); }
.footer .contact-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--white); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform var(--transition), background var(--transition);
}
.back-to-top:hover { transform: translateY(-3px); background: var(--secondary-light); }
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: none; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Courses Page - Program Blocks ---------- */
.program-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.program-block-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(43,76,138,0.06) 0%, rgba(249,155,48,0.06) 100%);
  border-left: 4px solid var(--primary);
}
.program-block-header.python { border-left-color: var(--secondary); }
.program-block-header h2 { margin-bottom: 0; font-size: 1.5rem; }
.program-block-body { padding: 1.5rem 2rem 2rem; }
.program-block-body h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.25rem 0 0.75rem;
}
.program-block-body h4:first-child { margin-top: 0; }
.program-block-body ul { margin: 0.5rem 0 1rem; padding-left: 1.25rem; }
.program-block-body li { margin-bottom: 0.35rem; list-style: disc; color: var(--text-body); font-size: 0.95rem; }
.track-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.track-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 76, 138, 0.2);
}
.track-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.track-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.track-card ul { padding-left: 1rem; }
.track-card li { margin-bottom: 0.25rem; font-size: 0.9rem; list-style: disc; color: var(--text-body); }

/* ---------- Courses Page improvements ---------- */
.courses-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--text-body);
  font-size: 1.05rem;
}
.courses-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}
.courses-jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.courses-jump-nav a:hover {
  border-color: var(--primary);
  background: rgba(43, 76, 138, 0.06);
  transform: translateY(-2px);
}
.program-block {
  margin-bottom: 2.5rem;
}
.program-block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.program-block-header .program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.program-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(109, 190, 69, 0.15);
  color: var(--accent-dark);
}
.program-badge.duration {
  background: rgba(43, 76, 138, 0.1);
  color: var(--primary);
}
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin-top: 1rem;
}
.curriculum-module {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border-left: 3px solid var(--primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.curriculum-module:hover {
  box-shadow: var(--shadow-sm);
}
#python .curriculum-module { border-left-color: var(--secondary); }
#python .curriculum-module .module-icon {
  background: rgba(249, 155, 48, 0.15);
  color: var(--secondary-dark);
}
.curriculum-module h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.curriculum-module .module-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(43, 76, 138, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}
.curriculum-module ul { margin: 0; padding-left: 1.1rem; }
.curriculum-module li { margin-bottom: 0.3rem; font-size: 0.9rem; }
.program-block-footer {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(43,76,138,0.04) 0%, rgba(249,155,48,0.04) 100%);
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.program-block-footer .program-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.courses-whats-included {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(43,76,138,0.08) 0%, rgba(109,190,69,0.06) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(43, 76, 138, 0.1);
}
.courses-whats-included span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.courses-whats-included span::before { content: '✓'; color: var(--accent); font-weight: 700; }
.track-card .track-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43,76,138,0.1) 0%, rgba(249,155,48,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.track-card .btn { margin-top: 0.75rem; }
@media (max-width: 768px) {
  .curriculum-grid { grid-template-columns: 1fr; }
  .program-block-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .program-block-footer .program-cta { justify-content: center; }
}

/* ---------- Projects Page ---------- */
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-showcase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.project-showcase-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 2.5rem;
}
.project-showcase-card .body { padding: 1.5rem; }
.project-showcase-card .category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: rgba(249, 155, 48, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.project-showcase-card h3 { margin-bottom: 0.5rem; }
.project-showcase-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.project-showcase-card .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-showcase-card .tech-list span {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--gray-100);
  color: var(--text-body);
  border-radius: 999px;
}

/* ---------- About Page ---------- */
.about-intro { max-width: 800px; margin: 0 auto 2rem; text-align: center; }
.about-intro p { font-size: 1.05rem; color: var(--text-body); }
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-card .icon { font-size: 2rem; margin-bottom: 0.75rem; color: var(--primary); }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Scroll reveal (base) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content .hero-tagline { max-width: none; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .about-preview .grid-2 { grid-template-columns: 1fr; }
  .about-preview .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .programs-featured { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topbar { height: auto; padding: 0.5rem 0; }
  .topbar .topbar-left, .topbar .topbar-right { justify-content: center; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .about-preview .mission-vision { grid-template-columns: 1fr; }
  .timeline-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .cta-band .btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
