/* ==========================================================================
   GUIDAN NONPROFIT THEME - UNIFIED MASTER STYLESHEET
   Organization: CEN D AUVERGNE CONSERVATOIRE D ESPACES NATURELS D AUVERGNE
   Regulatory: Loi 1901 | RNA: W634000109 | SIREN: 344896998 | NAF: 91.04Z
   Compliance: Google Ad Grants Non-Profit Standard & French Public Law
   ========================================================================== */

/* --- CSS Variables & Guidan Color Palette --- */
:root {
  --primary-gold: #F3BA2F;
  --primary-gold-hover: #DFAB25;
  --accent-orange: #ED5236;
  --accent-orange-hover: #D74328;
  --deep-navy: #1F2531;
  --deep-navy-light: #2B3342;
  --deep-navy-dark: #151A24;
  --soft-white: #F8F9FA;
  --pure-white: #FFFFFF;
  --border-color: #E2E8F0;
  --border-dark: #CBD5E1;
  --text-primary: #1F2531;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --success-green: #28A745;
  --info-blue: #0284C7;
  
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Segoe UI", system-ui, -apple-system, sans-serif;
  
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(31, 37, 49, 0.06);
  --shadow-md: 0 4px 14px rgba(31, 37, 49, 0.08);
  --shadow-lg: 0 10px 25px rgba(31, 37, 49, 0.12);
  --transition: all 0.25s ease-in-out;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-base);
  color: var(--text-primary);
  background-color: var(--pure-white);
  line-height: 1.68;
  overflow-x: hidden;
}

/* --- Typography & Headings Hierarchy --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-gold);
  border-radius: 2px;
}

h2.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.12rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--deep-navy);
  font-weight: 500;
}

strong {
  color: var(--deep-navy);
  font-weight: 600;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange-hover);
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.4rem;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-alt {
  background-color: var(--soft-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2.8rem;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background-color: rgba(243, 186, 47, 0.18);
  color: var(--deep-navy);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(243, 186, 47, 0.4);
}

.section-tag.orange {
  background-color: rgba(237, 82, 54, 0.12);
  color: var(--accent-orange);
  border-color: rgba(237, 82, 54, 0.3);
}

/* --- Top Utility Bar --- */
.top-utility-bar {
  background-color: var(--deep-navy);
  color: #E2E8F0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0;
}

.utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.utility-badge {
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  padding: 0.15rem 0.5rem;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 4px;
}

.utility-divider {
  color: rgba(255, 255, 255, 0.25);
}

.utility-item strong {
  color: #FFFFFF;
}

.utility-link {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 500;
}

.utility-link:hover {
  color: var(--primary-gold);
  text-decoration: underline;
}

/* --- Sticky Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--pure-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

/* --- Logo Styling --- */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-height: 48px;
}

.logo-mark {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--deep-navy-light) 100%);
  color: var(--primary-gold);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-gold);
  line-height: 1;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--deep-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.2;
}

.logo-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Navigation Links & Dropdowns --- */
.primary-navigation {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.85rem;
  color: var(--deep-navy);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
  background-color: var(--soft-white);
  text-decoration: none;
}

.caret {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Dropdown Menu Desktop */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 1050;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.15rem;
  color: var(--deep-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  min-height: 44px;
}

.dropdown-menu li:last-child .dropdown-link {
  border-bottom: none;
}

.dropdown-link strong {
  display: block;
  font-size: 0.92rem;
  color: var(--deep-navy);
}

.dropdown-link small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.dropdown-link:hover, .dropdown-link.active {
  background-color: var(--soft-white);
  padding-left: 1.35rem;
  text-decoration: none;
}

.dropdown-link:hover strong {
  color: var(--accent-orange);
}

/* Hover on desktop */
@media (min-width: 993px) {
  .has-dropdown:hover .dropdown-menu {
    display: block;
  }
  .has-dropdown:hover .caret {
    transform: rotate(180deg);
  }
}

/* CTA Navigation Button */
.cta-item {
  margin-left: 0.5rem;
}

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-gold);
  color: var(--deep-navy) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.25rem !important;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-gold);
  min-height: 44px;
  min-width: 44px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none !important;
}

