/* ============================================================
  CSS RESET & NORMALIZE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #F7F7F2;
  color: #222;
  font-family: 'Roboto', serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #205079;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #71B340;
  outline: none;
}
ul, ol {
  margin: 0 0 24px 0;
  padding-left: 22px;
}
dt, dd {
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #1c2737;
  margin: 0 0 20px 0;
  font-weight: 600;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
.subheadline {
  font-family: 'Montserrat', serif;
  color: #205079;
  font-size: 1.25rem;
  margin-bottom: 28px;
  font-weight: 500;
}
strong {
  font-weight: 600;
  color: #205079;
}

/* ============================================================
  BASIC STRUCTURE & LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 1110px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(60,70,90,0.06);
}
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* Features & Cards */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-item {
  flex: 1 1 260px;
  background: #f2f4ee;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(32,80,121,0.11);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  min-height: 260px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,80,121,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 1px 7px rgba(32,80,121,0.05);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e1e2de;
  font-size: 1rem;
}
th {
  background: #205079;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
tr:last-child td {
  border-bottom: none;
}

/* ============================================================
  HEADER, NAV & CTAs
============================================================ */
header {
  background: #F7F7F2;
  border-bottom: 1px solid #e8ece6;
  padding: 0;
  z-index: 10;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header a img {
  height: 46px;
  width: auto;
  margin-right: 10px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
}
nav a {
  color: #205079;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
nav a:hover, nav a.active {
  background: #EFF4F2;
  color: #71B340;
}
.cta-button {
  background: #205079;
  color: #fff!important;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 36px;
  border-radius: 32px;
  text-decoration: none;
  font-size: 1.07rem;
  box-shadow: 0 3px 24px rgba(32,80,121,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.20s, color 0.20s;
  margin-left: 24px;
}
.cta-button:hover, .cta-button:focus {
  background: #71B340;
  color: #fff;
  box-shadow: 0 3px 36px rgba(81,179,64,0.12);
}

/* ============================================================
  BURGER MENU - MOBILE
============================================================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: #205079;
  color: #fff;
  border: none;
  border-radius: 50%;
  z-index: 10001;
  font-size: 2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 16px rgba(32,80,121,0.08);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #1c384e;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7f7f2;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
  box-shadow: -2px 0 36px rgba(32,80,121,0.14);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #205079;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #71B340;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 14px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.22rem;
  color: #205079;
  padding: 12px 0;
  border-bottom: 1px solid #e8ece6;
  width: 100%;
  transition: color 0.19s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #205079;
}

/* Responsive burger icon activation */
@media (max-width: 1040px) {
  nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1041px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
  COOKIE CONSENT (BOTTOM BANNER + MODAL)
============================================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF;
  border-top: 1px solid #e8ece6;
  box-shadow: 0 -3px 16px rgba(32,80,121,0.14);
  padding: 24px 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookieBannerFadeIn 0.8s cubic-bezier(0.63,0,0.36,1);
}
@keyframes cookieBannerFadeIn { from { opacity: 0; transform: translateY(70px);} to { opacity: 1; transform: none;} }
.cookie-banner-content {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(32,80,121,0.10);
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #205079;
  color: #FFF;
}
.cookie-btn.accept:hover { background: #71B340; color: #FFF; }
.cookie-btn.reject {
  background: #e6ebdf;
  color: #205079;
}
.cookie-btn.reject:hover { background: #205079; color: #FFF; }
.cookie-settings-btn {
  background: #FFF;
  color: #205079;
  border: 1px solid #205079;
}
.cookie-settings-btn:hover { background: #205079; color:#fff; }

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top:0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,80,121,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  animation: cookieModalFadeIn 0.4s cubic-bezier(0.59,0,0.36,1);
}
@keyframes cookieModalFadeIn { from { opacity: 0;} to { opacity:1;} }
.cookie-modal {
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 64px rgba(32,80,121,0.19);
  padding: 38px 29px 24px 29px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #205079;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover { color: #71B340; }
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #205079;
  margin: 0 0 6px 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1rem;
}
.cookie-checkbox {
  width: 22px;
  height: 22px;
  accent-color: #205079;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}

/* Cookie Essential Row styling */
.cookie-modal-category.essential {
  opacity: 0.75;
  font-weight: 600;
}
.cookie-modal-category.essential label { cursor: not-allowed; }

/* ============================================================
  FOOTER
============================================================ */
footer {
  background: #F7F7F2;
  border-top: 1px solid #e8ece6;
  color: #205079;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  padding-top: 20px;
  padding-bottom: 28px;
  margin-top: 36px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-bottom: 6px;
}
.footer-menu a {
  color: #205079;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  font-size: 1rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #71B340;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  font-size: 1rem;
}
.footer-copy {
  color: #bbb;
  font-size: 0.92rem;
  margin-top: 8px;
}

/* ============================================================
  TESTIMONIALS & COMMUNITY VOICES
============================================================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 17px rgba(32,80,121,0.12);
  padding: 20px 26px;
  margin-bottom: 22px;
  max-width: 640px;
  border-left: 5px solid #205079;
}
blockquote {
  margin: 0;
  font-style: italic;
  font-family: 'Montserrat', serif;
  color: #205079;
  font-size: 1.13rem;
  line-height: 1.5;
}
.testimonial-author {
  font-family: 'Montserrat', serif;
  color: #71B340;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 16px;
}

/* ============================================================
  MAP EMBED
============================================================ */
.map-embed {
  width: 100%;
  max-width: 420px;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(32, 80, 121, 0.10);
  overflow: hidden;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8f5;
}

/* ============================================================
  MISC/LISTS/FORMS
============================================================ */
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: #253751;
}
ul li img, ol li img {
  vertical-align: middle;
  width: 23px;
  margin-right: 10px;
}
dt {
  font-weight: 600;
  color: #205079;
}

/* Forms - (for shown lists as forms) */
.content-wrapper ul {
  margin-bottom: 0;
}
.content-wrapper ul li {
  padding-left: 0;
}

/* Timeline */
.timeline {
  margin-top: 22px;
  margin-bottom: 22px;
  background: #F8FAF6;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,80,121,0.05);
  padding: 20px 20px 12px 24px;
}
.timeline h3 {
  margin-bottom: 12px;
  color: #205079;
}
.timeline ul li {
  margin-bottom: 7px;
  color: #205079;
  font-family: 'Montserrat', serif;
}

.team-overview h2 {
  margin-bottom: 8px;
  color: #205079;
}
.team-overview ul {
  margin-bottom: 20px;
}
.team-overview ul li {
  line-height: 1.55;
  font-size: 1.03rem;
}

.facility-overview, .membership-options {
  background: #F8FAF6;
  border-radius: 10px;
  margin-bottom: 22px;
  padding: 20px 18px 11px 22px;
  box-shadow: 0 1px 10px rgba(32,80,121,0.08);
}

/* ============================================================
  ANIMATIONS, TRANSITIONS, MICRO-INTERACTIONS
============================================================ */
button, .cta-button, .cookie-btn, .cookie-settings-btn {
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.card, .feature-item, .testimonial-card, .footer-menu a, .mobile-nav a {
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 36px rgba(32,80,121,0.19);
  border-left: 3px solid #71B340;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(81,179,64,0.11);
  border-left: 5px solid #71B340;
}

/* ============================================================
  RESPONSIVE DESIGN (MOBILE-FIRST)
============================================================ */
@media (max-width: 970px) {
  .container {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .features-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section {
    padding: 24px 10px;
    margin-bottom: 38px;
  }
  .footer-social span {
    display: none;
  }
  .map-embed {
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 6px;
  }
}
@media (max-width: 660px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
    min-height: unset;
    padding: 18px 12px;
  }
  .footer-menu, .footer-social {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .cookie-consent-banner {
    padding: 16px 7px;
    gap: 9px;
  }
  .cookie-modal {
    padding: 17px 5vw 18px 7vw;
    min-width: unset;
  }
}
@media (max-width: 560px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .section {
    padding: 12px 2px;
  }
  .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* ============================================================
  TYPOGRAPHY ACCESSIBILITY/CONTRAST FIXES FOR DARK TEXT
============================================================ */
.testimonial-card, .testimonial-card blockquote, .testimonial-author {
  color: #205079;
  background: #fff;
}

/* ============================================================
  UTILITY CLASSES
============================================================ */
.muted {
  color: #888c98;
}
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }

/* ============================================================
  PRINT OPTIMIZATION
============================================================ */
@media print {
  header, nav, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay, .mobile-menu, footer {
    display: none !important;
  }
  body {
    background: #fff;
  }
  main, .container, section {
    box-shadow: none !important;
    background: #fff !important;
    border: none !important;
  }
}
