/* ==========================================================
   DHSACA — Home Page Styles
   International-standard alumni landing page
   ========================================================== */

/* ---------- Typography ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, .display-4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ---------- Scroll Reveal ---------- */
.reveal        { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ==========================================================
   HERO — background photo + gradient overlay
   ========================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;

  /* Layer 1 (top): green gradient for text legibility
     Layer 2 (bottom): the actual photo
     If photo fails → gradient alone still looks great */
  background-image:
    linear-gradient(135deg,
      rgba(15,81,50,0.92) 0%,
      rgba(20,92,55,0.85) 45%,
      rgba(26,127,75,0.70) 100%),
    url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax on desktop */
}

/* Subtle vignette + gold radial accents */
.hero-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,193,7,.15) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(220,53,69,.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
}

.min-vh-75 { min-height: 70vh; }

/* Badge */
.hero-section .badge {
  font-weight: 600;
  letter-spacing: .3px;
  backdrop-filter: blur(6px);
}

/* Headline shadow for legibility over photo */
.hero-section h1 {
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  line-height: 1.1;
}

/* Paragraph */
.hero-section .lead {
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
  max-width: 620px;
}

/* CTA buttons */
.hero-section .btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  border: none;
  box-shadow: 0 10px 28px rgba(255,193,7,.35);
  transition: transform .2s, box-shadow .2s;
}
.hero-section .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255,193,7,.45);
}
.hero-section .btn-outline-light {
  border-width: 2px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.05);
}
.hero-section .btn-outline-light:hover {
  background: rgba(255,255,255,.15);
}

/* Circular emblem */
.hero-emblem {
  width: 340px; height: 340px; margin: 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,193,7,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 10rem; color: #ffc107;
  box-shadow:
    0 0 80px rgba(255,193,7,.20),
    inset 0 0 60px rgba(255,193,7,.06);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}

/* Bottom wave — transitions into stats strip */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 70px; background: #fff; z-index: 3;
  clip-path: ellipse(85% 100% at 50% 100%);
}

/* ==========================================================
   STATS STRIP
   ========================================================== */
.stat-strip {
  position: relative;
  z-index: 4;
  padding: 1.75rem 0 2rem;
}
.stat-box { padding: .75rem .5rem; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f5132;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  color: #6c757d;
  font-size: .8rem;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
}

/* ==========================================================
   FEATURE GRID
   ========================================================== */
.feature-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(25,135,84,.05), transparent 60%),
    #f8f9fa;
  padding: 5rem 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: #198754;
  box-shadow: 0 16px 36px rgba(15,81,50,.12);
}
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #198754 0%, #0f5132 100%);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 18px rgba(25,135,84,.28);
}

/* ==========================================================
   MISSION
   ========================================================== */
.ls-1 { letter-spacing: 1.5px; }
.mission-list li { padding: .45rem 0; color: #495057; line-height: 1.55; }

.mission-visual {
  position: relative;
  min-height: 400px;
}
.mission-card {
  position: absolute;
  width: 230px;
  padding: 1.4rem 1.25rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15,81,50,.10);
  transition: transform .3s ease;
}
.mission-card i { font-size: 1.85rem; color: #198754; }
.mission-card h6 { margin: .6rem 0 .3rem; font-weight: 700; }
.mission-card p  { font-size: .85rem; color: #6c757d; margin: 0; }
.mission-card-1 { top: 0;    left: 0;   animation: float 7s ease-in-out infinite; }
.mission-card-2 { top: 32%;  right: 0;  animation: float 8s ease-in-out infinite .5s; }
.mission-card-3 { bottom: 0; left: 18%; animation: float 9s ease-in-out infinite 1s; }
.mission-card:hover { transform: translateY(-6px) scale(1.02); }

/* ==========================================================
   EVENTS
   ========================================================== */
.event-card { transition: box-shadow .2s, transform .2s; }
.event-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.08) !important;
  transform: translateY(-2px);
}
.event-date {
  width: 64px;
  text-align: center;
  color: #0f5132;
  border-right: 2px solid #e9ecef;
  padding-right: 12px;
}

/* ==========================================================
   BATCH CHIPS
   ========================================================== */
.batch-chip {
  display: block;
  padding: 1.1rem .5rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  color: #0f5132;
  transition: all .2s;
}
.batch-chip:hover {
  border-color: #198754;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(25,135,84,.15);
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-section {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(20,92,55,.95) 0%, rgba(15,81,50,.98) 100%),
    url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,193,7,.14), transparent 45%);
  pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 2; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991px) {
  .hero-section { min-height: auto; background-attachment: scroll; }
  .hero-content { padding: 4.5rem 0 3.5rem; }
  .cta-section  { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .hero-section { min-height: auto; text-align: center; }
  .hero-emblem  { display: none; }
  .mission-visual { min-height: auto; display: grid; gap: 1rem; }
  .mission-card { position: static; width: 100%; animation: none; }
  .hero-wave    { height: 40px; }
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-emblem,
  .mission-card { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}