/* ==========================================================================
   Prep4Job — Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #0D2D6C;
  --color-primary-dark: #081E4A;
  --color-secondary: #409A15;
  --color-secondary-dark: #2E6F0F;
  --color-light-green: #EEFCE3;
  --color-dark-text: #1E293B;
  --color-paragraph: #64748B;
  --color-border: #E5E7EB;
  --color-bg: #FFFFFF;
  --color-section-bg: #F8FAFC;

  /* Layout */
  --container-width: 1320px;
  --section-padding: 100px;
  --radius: 18px;
  --card-radius: 20px;
  --btn-radius: 10px;
  --transition: 0.35s ease;
  --grid-gap: 30px;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  /* Type */
  --font-base: 'Poppins', Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-dark-text);
  background: var(--color-bg);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: inherit; font-size: 16px; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--color-dark-text);
  line-height: 1.25;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* prevent grid/flex items from blowing out their track via default min-width:auto */
.hero-grid > *, .about-grid > *, .contact-grid > *,
.programs-grid > *, .features-grid > *, .footer-grid > *, .stats-box > * {
  min-width: 0;
}

.section { padding: var(--section-padding) 0; }
.section-bg { background: var(--color-section-bg); }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--btn-radius);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
}
.btn-primary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.35);
}

.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(13, 45, 108, 0.12);
}

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

/* ripple */
.btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  width: 10px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.6s ease;
}
.btn.rippling::after { transform: translate(-50%, -50%) scale(24); opacity: 1; transition: transform 0s, opacity 0s; }

/* ---------- Labels / headings ---------- */
.label {
  display: inline-block;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  font-size: 42px;
  margin-bottom: 18px;
}

.section-para {
  font-size: 17px;
  color: var(--color-paragraph);
  max-width: 640px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-para { margin-left: auto; margin-right: auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 16px;
  transition: gap var(--transition);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover { gap: 12px; }
.link-arrow.small { font-size: 14.5px; white-space: nowrap; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  height: 90px;
  overflow: hidden;
  border-bottom: 1px solid #F3F4F6;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }

.header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; line-height: 1.2; }
.logo-img { height: 74px; max-height: 74px; width: auto; display: block; }
.logo-img-footer { height: 100px; max-height: 100px; margin-bottom: 14px; }
.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.logo-text .accent { color: var(--color-secondary); }
.logo-text.light { color: #fff; font-size: 24px; }
.logo-tagline {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-paragraph);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--color-dark-text);
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--color-secondary); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--color-primary); }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 70px 0 90px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--grid-gap);
}

.hero-heading {
  font-size: 60px;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.hero-para {
  font-size: 17px;
  color: var(--color-paragraph);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 18px; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; align-items: center; gap: 12px; }
.hero-stat .icon { width: 26px; height: 26px; flex-shrink: 0; }
.icon-blue { color: var(--color-primary); }
.hero-stat strong { display: block; font-size: 19px; font-weight: 700; color: var(--color-dark-text); }
.hero-stat span { display: block; font-size: 13px; color: var(--color-paragraph); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; }
.hero-blob {
  position: absolute;
  width: 84%;
  height: 84%;
  border-radius: 63% 37% 54% 46% / 46% 42% 58% 54%;
  background: radial-gradient(circle at 35% 30%, #EAF2FF 0%, #DCEBFF 60%, #EAF2FF 100%);
  z-index: 0;
  animation: blobMorph 12s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 63% 37% 54% 46% / 46% 42% 58% 54%; }
  33% { border-radius: 45% 55% 62% 38% / 58% 40% 60% 42%; }
  66% { border-radius: 55% 45% 40% 60% / 40% 60% 40% 60%; }
}

.hero-photo-wrap { position: relative; z-index: 1; width: 100%; max-width: 420px; margin: 0 auto; }
.hero-photo-main {
  width: 100%;
  height: 450px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px 20px 20px 100px;
  box-shadow: 0 25px 55px rgba(13, 45, 108, 0.2);
  border: 6px solid #fff;
  transition: transform 0.5s ease;
}
.hero-photo-wrap:hover .hero-photo-main { transform: scale(1.02); }

.hero-photo-secondary {
  position: absolute;
  bottom: -6%;
  left: -12%;
  width: 42%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 15px 35px rgba(13, 45, 108, 0.2);
  overflow: hidden;
  z-index: 2;
}
.hero-photo-secondary img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.float-badge {
  position: absolute;
  z-index: 3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(13, 45, 108, 0.18);
}
.float-badge .icon { width: 26px; height: 26px; }

.float-slow { animation: floatY 6s ease-in-out infinite; }
.float-mid { animation: floatY 5s ease-in-out infinite; animation-delay: 0.5s; }
.float-fast { animation: floatY 4s ease-in-out infinite; animation-delay: 1s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.about-content .section-para { margin-bottom: 26px; }

.about-visual { position: relative; }
.about-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-illustration {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-photo-frame:hover .about-illustration { transform: scale(1.06); }

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-badge strong { display: block; font-size: 24px; font-weight: 700; color: var(--color-primary); }
.about-badge span { font-size: 13px; color: var(--color-paragraph); }

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}

.program-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 36px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.program-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-secondary);
  box-shadow: 0 20px 45px rgba(22, 163, 74, 0.15);
}