.btn-primary-nav:hover {
  background-color: var(--primary-gold-hover);
  border-color: var(--primary-gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Toggle Hamburger Button (Minimum 44x44px target) */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--deep-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
  min-width: 44px;
  line-height: 1.3;
}

.btn-gold {
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  border-color: var(--primary-gold);
}

.btn-gold:hover {
  background-color: var(--primary-gold-hover);
  border-color: var(--primary-gold-hover);
  color: var(--deep-navy);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: var(--pure-white);
  border-color: var(--accent-orange);
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  color: var(--pure-white);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  border-color: var(--deep-navy);
}

.btn-navy:hover {
  background-color: var(--deep-navy-light);
  border-color: var(--deep-navy-light);
  color: var(--pure-white);
  text-decoration: none;
}

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

.btn-outline-gold:hover {
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  text-decoration: none;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--pure-white);
  border-color: var(--pure-white);
}

.btn-outline-white:hover {
  background-color: var(--pure-white);
  color: var(--deep-navy);
  text-decoration: none;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Hero Banner Component --- */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--pure-white);
  padding: 5.5rem 0;
  border-bottom: 4px solid var(--primary-gold);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 37, 49, 0.92) 0%, rgba(31, 37, 49, 0.82) 60%, rgba(237, 82, 54, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.75rem;
  color: var(--pure-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.22rem;
  line-height: 1.65;
  color: #E2E8F0;
  margin-bottom: 2rem;
}

/* --- Mandatory 2-Sentence Summary Box --- */
.summary-lead-box {
  background: #FFFFFF;
  border-left: 5px solid var(--primary-gold);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.summary-lead-box p {
  font-size: 1.12rem;
  color: var(--deep-navy);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* --- Mandatory 120+ Word 'Notre Mission' Block --- */
.mission-callout-card {
  background: linear-gradient(135deg, #FFFDF5 0%, #FFF9EB 100%);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 2.5rem 0;
  position: relative;
}

.mission-callout-card::before {
  content: "Notre Mission Statutaire";
  position: absolute;
  top: -14px;
  left: 30px;
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 4px;
}

.mission-statement-text {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--deep-navy);
  font-style: normal;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.mission-meta-footer {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(243, 186, 47, 0.35);
  padding-top: 0.8rem;
}

/* --- Grid Systems --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* --- Feature Cards & Guidan Progress Bars --- */
.feature-card {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.badge-active {
  background-color: rgba(40, 167, 69, 0.14);
  color: var(--success-green);
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-orange {
  background-color: rgba(237, 82, 54, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(237, 82, 54, 0.3);
}

.card-title {
  font-size: 1.25rem;
  color: var(--deep-navy);
  margin-bottom: 0.65rem;
}

.card-body-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

/* Guidan Progress Bar System */
.progress-container {
  margin: 1.2rem 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background-color: #E2E8F0;
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--accent-orange) 100%);
  border-radius: 50px;
  transition: width 0.8s ease-in-out;
}

.progress-bar-fill.gold {
  background: var(--primary-gold);
}

.progress-bar-fill.green {
  background: var(--success-green);
}

/* --- Impact Counter Grid --- */
.counter-box {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-gold);
}

.counter-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--deep-navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.counter-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.counter-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* --- Real Documentary Photography & HTML5 Captions --- */
.content-figure {
  margin: 20px 0 8px 0;
  width: 100%;
}

.doc-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 20px 0 8px 0;
  object-fit: cover;
  display: block;
  max-height: 440px;
}

.content-figure figcaption {
  font-size: 0.875rem;
  color: #64748B;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
  padding-left: 0.5rem;
  border-left: 3px solid var(--primary-gold);
}

/* --- Content Modules, Cards & Lists --- */
.info-card {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background-color: rgba(31, 37, 49, 0.08);
  color: var(--deep-navy);
}

.agenda-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  align-items: flex-start;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-date {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  text-align: center;
  min-width: 80px;
}

.agenda-day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-gold);
}

.agenda-month {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.agenda-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.agenda-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Tables & Financial Data --- */
.data-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.data-table th {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  padding: 0.95rem 1.2rem;
  font-weight: 600;
}

.data-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.data-table tr:nth-child(even) {
  background-color: var(--soft-white);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td strong {
  color: var(--deep-navy);
}

/* --- Forms & Inputs --- */
.form-container {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-navy);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--accent-orange);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--pure-white);
  color: var(--deep-navy);
  transition: var(--transition);
  min-height: 44px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.25);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

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

