﻿:root {
  --primary-navy: #12304a;
  --primary-teal: #1f7a84;
  --primary-teal-dark: #165b63;
  --accent-gold: #d1b06b;
  --accent-sage: #d8ebe7;
  --brand: var(--primary-teal);
  --text: #132033;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f8fbfc;
  --light-bg: #eef5f6;
  --border: rgba(18, 48, 74, 0.1);
  --radius: 1.1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 10px 24px rgba(18, 48, 74, 0.08);
  --shadow: 0 18px 42px rgba(18, 48, 74, 0.12);
  --shadow-strong: 0 24px 60px rgba(18, 48, 74, 0.16);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 132, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(209, 176, 107, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfdfd 0%, #f4f8f8 42%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .85rem; }
.section-pad { padding: 3.85rem 0; }
.section-pad-sm { padding: 2.75rem 0 1.65rem; }
.bg-light-soft {
  background:
    linear-gradient(180deg, rgba(31, 122, 132, 0.03), rgba(209, 176, 107, 0.03)),
    var(--light-bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.bg-light-soft .eyebrow,
.section-heading .eyebrow:only-child,
.section-pad .section-heading .eyebrow,
.feature-card .eyebrow,
.info-card .eyebrow,
.business-card .eyebrow,
.program-card .eyebrow,
.pillar-card .eyebrow,
.event-card .eyebrow,
.news-card .eyebrow,
.team-card .eyebrow,
.cta-panel .eyebrow,
.contact-panel .eyebrow,
.highlight-panel .eyebrow {
  background: rgba(31, 122, 132, 0.1);
  border-color: rgba(31, 122, 132, 0.12);
  color: var(--primary-teal-dark);
  box-shadow: none;
}

.section-heading { max-width: 680px; margin-bottom: 1.2rem; }
.section-heading h2, .page-hero h1, .hero-section h1 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-heading h2 {
  color: var(--primary-navy);
  font-size: clamp(1.7rem, 2.35vw, 2.55rem);
}
.section-heading p, .page-hero p, .hero-section p {
  color: var(--muted);
  max-width: 62ch;
  font-size: .99rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  width: 100%;
}
.navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(18, 48, 74, 0.08);
  box-shadow: 0 14px 38px rgba(18, 48, 74, 0.08);
  padding-top: .42rem;
  padding-bottom: .42rem;
  width: 100%;
  min-height: 4.55rem;
}
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  min-height: 3.7rem;
}
.navbar-brand {
  margin-right: .2rem;
  min-width: 0;
  flex: 0 0 14.6rem;
  width: 14.6rem;
  max-width: 14.6rem;
  align-items: center;
}
.navbar-brand > span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  min-width: 0;
}
.brand-logo {
  width: 4.85rem;
  height: 2.48rem;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
  align-self: center;
  filter: drop-shadow(0 8px 18px rgba(18, 48, 74, 0.14));
}
.navbar-brand strong {
  color: var(--primary-navy) !important;
  font-size: .93rem;
  line-height: 1.05;
  display: block;
  white-space: nowrap;
}
.navbar-brand small { color: var(--muted) !important; font-size: .68rem; }
.navbar-collapse {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  align-items: center;
  max-width: 100%;
}
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(18, 48, 74, 0.18);
}
.navbar-toggler {
  border-color: rgba(18, 48, 74, 0.12);
  background: rgba(18, 48, 74, 0.03);
}
.navbar-toggler:focus { box-shadow: 0 0 0 .18rem rgba(31, 122, 132, .14); }

