/* ============================================================
   HOME PAGE STYLES — index.css
   ============================================================ */

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1800') center/cover no-repeat;
  opacity: 0.12;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,74,40,0.92) 0%,
    rgba(15,30,60,0.85) 55%,
    rgba(15,30,60,0.75) 100%
  );
}

/* Decorative orb */
.hero-orb {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,159,87,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 110px 0 90px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(42,159,87,0.18);
  border: 1px solid rgba(42,159,87,0.4);
  border-radius: 30px;
  color: #6edba0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green-mid);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: #6edba0; }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats row inside hero */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num .suffix { color: var(--green-mid); }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Scrolling countries ticker */
.countries-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  padding: 0 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-item::after {
  content: '•';
  color: var(--green-mid);
  opacity: 0.5;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   IMPACT SECTION
───────────────────────────────────────── */
.impact-section { background: var(--white); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-card {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.impact-card:last-child { border-right: none; }
.impact-card:hover { background: var(--green-tint); }

.impact-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--green-primary);
  margin: 0 auto 16px;
}
.impact-number {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.impact-number .sup { color: var(--green-primary); font-size: 1.4rem; }
.impact-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   ABOUT STRIP (2-col)
───────────────────────────────────────── */
.about-strip { background: var(--surface); }

.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-strip-content {}
.about-strip-content .section-label { margin-bottom: 12px; }
.about-strip-content h2 { margin-bottom: 18px; }
.about-strip-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.vision-quote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--green-primary);
  background: var(--green-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.vision-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-dark);
  font-style: italic;
  margin: 0 !important;
  line-height: 1.6;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pillar-item:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pillar-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.pillar-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-strip-visual {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  height: 460px;
}
.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-img-badge-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--green-primary);
}
.about-img-badge strong { display: block; font-size: 20px; font-weight: 700; line-height: 1; }
.about-img-badge span   { font-size: 12px; color: var(--text-muted); }

/* ─────────────────────────────────────────
   INSTITUTIONS (10 sub-brands)
───────────────────────────────────────── */
.institutions-section { background: var(--white); }

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.institution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.institution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-primary);
}
.institution-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 14px;
  border-radius: 12px;
}
.institution-abbr {
  display: inline-block;
  width: 72px; height: 72px;
  background: var(--green-light);
  border-radius: 12px;
  line-height: 72px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-primary);
  margin: 0 auto 14px;
}
.institution-card h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
}
.institution-card span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.program-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.program-card-body { padding: 22px; }
.program-card-body .badge { margin-bottom: 10px; }
.program-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.program-card-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.program-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─────────────────────────────────────────
   LEADERSHIP TIERS
───────────────────────────────────────── */
.tiers-section { background: var(--navy); }

.tiers-section .section-label { color: var(--green-mid); }
.tiers-section .section-title { color: var(--white); }
.tiers-section .section-subtitle { color: rgba(255,255,255,0.6); }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}
.tier-card:hover {
  background: rgba(42,159,87,0.12);
  border-color: rgba(42,159,87,0.4);
}
.tier-level {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 8px;
}
.tier-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.tier-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
  background: var(--green-primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-white {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--white);
  font-weight: 700;
}
.btn-cta-white:hover {
  background: var(--green-tint);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   LATEST NEWS / BLOG PREVIEW
───────────────────────────────────────── */
.news-section { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-card-body { padding: 20px; }
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.news-card-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.news-card-body h3 {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 8px;
}
.news-card-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.news-read-more:hover { gap: 8px; }

/* ─────────────────────────────────────────
   RESPONSIVE — HOME
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .institutions-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-card:nth-child(2) { border-right: none; }
  .impact-card:nth-child(3) { border-top: 1px solid var(--border); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .institutions-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { padding: 80px 0 70px; }
  .hero-stats { gap: 24px; }
  .about-strip-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-main { height: 300px; }
  .about-img-badge { left: 12px; }
  .programs-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .institutions-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-md); }
  .impact-card:nth-child(2) { border-right: 1px solid var(--border); }
  .impact-card:nth-child(even) { border-right: none; }
  .impact-card:nth-child(3),
  .impact-card:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .institutions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2rem; }
}