/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --chs-blue: #2456ff;
  --chs-blue-dark: #1736a8;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg-main: #ffffff;
  --bg-muted: #f3f4f6;
  --border-subtle: #e5e7eb;
  --radius-lg: 1rem;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--chs-blue);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  /* taller header */
}

/* LOGO – BIG, CLEAN, NO BACKGROUND */
.logo {
  display: flex;
  align-items: center;
  padding: 0;
  /* remove pill padding */
  background: none;
  /* remove background */
}

.logo img {
  height: 68px;
  /* 🔥 BIG jump for readability */
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

/* Navigation */
.main-nav {
  position: relative;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.active {
  color: #ffffff;
  border-color: #ffffff;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.25rem;
  margin-right: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

/* Hero section */
.hero {
  padding: 3rem 0 1.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  margin: 1.5rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-pillars span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--chs-blue-dark);
  background: var(--bg-muted);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-subtle);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-top: 0;
}

.hero-card p {
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--chs-blue);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section.muted {
  background: var(--bg-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.narrow {
  max-width: 760px;
}

/* Cards & stats */
.card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.card h3 {
  margin-top: 0;
}

.text-link {
  font-weight: 500;
  text-decoration: none;
  color: var(--chs-blue-dark);
}

.text-link:hover {
  text-decoration: underline;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.stat-number {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--chs-blue-dark);
}

.stat-label {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page headers */
.page-header {
  padding: 2.5rem 0 1.5rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Lists & content */
.bullet-list {
  padding-left: 1.1rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.pillars h3 {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;
}

.btn.primary {
  background: var(--chs-blue);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  background: var(--chs-blue-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #ffffff;
  color: var(--chs-blue-dark);
  border-color: var(--border-subtle);
}

.btn.secondary:hover {
  border-color: var(--chs-blue);
}

.btn.inline {
  margin-top: 0.6rem;
}

.btn.full-width {
  width: 100%;
}

/* Highlight boxes */
.highlight-box {
  border-radius: 0.9rem;
  border: 1px solid var(--chs-blue);
  background: #eff3ff;
  padding: 1.2rem 1.25rem;
  margin-top: 1.5rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.team-card {
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.05rem;
  text-align: left;
  background: #ffffff;
}

.team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--chs-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.team-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.center {
  text-align: center;
}

.muted-text {
  color: var(--text-muted);
}

/* Contact */
.contact-block {
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  background: #ffffff;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--chs-blue);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--chs-blue);
  color: #e5e7eb;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.3rem;
  object-fit: contain;
}

.footer-title {
  margin: 0;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-links li {
  margin-bottom: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(209, 213, 219, 0.35);
  text-align: center;
  padding: 0.75rem 0 0.9rem;
  font-size: 0.8rem;
}

/* Utilities */
.muted-text {
  color: var(--text-muted);
}
/* ===============================
   CHS SUCCESS MODAL
================================ */

.chs-modal {
  position: fixed;
  inset: 0;
  display: none;            /* JS overrides this to 'flex' on success */
  z-index: 9999;
}

.chs-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.chs-modal-box {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  margin: 0 1rem;
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  text-align: center;
  z-index: 1;
}

.chs-modal-header img {
  height: 48px;
  width: auto;
  margin-bottom: 0.5rem;
}

.chs-modal-header h3 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  color: #111827;
}

.chs-modal-body {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.chs-modal-footer {
  text-align: center;
}
/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav ul {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.35rem;
    background: var(--chs-blue);
    border-radius: 0 0 0.9rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0.9rem 0.85rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    min-width: 200px;
    display: none;
  }

  .main-nav ul.open {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
