:root {
  --primary: #0f3d2e;
  --secondary: #1f6f54;
  --text-dark: #1e1e1e;
  --text-muted: #555;
  --bg-light: #f8faf9;
}

* { box-sizing: border-box; font-family: 'Inter', sans-serif; margin:0; padding:0; }

body { background: var(--bg-light); color: var(--text-dark); }

/* ===== HEADER / HERO ===== */
header {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

header img.active { opacity: 1; }

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  color: white;
}

.hero-overlay h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-overlay p {
  font-size: 1.1rem;
  color: #eee;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

/* ===== ELIGIBILITY ===== */
.eligibility {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  margin-bottom: 3rem;
}
.eligibility h2 { color: var(--primary); margin-bottom: 1rem; }
.eligibility ul { padding-left: 1.2rem; }
.eligibility li { margin-bottom: 0.6rem; font-weight: 500; }
.eligibility .warning { color: #8a2c2c; margin-top: .5rem; font-weight: 500; }
.confirm { margin-top: 1rem; display: flex; gap: .8rem; align-items: center; font-weight: 500; }

/* ===== APPLICATION CARDS ===== */
.application { text-align: center; }
.application h2 { font-size: 2rem; margin-bottom: 2rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}
.card h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.card p { color: var(--text-muted); margin-bottom: 1.6rem; }
.card a {
  text-decoration: none;
  background: var(--primary);
  color: white;
  padding: .9rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  opacity: 0.5;
}
.card a.active { pointer-events: auto; opacity: 1; }
.card a:hover { background: var(--secondary); }

footer {
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
  color: var(--text-muted);
}
