/* ═══════════════════════════════════════════════
   home.css — Homepage specific styles
═══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(249,168,37,0.07);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(249,168,37,0.2);
  border: 1px solid rgba(249,168,37,0.5);
  color: var(--gold);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 1.5rem;
}

.star {
  width: 18px; height: 18px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 2s ease-in-out infinite alternate;
}

.star:nth-child(2) { animation-delay: 0.3s; }
.star:nth-child(3) { animation-delay: 0.6s; }
.star:nth-child(4) { animation-delay: 0.9s; }
.star:nth-child(5) { animation-delay: 1.2s; }

@keyframes twinkle {
  from { opacity: 0.6; transform: scale(0.9); }
  to   { opacity: 1;   transform: scale(1.1); }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.hero h1 em { color: var(--gold); font-style: normal; }

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-outline {
  background: transparent;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  display: inline-block;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ── STATS BAR ── */
.stats-bar {
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2.5rem;
  border-right: 1px solid var(--sky-mid);
  flex: 1;
  min-width: 120px;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* ── ABOUT PREVIEW ── */
.home-about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.motto-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.motto-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.motto-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}

.motto-cards { display: flex; flex-direction: column; gap: 1rem; }

.motto-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.motto-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.motto-card-title { color: white; font-weight: 700; font-size: 0.95rem; }
.motto-card-desc { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-top: 2px; }

.about-values { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.value-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.value-dot {
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.value-row p { color: var(--text-muted); font-size: 0.925rem; line-height: 1.6; }

/* ── PROGRAMS PREVIEW ── */
.home-programs { background: var(--bg); }

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

.program-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.program-card:hover {
  border-color: var(--sky-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card:hover::after { transform: scaleX(1); }

.prog-icon {
  width: 68px; height: 68px;
  background: var(--sky);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 1.25rem;
}

.program-card h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.program-card p { color: var(--text-muted); font-size: 0.865rem; line-height: 1.6; }

.prog-age {
  display: inline-block;
  background: var(--sky);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  margin-top: 1rem;
}

/* ── WHY US ── */
.home-features { background: white; }

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

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover { background: var(--sky); transform: translateX(4px); }

.feat-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-card h4 { color: var(--primary); font-weight: 700; font-size: 0.925rem; margin-bottom: 0.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.55; }

/* ── CTA BANNER ── */
.home-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  padding: 4rem 2rem;
}

.home-cta h2 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.home-cta p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 1.25rem 1rem; }
}