.program-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1.6px solid var(--color-secondary);
  color: var(--color-secondary);
  margin-bottom: 22px;
  transition: background var(--transition), color var(--transition);
}
.program-icon .icon { width: 30px; height: 30px; }
.program-card:hover .program-icon { background: var(--color-secondary); color: #fff; }

.program-card h3 { font-size: 22px; margin-bottom: 12px; }
.program-card p { font-size: 15px; color: var(--color-paragraph); margin-bottom: 20px; min-height: 68px; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.advantage-strip {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.advantage-strip .tags {
  display: block;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.advantage-strip p {
  color: var(--color-paragraph);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}
.feature-item {
  text-align: center;
  padding: 20px 14px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  color: var(--color-secondary);
  margin: 0 auto 18px;
}
.feature-item h3 { font-size: 17px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--color-paragraph); }

/* ---------- Card slider (e.g. Who We Support) ---------- */
.card-slider {
  display: flex;
  align-items: center;
  gap: 20px;
}
.card-slider-track {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-slider-track::-webkit-scrollbar { display: none; }

.slider-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.slider-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-secondary);
  box-shadow: 0 20px 45px rgba(22, 163, 74, 0.15);
}
.slider-card .feature-icon { margin-bottom: 18px; }
.slider-card h3 { font-size: 17px; margin-bottom: 10px; }
.slider-card p { font-size: 14px; color: var(--color-paragraph); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-section { padding: 0 0 100px; }
.stats-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.stat-item .icon { width: 36px; height: 36px; margin: 0 auto 16px; }
.stat-item strong { display: block; font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.stat-item span { font-size: 14.5px; opacity: 0.85; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.testi-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition);
}
.testi-arrow .icon { width: 18px; height: 18px; }
.testi-arrow:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.testimonial-card {
  flex: 1;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.testi-track { display: flex; transition: transform 0.5s ease; }
.testi-slide {
  min-width: 100%;
  display: flex;
  gap: 30px;
  padding: 44px 44px;
  align-items: center;
}
.testi-avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-light-green);
  box-shadow: 0 8px 20px rgba(13, 45, 108, 0.12);
}
.stars { display: flex; gap: 4px; color: #F59E0B; margin-bottom: 14px; }
.stars .icon { width: 16px; height: 16px; }
.testi-body p { font-size: 16px; color: var(--color-dark-text); margin-bottom: 18px; }
.testi-body h4 { font-size: 16px; margin-bottom: 2px; }
.testi-body span { font-size: 13.5px; color: var(--color-paragraph); }

.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testi-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--transition);
}
.testi-dots button.active { background: var(--color-secondary); width: 26px; border-radius: 6px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-box {
  background: var(--color-light-green);
  border-radius: 24px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.cta-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}
.cta-icon .icon { width: 40px; height: 40px; }
.cta-text { flex: 1; }
.cta-text h2 { font-size: 30px; margin-bottom: 8px; }
.cta-text p { color: var(--color-paragraph); font-size: 16px; }
.cta-box .btn { flex-shrink: 0; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-heading { margin-bottom: 34px; }

.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  padding: 10px;
  border-radius: 12px;
  background: var(--color-light-green);
  color: var(--color-secondary);
}
.contact-card span { display: block; font-size: 13px; color: var(--color-paragraph); }
.contact-card strong { display: block; font-size: 15.5px; font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-row:has(select), .form-row:has(textarea) { grid-template-columns: 1fr; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--color-border);
  color: var(--color-dark-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.contact-form textarea { height: auto; padding: 16px 20px; resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #94A3B8; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--color-secondary); text-align: center; min-height: 20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--color-primary); color: #CBD5E1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--grid-gap);
  padding: 80px 40px 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 22px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #B9C6E3;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-col a .icon { width: 15px; height: 15px; flex-shrink: 0; }

.footer-brand p { font-size: 14.5px; color: #B9C6E3; margin: 16px 0 22px; max-width: 280px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all var(--transition);
  margin-bottom: 0;
}
.social-icons a .icon { width: 18px; height: 18px; }
.social-icons a:hover { background: var(--color-secondary); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 40px;
  font-size: 13.5px;
  color: #93A3C4;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-secondary-dark); transform: translateY(-4px); }
.back-to-top .icon { width: 22px; height: 22px; }

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  z-index: 999;
}
.whatsapp-float:hover { background: #1EBE5A; transform: translateY(-4px); }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-up { opacity: 1; }
.js .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .fade-up.in-view { opacity: 1; transform: translateY(0); }

.js .delay-1.in-view { transition-delay: 0.12s; }
.js .delay-2.in-view { transition-delay: 0.24s; }
.js .delay-3.in-view { transition-delay: 0.36s; }
.js .delay-4.in-view { transition-delay: 0.48s; }

/* staggered card reveals */
.js .programs-grid .fade-up:nth-child(1).in-view { transition-delay: 0.05s; }
.js .programs-grid .fade-up:nth-child(2).in-view { transition-delay: 0.15s; }
.js .programs-grid .fade-up:nth-child(3).in-view { transition-delay: 0.25s; }
.js .programs-grid .fade-up:nth-child(4).in-view { transition-delay: 0.35s; }
.js .programs-grid .fade-up:nth-child(5).in-view { transition-delay: 0.45s; }
.js .programs-grid .fade-up:nth-child(6).in-view { transition-delay: 0.55s; }

.js .features-grid .fade-up:nth-child(1).in-view { transition-delay: 0.05s; }
.js .features-grid .fade-up:nth-child(2).in-view { transition-delay: 0.12s; }
.js .features-grid .fade-up:nth-child(3).in-view { transition-delay: 0.19s; }
.js .features-grid .fade-up:nth-child(4).in-view { transition-delay: 0.26s; }
.js .features-grid .fade-up:nth-child(5).in-view { transition-delay: 0.33s; }
.js .features-grid .fade-up:nth-child(6).in-view { transition-delay: 0.4s; }
.js .features-grid .fade-up:nth-child(7).in-view { transition-delay: 0.47s; }
.js .features-grid .fade-up:nth-child(8).in-view { transition-delay: 0.54s; }
.js .features-grid .fade-up:nth-child(9).in-view { transition-delay: 0.61s; }
.js .features-grid .fade-up:nth-child(10).in-view { transition-delay: 0.68s; }

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  z-index: 1100;
  transition: width 0.1s ease-out;
}

/* button shine sweep */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.btn-primary:hover::before { left: 130%; }

/* gentle pulse ring for cta icon */
.cta-icon { position: relative; }
.cta-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1440px) {
  :root { --container-width: 1200px; }
}

@media (max-width: 1200px) {
  .container { padding: 0 30px; }
  .hero-heading { font-size: 50px; }
  .section-heading { font-size: 36px; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 992px) {
  :root { --section-padding: 70px; }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 40px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }
  .site-header.nav-open .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid #F3F4F6; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-para { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }

  .mv-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-card { flex-basis: calc((100% - 24px) / 2); }

  .stats-box { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(odd)::after { display: block; }
  .stat-item:nth-child(3)::after, .stat-item:nth-child(4)::after { display: none; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; padding: 60px 30px 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  :root { --section-padding: 60px; }

  .hero-heading { font-size: 38px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; align-items: center; gap: 16px; }

  .section-heading { font-size: 28px; }

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

  .stats-box { grid-template-columns: 1fr; padding: 40px 30px; row-gap: 30px; }
  .stat-item::after { display: none !important; }

  .testimonial-wrap { flex-wrap: wrap; }
  .testi-slide { flex-direction: column; text-align: center; padding: 34px 26px; }

  .card-slider { flex-wrap: nowrap; }
  .slider-card { flex-basis: 82%; }

  .cta-box { flex-direction: column; text-align: center; padding: 40px 30px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .logo-img { height: 56px; }
  .logo-img-footer { height: 80px; }
  .logo-text { font-size: 22px; }
  .logo-tagline { display: none; }
  .hero-heading { font-size: 32px; }
  .btn { padding: 14px 24px; font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-icon { width: 64px; height: 64px; }
  .cta-icon .icon { width: 30px; height: 30px; }
}
