:root {
  --color-navy: #233552;      /* Hale navy-ish */
  --color-navy-dark: #172338;
  --color-beige: #e9dfcf;
  --color-white: #ffffff;
  --color-light: #f5f5f7;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.18);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: var(--color-light);
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--color-beige);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--color-navy-dark);
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

/* Header / Nav */

.site-header {
  background: linear-gradient(90deg, var(--color-navy-dark), var(--color-navy));
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;              /* KEEP HEADER BAR SHORT */
  overflow: visible;         /* LET LOGO EXTEND OUTSIDE */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;                /* REMOVE EXTRA HEIGHT */
}

/* LARGE LOGO WITHOUT AFFECTING HEADER HEIGHT */
.logo img {
  height: 300px;             /* VERY LARGE LOGO */
  width: auto;
  display: block;
  position: relative;
  top: 40px;                 /* PUSH IT DOWN BELOW THE HEADER BAR */
}

@media (min-width: 960px) {
  .logo img {
    height: 360px;
    top: 45px;
  }
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.main-nav a.active {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 0.25rem;
}

/* Hero */

.hero {
  background: radial-gradient(circle at 10% 0%, #ffffff 0, var(--color-beige) 35%, var(--color-navy) 120%);
  color: var(--color-navy-dark);
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  max-width: 650px;
}

.hero-text p {
  max-width: 650px;
}

.hero-list {
  list-style: disc;
  margin-left: 1.5rem;
}

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

/* Buttons */

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

.btn-primary {
  background: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.btn-outline:hover {
  background: var(--color-navy-dark);
  color: var(--color-white);
}

/* Cards */

.cards-3,
.cards-2 {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Page hero – updated for beige title */
.page-hero {
  padding: 1.75rem 0 1.5rem;
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  color: var(--color-beige);       /* TITLE TEXT NOW BEIGE */
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.page-hero h1,
.page-hero p {
  color: var(--color-beige);       /* ENSURES BOTH TITLE + SUBTEXT ARE BEIGE */
}

/* Services */

.service-block {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(35, 53, 82, 0.12);
}

.service-block:last-of-type {
  border-bottom: none;
}

.callout {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-navy-dark);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.about-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0%, #ffffff 0, var(--color-beige) 45%, var(--color-navy) 130%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

/* Bigger about-page logo */
.about-logo-panel img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.highlight {
  font-weight: 600;
}

@media (max-width: 840px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* Contact */

.contact-hero {
  padding: 3rem 0 3.5rem;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Bigger logo on contact card */
.contact-logo-wrap img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.contact-card h1 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.contact-card ul {
  margin-bottom: 1rem;
}

.contact-form {
  margin-top: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.form-row label {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--color-navy-dark);
}

.form-row input,
.form-row textarea,
.form-row select {
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: #fbfbfc;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 1px rgba(35, 53, 82, 0.18);
  background: #ffffff;
}

.form-actions {
  margin-top: 0.75rem;
}

.contact-aside {
  background: var(--color-beige);
  border-radius: var(--radius-xl);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-aside h2 {
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Thanks */

.thanks-section {
  padding: 4rem 0 4.5rem;
}

.thanks-inner {
  display: flex;
  justify-content: center;
}

.thanks-card {
  max-width: 540px;
  text-align: center;
  background: var(--color-white);
  padding: 2.4rem 2.1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* Bigger logo on thanks card */
.thanks-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

/* Small screens */

@media (max-width: 720px) {
  .main-nav {
    font-size: 0.8rem;
  }
  .main-nav a {
    margin-left: 0.75rem;
  }
  .hero {
    padding-top: 3rem;
  }
}

/* --- PAGE HERO BANDS --- */
.page-hero {
  background-color: #434B59; /* Hale Navy */
  color: #E8DFD3;            /* Beige */
  padding: 3rem 1.5rem;
  border-bottom: 1px solid #D5D3CF;
}

.page-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.08em;
  font-size: 1.8rem;
}

.page-hero-subtitle {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* --- GENERIC PAGE LAYOUT HELPERS --- */
.page-section {
  padding: 2.5rem 1.5rem;
  background-color: #FFFFFF;
  color: #1A1C20;
}

.page-section.alt-section {
  background-color: #F3EEE6; /* Soft Beige Tint */
}

.content-narrow {
  max-width: 960px;
  margin: 0 auto;
}

.section-heading {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #434B59;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* --- ABOUT PAGE SPECIFICS --- */
.about-mission .mission-text {
  font-weight: 500;
  font-size: 1rem;
}

.about-philosophy p:last-of-type {
  font-weight: 500;
}

/* Purpose card */
.about-purpose .purpose-card {
  border: 1px solid #D5D3CF;
  background: #F3EEE6;
  color: #1A1C20;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  max-width: 720px;
  margin: 2rem auto 0 auto;
}

.about-purpose h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: #434B59;
}

/* --- CHECKLIST STYLE --- */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

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

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #434B59;
}

/* NAV ACTIVE STATE (if not already defined) */
.site-nav a.nav-active {
  color: #E8DFD3;
  background-color: #434B59;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
}

