:root {
  --bg: #f5f4ec;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #13285f;
  --text-soft: #3c4d74;
  --line: rgba(19, 40, 95, 0.12);
  --navy: #142b6e;
  --green: #329b48;
  --gold: #d9a33d;
  --shadow: 0 18px 50px rgba(20, 43, 110, 0.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: Aptos, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(50, 155, 72, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 163, 61, 0.18), transparent 30%),
    linear-gradient(180deg, #fcfbf6 0%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.site-header,
.site-footer,
.feature-card,
.hero-card,
.content-panel,
.service-panel,
.project-card,
.resource-card,
.contact-card { backdrop-filter: blur(14px); }

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--navy);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

main { padding-top: 1.5rem; }
.hero, .page-hero { display: grid; gap: 2rem; }
.hero {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 76vh;
}
.page-main { padding-top: 2rem; }
.page-hero { padding: 2rem 0 1rem; }
.page-hero.narrow {
  width: min(980px, 100%);
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: Cambria, Georgia, serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  max-width: 11ch;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 7vw, 4.4rem);
}

.hero-logo {
  width: min(100%, 460px);
  margin: 0 0 1rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p, li { color: var(--text-soft); line-height: 1.7; }
.lead { max-width: 62ch; font-size: 1.08rem; }
.page-hero .lead { margin-left: auto; margin-right: auto; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #2447a0);
}

.button-secondary {
  border: 1px solid rgba(20, 43, 110, 0.18);
  background: rgba(255, 255, 255, 0.75);
}

.hero-card,
.feature-card,
.content-panel,
.service-panel,
.project-card,
.resource-card,
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.6rem;
  background:
    linear-gradient(160deg, rgba(20, 43, 110, 0.98), rgba(27, 61, 121, 0.92)),
    url("Logo1.jpeg") center/cover;
  color: #fff;
}

.hero-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-card-top span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.hero-card h2,
.hero-card p,
.hero-card span { color: #fff; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.stat-grid li {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-grid strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #ffd27b;
  font-size: 1.3rem;
}

.section { padding: 3rem 0; }
.section-accent { position: relative; }
.section-accent::before {
  content: "";
  position: absolute;
  inset: 1rem 0;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(50, 155, 72, 0.1), rgba(217, 163, 61, 0.12));
}

.section-heading { margin-bottom: 1.6rem; }
.card-grid { display: grid; gap: 1.3rem; }
.three-column { grid-template-columns: repeat(3, 1fr); }
.two-column { grid-template-columns: repeat(2, 1fr); }

.feature-card,
.content-panel,
.service-panel,
.project-card,
.contact-card { padding: 1.45rem; }

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.split-layout.balanced { grid-template-columns: repeat(2, 1fr); }
.value-list { display: grid; gap: 1rem; }

.value-list article {
  padding: 1.2rem 0 1.2rem 1.2rem;
  border-left: 3px solid rgba(50, 155, 72, 0.35);
}

.timeline { display: grid; gap: 1rem; }

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 43, 110, 0.95), rgba(50, 155, 72, 0.9));
  color: #fff;
  font-family: Cambria, Georgia, serif;
  font-size: 1.4rem;
}

.two-column-text {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.service-stack, .resource-list { display: grid; gap: 1.2rem; }
.service-panel ul, .project-card ul, .contact-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.project-card span,
.resource-type {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(50, 155, 72, 0.12);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: rgba(20, 43, 110, 0.95);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer p,
.site-footer a,
.site-footer strong { color: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .three-column,
  .two-column,
  .split-layout,
  .split-layout.balanced,
  .two-column-text { grid-template-columns: 1fr; }

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav { display: flex; }
  h1, .page-hero h1 { max-width: none; }
  .resource-card, .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .site-shell { width: min(100% - 1rem, 1180px); }

  .site-header,
  .hero-card,
  .feature-card,
  .content-panel,
  .service-panel,
  .project-card,
  .resource-card,
  .contact-card,
  .site-footer,
  .timeline-item { border-radius: 22px; }

  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item span { width: 64px; height: 64px; }
}