.navbar-nav {
  gap: .15rem;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  justify-content: flex-end;
  width: max-content;
  max-width: 100%;
}
.nav-link {
  font-weight: 700;
  color: var(--primary-navy) !important;
  position: relative;
  padding: .5rem .58rem !important;
  font-size: .79rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal-dark) !important;
  background: rgba(31, 122, 132, 0.1);
  transform: translateY(-1px);
}
.nav-link::after { display: none; }
.nav-extra-links {
  margin-left: .25rem;
  padding-left: .4rem;
  border-left: 1px solid rgba(18, 48, 74, 0.08);
}
.quick-link {
  margin-left: .25rem;
  padding: .5rem .65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: #fff;
  border: 1px solid rgba(22, 91, 99, 0.1);
  font-weight: 700;
  font-size: .75rem;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(31, 122, 132, 0.16);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.quick-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 122, 132, 0.22);
}
.mobile-quick-links { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn-brand {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: #fff;
  border: none;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(31, 122, 132, 0.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(31, 122, 132, 0.24);
}
.btn-outline-brand {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.08);
  padding: 1rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn-outline-brand:hover {
  background: #fff;
  color: var(--primary-navy);
  transform: translateY(-1px);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #d9e6ea, #f6fafb);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 48, 74, 0.05), rgba(18, 48, 74, 0.16));
  pointer-events: none;
}

.media-frame.no-overlay::after {
  display: none;
}

.media-frame.mega { min-height: 470px; }
.media-frame.large { min-height: 340px; }
.media-frame.medium { min-height: 240px; }
.media-frame.tall { min-height: 280px; }
.media-frame.portrait {
  min-height: 280px;
  aspect-ratio: 4 / 5;
}

.media-contain {
  background: linear-gradient(180deg, #f8fbfc, #eef5f6);
}

.media-contain img {
  object-fit: contain;
  padding: .6rem;
}

.visual-gallery .media-frame {
  min-height: 220px;
  height: 100%;
}

.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(18, 48, 74, 0.16);
  background:
    linear-gradient(135deg, rgba(18, 48, 74, 0.88), rgba(31, 122, 132, 0.68)),
    linear-gradient(135deg, #dde9ec, #f8fbfc);
  color: #fff;
  border-radius: 1.5rem;
  padding: 1.7rem;
  min-height: 220px;
  font-weight: 700;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(209,176,107,0.16), transparent 24%);
}
.image-placeholder > * { position: relative; z-index: 1; }
.image-placeholder.mega { min-height: 520px; }
.image-placeholder.large { min-height: 380px; }
.image-placeholder.medium { min-height: 260px; }
.image-placeholder.tall { min-height: 300px; }
.image-placeholder.portrait { min-height: 300px; }
.image-card { background: var(--surface); border-radius: 1.25rem; box-shadow: var(--shadow-sm); }

.feature-card, .info-card, .business-card, .program-card, .pillar-card, .event-card, .news-card, .team-card, .contact-panel, .highlight-panel, .step-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,252,0.98));
  border: 1px solid rgba(18, 48, 74, 0.08);
  border-radius: 1.3rem;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  color: var(--text);
  overflow: hidden;
}
.feature-card::before, .info-card::before, .business-card::before, .program-card::before, .pillar-card::before, .event-card::before, .news-card::before, .team-card::before, .contact-panel::before, .highlight-panel::before, .step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
}
.feature-card h3, .info-card h3, .business-card h3, .program-card h3, .pillar-card h3, .event-card h3, .news-card h3, .team-card h3, .step-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  position: relative;
  color: var(--primary-navy);
}
.feature-card p, .info-card p, .business-card p, .program-card p, .pillar-card p, .event-card p, .news-card p, .team-card p, .step-card p, .contact-panel p, .highlight-panel p {
  color: var(--muted);
  position: relative;
}
.feature-card:hover, .info-card:hover, .business-card:hover, .program-card:hover, .pillar-card:hover, .event-card:hover, .news-card:hover, .team-card:hover, .step-card:hover, .partner-logo:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 48, 74, 0.94), rgba(22, 91, 99, 0.88) 56%, rgba(209, 176, 107, 0.82) 120%),
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 30%);
  color: #fff;
}
.hero-section::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 22%);
}
.hero-section h1,
.hero-section .lead,
.hero-section .stat-card span,
.hero-section p,
.hero-section li,
.hero-section .section-heading p,
.page-hero h1,
.page-hero p { color: #fff; }
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 48, 74, 0.96), rgba(31, 122, 132, 0.88));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1.05rem;
  padding: 1rem;
  backdrop-filter: blur(8px);
}
.stat-card strong {
  display: block;
  font-size: 1.75rem;
  color: #fff;
}
.service-list, .service-stack { display: grid; gap: .85rem; }
.service-item, .service-stack > div {
  padding: 1.05rem 1.18rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #fff, #f8fbfc);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary-teal);
}
.service-item h3,
.service-stack > div h3,
.service-item strong,
.service-stack > div strong {
  color: var(--primary-navy);
}
.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
  padding: 1.95rem;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
  border-radius: 1.7rem;
  color: #fff;
  box-shadow: var(--shadow-strong);
}
.cta-panel h2,
.cta-panel p { color: #fff; }
.timeline-simple {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.timeline-simple > div {
  background: linear-gradient(180deg, #fff, #f8fbfc);
  padding: 1.3rem;
  border-radius: 1.05rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent-gold);
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.check-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: 800;
}
.step-card span, .event-date, .news-tag, .program-card span:first-child {
  display: inline-flex;
  padding: .42rem .78rem;
  border-radius: 999px;
  background: rgba(31, 122, 132, 0.1);
  color: var(--primary-teal-dark);
  font-weight: 800;
  margin-bottom: .8rem;
  border: 1px solid rgba(31, 122, 132, 0.12);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.partner-logo {
  min-height: 130px;
  border-radius: 1rem;
  border: 1px dashed rgba(18, 48, 74, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, #f8fbfc);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-text {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 1.25rem;
  min-height: 168px;
}
.partner-text h3 {
  margin-bottom: .75rem;
  color: var(--primary-navy);
  font-size: 1.04rem;
}
.partner-text p {
  margin: 0;
  color: var(--muted);
}
.partner-photo {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  border-color: rgba(18, 48, 74, 0.08);
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card { padding: 0; overflow: hidden; }
.news-body { padding: 1.15rem; }
.news-thumb {
  min-height: 200px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(18, 48, 74, 0.08);
}
.news-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.hero-visual img,
.media-frame.tall img,
.media-frame.portrait img,
.partner-photo img,
.news-thumb img {
  object-position: center top;
}
.team-card .media-frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.team-card { overflow: hidden; padding: 0; }
.team-body { padding: 1.15rem; position: relative; }
.role { color: var(--primary-teal); font-weight: 700; }
.contact-form {
  background: linear-gradient(180deg, #fff, #f8fbfc);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}
.form-control {
  border-radius: .95rem;
  padding: .9rem 1rem;
  border-color: rgba(18, 48, 74, 0.12);
  background: #fff;
}
.form-control:focus {
  border-color: rgba(31, 122, 132, 0.5);
  box-shadow: 0 0 0 .2rem rgba(31, 122, 132, 0.12);
}
.form-feedback { min-height: 1.5rem; color: var(--primary-teal-dark); font-weight: 600; }
.form-note { color: var(--muted); font-size: .95rem; }
.site-footer {
  background: linear-gradient(135deg, #10293f, #133d4f 60%, #1f7a84 120%);
  color: rgba(255,255,255,.88);
  padding: 3.5rem 0 1.4rem;
}
.site-footer h3, .site-footer h4 { color: #fff; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.84); }
.footer-links a:hover { color: #fff; }
.footer-contact a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
}
.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .94rem;
}
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
  color: #fff;
  display: none;
  box-shadow: var(--shadow);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-on-scroll.revealed { opacity: 1; transform: none; }

@media (min-width: 992px) {
  .navbar .container {
    gap: .55rem;
    flex-wrap: nowrap;
  }
  .navbar-collapse {
    min-width: 0;
  }
  .navbar-nav {
    flex-wrap: nowrap;
    background: rgba(238, 245, 246, 0.9);
    border: 1px solid rgba(18, 48, 74, 0.07);
    border-radius: 999px;
    padding: .24rem;
  }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar > .container {
    gap: .45rem;
  }

  .navbar-brand {
    flex-basis: 13.4rem;
    width: 13.4rem;
    max-width: 13.4rem;
  }

  .brand-logo {
    width: 4.25rem;
    height: 2.18rem;
  }

  .navbar-brand strong {
    font-size: .88rem;
  }

  .navbar-brand small {
    display: none !important;
  }

  .nav-link {
    padding: .5rem .52rem !important;
    font-size: .76rem;
  }

  .quick-link {
    padding: .48rem .58rem;
    font-size: .73rem;
  }

  .nav-extra-links {
    margin-left: .2rem;
    padding-left: .3rem;
  }
}

@media (max-width: 991.98px) {
  .stats-grid, .timeline-simple, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .navbar-collapse {
    margin-top: .8rem;
    padding: .9rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-sm);
  }
  .nav-link {
    color: var(--primary-navy) !important;
  }
  .nav-extra-links {
    margin-left: 0;
    margin-top: .6rem;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 3rem 0; }
  .stats-grid, .timeline-simple, .partner-grid { grid-template-columns: 1fr; }
  .hero-section h1, .page-hero h1 { font-size: 1.82rem; }
  .image-placeholder.mega { min-height: 320px; }
  .media-frame.mega { min-height: 320px; }
  .media-frame.large { min-height: 280px; }
  .navbar { min-height: 4.15rem; }
  .navbar > .container { min-height: 3.35rem; }
  .navbar-brand {
    flex: 0 1 auto;
    width: auto;
    max-width: 13.2rem;
  }
  .brand-logo { width: 4.35rem; height: 2.2rem; }
  .navbar-brand strong { font-size: .88rem; }
  .navbar-brand small { font-size: .7rem; }
  .quick-link { margin-left: 0; }
  .footer-bottom { flex-direction: column; }
}
