:root {
  --ai-green: #2f7a57;
  --ai-blue: #1f5f86;
  --hero-bg: #eef4fa;
  --nav-blue: #0b61c3;
}

body {
  color: #111;
}

.header-logo {
  max-height: 400px;
  margin-top: -1px;
}

#header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#nav-container a {
  color: var(--nav-blue);
  font-weight: 700;
  text-decoration: none;
}

#nav-container a:hover {
  text-decoration: underline;
}

/* Index hero */
.index-hero {
  background: #fff;
}

.index-hero-card {
  overflow: hidden;
  border-radius: 0;
}

.index-hero-left {
  background: var(--hero-bg);
}

.index-hero-right {
  background: #ddd;
  min-height: 260px;
}

.index-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.index-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--ai-green);
  letter-spacing: 0.5px;
  text-align: center;
}

.index-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Program cards */
.programs-section {
  background: #eef4f2;
}

.program-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.program-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.program-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.program-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.program-card-title {
  color: var(--ai-blue);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.program-card-deck {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #333;
  margin-bottom: 0;
}

.program-card-cta {
  color: var(--nav-blue);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: underline;
  margin-top: 0.75rem;
  display: inline-block;
}

.program-card:hover .program-card-cta {
  text-decoration: underline;
}

/* CTA bar (match district profile) */
.cta-bar {
  background: #198754;
  padding: 18px 16px;
  text-align: center;
}

.cta-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  font-size: clamp(1.25rem, 3vw, 2.3rem);
}

@media (max-width: 991.98px) {
  body {
    overflow-x: hidden;
  }

  .header-logo {
    max-height: 120px;
    width: auto;
  }

  .container-header {
    padding: 0.5rem 1rem;
  }

  #nav-container a {
    font-size: 0.95rem;
  }

  .program-card-img {
    height: 200px;
  }

  .index-hero-right,
  .index-hero-photo {
    min-height: 200px;
  }

  .cta-bar {
    padding: 16px 12px;
  }
}

@media (max-width: 575.98px) {
  .header-logo {
    max-height: 90px;
  }

  .index-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }
}
