:root {
  --green: #2e7d32;
  --green-dark: #1b4d22;
  --blue: #0b2e6b;
  --text: #1f2937;
  --muted: #5f6f7d;
  --light: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.layout-shell {
  display: flex;
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 280px;
  min-height: 100vh;
  background: linear-gradient(180deg, #0b2345 0%, #12325f 100%);
  padding: 28px 20px 20px;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.brand-name {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
}

.sidebar-brand small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-item:hover,
.nav-item:focus,
.nav-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(2px);
}

.main-panel {
  flex: 1;
  min-width: 0;
  background: var(--light);
}

.page-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2px 20px 0;
  text-align: center;
}

.page-header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.page-kicker {
  margin: 0;
  color: #b22222;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  padding-top: 0;
}

.page-header h1,
.hero h2,
.about-hero-copy h2,
.section-heading h3,
.cta-box h3,
.profile-summary h2 {
  color: var(--blue);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.page-header h1 {
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.page-header-logo {
  display: block;
  width: min(250px, 44vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto 0;
  filter: drop-shadow(0 8px 20px rgba(11, 46, 107, 0.12));
}

.content {
  padding: 0 20px 0;
}

@media (max-width: 768px) {
  .sidebar-brand {
    padding-bottom: 12px;
  }

  .sidebar-logo {
    max-width: 170px;
  }

  .page-header {
    padding: 72px 14px 0;
  }

  .page-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .page-header-logo {
    width: min(200px, 60vw);
    margin-top: 0;
  }

  .content {
    padding: 0 14px 14px;
  }

  .hero {
    min-height: auto;
    padding: 20px 16px 22px;
    border-radius: 16px;
    margin-top: 0;
  }

  .hero h2 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 180px;
  }
}

.section-block {
  margin-bottom: 30px;
}

.card {
  background: var(--white);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #b22222;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-green {
  color: #b22222;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: center;
  min-height: 280px;
  padding: 6px 20px 10px;
  background: linear-gradient(135deg, rgba(11, 46, 107, 0.86), rgba(46, 125, 50, 0.8)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab') center/cover no-repeat;
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
  margin-top: 0;
}

.hero h2 {
  color: var(--white);
  font-size: clamp(2.7rem, 4vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}

.hero-content {
  max-width: 760px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  margin-bottom: 24px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  color: rgba(255, 255, 255, 0.92);
}

.trust-points li::before {
  content: "•";
  margin-right: 8px;
  color: #d8f3d7;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 320px;
  padding-right: 8px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 10%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.info-card {
  position: relative;
  z-index: 1;
  width: min(290px, 80%);
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.card-primary {
  align-self: flex-end;
}

.card-secondary {
  align-self: flex-start;
}

.info-card strong {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 6px;
}

.info-card span {
  color: rgba(255, 255, 255, 0.9);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.stat-item {
  background: var(--white);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.stat-item span {
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-heading.center {
  text-align: center;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: center;
}

.about-hero-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.intro-card p,
.info-card-panel h3,
.service-panel h3,
.contact-card p,
.profile-summary p,
.form-card label,
.feature-item p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #b22222;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.info-card-panel h3 {
  color: var(--blue);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.35;
}

.services-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.feature-item {
  background: var(--white);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.12);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card h4,
.feature-item h4,
.contact-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

.cta-section {
  margin-top: 30px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 26px;
  background: linear-gradient(135deg, var(--blue), var(--green-dark));
  border-radius: 24px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-box h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 2vw, 2.5rem);
}

.services-accordion {
  display: grid;
  gap: 18px;
}

.service-accordion {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-left: 5px solid var(--green);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-accordion.is-open {
  box-shadow: 0 18px 32px rgba(11, 46, 107, 0.06);
}

.service-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 24px;
  min-height: 76px;
  color: var(--text);
}

.service-accordion.is-open .service-trigger {
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.04), rgba(255, 255, 255, 1));
}

.service-title {
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.08);
  color: var(--green-dark);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.service-accordion.is-open .service-chevron {
  transform: rotate(45deg);
}

.service-body {
  display: none;
  padding: 0 24px 24px;
  color: var(--text);
}

.service-accordion.is-open .service-body {
  display: block;
}

.service-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.service-body ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}

.service-body li::marker {
  color: var(--green);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: #b22222;
}

.contact-card a {
  color: #b22222;
  font-weight: 600;
}

.form-card {
  display: grid;
  gap: 18px;
  max-width: 800px;
}

.form-card label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--text);
}

.form-card textarea {
  min-height: 160px;
  resize: vertical;
}

.director-profile {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 28px;
  align-items: start;
}

.profile-image-wrap {
  padding: 18px;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.profile-summary {
  display: grid;
  gap: 18px;
}

.profile-summary h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.site-footer {
  padding: 24px 18px 32px;
  background: #101827;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.menu-toggle {
  display: none;
}

.mobile-nav-wrap {
  display: none;
}

@media (max-width: 1100px) {
  .sidebar {
    width: 220px;
  }

  .page-header,
  .content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .stats-bar,
  .services-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero,
  .director-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .layout-shell {
    display: block;
  }

  .page-header {
    padding-top: 80px;
  }

  .content {
    padding-top: 20px;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-panel {
    min-height: 66px;
    padding: 16px 18px;
  }

  .service-title {
    font-size: 0.98rem;
  }

  .service-detail {
    position: static;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 20px 30px;
    min-height: auto;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .stats-bar,
  .services-grid,
  .feature-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 50;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 12px 24px rgba(11, 46, 107, 0.22);
    cursor: pointer;
  }

  .mobile-nav-wrap {
    display: none;
    position: fixed;
    top: 68px;
    right: 14px;
    width: min(280px, calc(100vw - 28px));
    z-index: 40;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
    padding: 10px;
  }

  body.menu-open .mobile-nav-wrap {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-nav .nav-item {
    color: var(--blue);
    background: rgba(11, 46, 107, 0.04);
    border-radius: 10px;
    padding: 12px 14px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .page-header,
  .content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card,
  .service-card,
  .feature-item,
  .cta-box,
  .contact-card,
  .info-card-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header-logo {
    width: min(180px, 58vw);
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .section-heading h3 {
    font-size: 1.8rem;
  }
}