/* Checkbox & Radio */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
  min-width: 20px;
  min-height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

/* --- Global Footer Styles --- */
.site-footer {
  background-color: var(--deep-navy);
  color: #E2E8F0;
  font-size: 0.9rem;
  padding-top: 3.5rem;
  position: relative;
}

.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--accent-orange) 50%, var(--primary-gold) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-badge {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.footer-title {
  color: var(--pure-white);
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.footer-subtitle {
  color: var(--primary-gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.footer-desc {
  color: #CBD5E1;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-compliance-pill {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #E2E8F0;
}

.footer-heading {
  color: var(--pure-white);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.45rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: var(--primary-gold);
  border-radius: 2px;
}

.footer-nav-list, .footer-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list li, .footer-meta-list li {
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
}

.footer-nav-list a {
  color: #CBD5E1;
  text-decoration: none;
}

.footer-nav-list a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
  text-decoration: underline;
}

.footer-meta-list li strong {
  color: #FFFFFF;
}

.footer-special-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link-highlight {
  color: var(--primary-gold);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
}

.footer-link-highlight:hover {
  color: #FFFFFF;
}

.footer-address {
  font-style: normal;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-contact-line {
  color: #CBD5E1;
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
}

.footer-contact-line a {
  color: var(--primary-gold);
  text-decoration: none;
}

.footer-hours {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 0.75rem;
}

/* Mandatory Statement Containers */
.footer-mandatory-statements {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mandatory-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.4rem;
}

.mandatory-box.non-profit-statement {
  border-left: 4px solid var(--primary-gold);
}

.mandatory-box.funding-statement {
  border-left: 4px solid var(--accent-orange);
}

.mandatory-box p {
  color: #E2E8F0;
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  background-color: var(--deep-navy-dark);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-line {
  color: #94A3B8;
  font-size: 0.82rem;
  margin: 0;
}

.bottom-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bottom-badges .badge-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --- Modal Popup (#thankYouModal) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-box {
  background-color: var(--pure-white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--primary-gold);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  background-color: var(--deep-navy);
  color: var(--pure-white);
  padding: 1.5rem;
  text-align: center;
}

.modal-icon-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  color: var(--deep-navy);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem auto;
}

.modal-title {
  color: var(--pure-white);
  font-size: 1.35rem;
  margin: 0;
}

.modal-body {
  padding: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-highlight {
  font-weight: 600;
  color: var(--deep-navy);
  font-size: 1.05rem;
}

.modal-meta-box {
  background-color: var(--soft-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
}

.modal-meta-box p {
  margin-bottom: 0.25rem;
}

.modal-footer {
  padding: 1rem 1.8rem 1.6rem 1.8rem;
  text-align: center;
}

/* ==========================================================================
   STRICT MOBILE BREAKPOINTS & RESPONSIVE RULES
   ========================================================================== */

/* Tablet & Mobile Nav Breakpoint (max-width: 992px) */
@media (max-width: 992px) {
  .utility-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: flex;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--pure-white);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 1.2rem 1.5rem 1.8rem 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
  }

  .primary-navigation.nav-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 1px solid var(--border-color);
    background-color: var(--soft-white);
    margin: 0.4rem 0 0.8rem 0.5rem;
    border-radius: var(--radius-sm);
  }

  .has-dropdown.dropdown-open > .dropdown-menu {
    display: block;
  }

  .has-dropdown.dropdown-open .caret {
    transform: rotate(180deg);
  }

  .cta-item {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .btn-primary-nav {
    width: 100%;
    text-align: center;
    padding: 0.85rem !important;
  }

  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Small Devices (max-width: 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-banner {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .summary-lead-box {
    margin-top: 0;
    margin-bottom: 2rem;
    padding: 1.2rem 1.3rem;
  }

  .mission-callout-card {
    padding: 1.5rem;
  }

  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}
