/* CSS RESET AND NORMALIZATION */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #F3EFEA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23425C;
  background: #F3EFEA;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23425C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B57561;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
hr {
  border: none;
  border-top: 1.5px solid #e0dbd1;
  margin: 32px 0;
}

/* COLOR VARIABLES / FALLBACKS */
:root {
  --primary: #23425C;
  --secondary: #77A6B6;
  --accent: #F3EFEA;
  --highlight: #FFE8DD;
  --card-bg: #fff;
  --card-shadow: 0 4px 24px 0 rgba(38, 22, 0, 0.06);
  --radius-lg: 24px;
  --radius-sm: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --box-shadow-sm: 0 2px 10px 0 rgba(38, 22, 0, 0.06);
  --box-shadow-md: 0 4px 24px 0 rgba(38, 22, 0, 0.10);
  --error: #D85D48;
  --success: #3AA589;
  --warning: #FFD58D;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #23425C;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .text-section p {
  font-size: 1.07rem;
  margin-bottom: 14px;
}
.text-section {
  margin-bottom: 20px;
}
strong, b {
  font-weight: bold;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(35, 66, 92, 0.16);
  transform: translateY(-3px) scale(1.01);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #FFF8F4;
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow-sm);
  padding: 20px 28px;
  margin-bottom: 20px;
  max-width: 600px;
  color: #23425C;
}
.testimonial-card p {
  color: #23425C;
  font-style: italic;
}
.testimonial-name {
  color: #3AA589;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background-color: #FFE8DD;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 40px;
  padding: 60px 0 48px 0;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: #23425C;
}
.hero p {
  font-size: 1.18rem;
  color: #23425C;
}

/* FEATURE GRID & TEAM BIOS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow-sm);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--box-shadow-md);
}
.feature-grid img {
  width: 36px; height: 36px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #F3EFEA;
  padding: 4px;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 10px 0;
}
.team-member {
  background: #FFF8F4;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--box-shadow-sm);
  flex: 1 1 240px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.team-member:hover {
  box-shadow: var(--box-shadow-md);
}

/* BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3AA589;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 14px 34px;
  margin-top: 12px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 8px 0 rgba(35,66,92,0.05);
}
.cta-primary:hover, .cta-primary:focus {
  background: #238772;
  color: #FFF8F4;
  box-shadow: 0 4px 14px 0 rgba(35,66,92,0.14);
  transform: translateY(-2px) scale(1.03);
}
button, .button {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  background: #fff;
  color: #23425C;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,66,92,0.04);
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #FFE8DD;
  color: #23425C;
  box-shadow: 0 4px 18px 0 rgba(35,66,92,0.11);
}

/* HEADER + NAVIGATION */
header {
  background: #fff;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(35,66,92,0.04);
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  gap: 20px;
}
.logo {
  height: 48px;
  margin-right: 14px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-right: 12px;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: #23425C;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #FFE8DD;
  color: #3AA589;
}

/* Hide mobile menu nav on wide screens */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #3AA589;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFE8DD;
}
.mobile-menu {
  display: none;
}

/* FOOTER */
footer {
  background: #23425C;
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: 72px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.96rem;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD58D;
  opacity: 1;
}
.footer-contact {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #F3EFEA;
  display: flex;
  flex-direction: column;
}
.footer-contact img {
  width: 18px;
  vertical-align: text-bottom;
  margin-right: 7px;
}
footer .logo {
  height: 50px;
  margin-bottom: 14px;
}

/* TEXT BLOCKS */
.text-section {
  font-size: 1.07rem;
  color: #23425C;
  margin-bottom: 16px;
}
.text-section ul {
  margin-bottom: 10px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFE8DD;
  color: #23425C;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 14px 18px 18px;
  box-shadow: 0 -2px 14px 0 rgba(35,66,92,0.09);
  z-index: 10002;
  font-size: 1rem;
  gap: 18px;
  animation: cookieBannerSlideIn 0.45s cubic-bezier(.74,-0.01,.32,1.21);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(40px); opacity:0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  min-width: 110px;
  padding: 11px 22px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  background: #3AA589;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,66,92,0.04);
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #23425C;
  border: 1px solid #FFD58D;
}
.cookie-banner button:hover {
  background: #238772;
  color: #FFE8DD;
}
.cookie-banner button.cookie-settings:hover {
  background: #FFD58D;
  color: #23425C;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,66,92, 0.14);
  z-index: 10003;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.19s;
}
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 48px 0 rgba(35,66,92,0.19);
  padding: 36px 28px 28px 28px;
  max-width: 420px;
  width: 92vw;
  position: relative;
  font-size: 1.07rem;
  color: #23425C;
  animation: popupIn 0.19s;
}
@keyframes popupIn {
  0% {transform: scale(0.92); opacity:0;}
  100% {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.43rem;
  color: #23425C;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-modal input[type="checkbox"] {
  width: 22px; height: 22px; accent-color: #3AA589;
}
.cookie-modal .desc {
  font-size: 0.97rem;
  color: #23425C;
  opacity: 0.9;
  margin-bottom: 14px;
  margin-left: 32px;
}
.cookie-modal .cookie-modal-actions {
  display: flex; flex-direction: row; gap: 12px;
  margin-top: 22px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #3AA589;
  cursor: pointer;
  z-index: 11;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #D85D48;
}


/* MOBILE MENU NAVIGATION */
@media (max-width: 960px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 10002;
  }
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  z-index: 10005;
  box-shadow: 0 0 0 300vw rgba(35,66,92,0.18);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.56,.23,.55,1.29);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 16px 4px 0;
  font-size: 2.1rem;
  background: none;
  color: #3AA589;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 3px 10px;
  transition: color 0.15s, background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D85D48;
  background: #FFE8DD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  margin-left: 32px;
  margin-top: 16px;
  gap: 6px;
}
.mobile-nav a {
  font-size: 1.17rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 13px 12px;
  color: #23425C;
  border-radius: 7px;
  transition: background 0.14s, color 0.15s;
  width: 90vw;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD58D;
  color: #3AA589;
}

/* Page layout responsive adjustments */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .section {
    margin-bottom: 35px;
    padding: 28px 7px;
  }
  .hero {
    padding: 37px 0 28px 0;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
  .footer-contact {
    margin-top: 28px;
    font-size: 0.95rem;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .content-grid, .feature-grid, .team-bios {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  html { font-size: 95%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero {
    padding: 22px 0 16px 0;
  }
  .cta-primary {
    padding: 11px 16px;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 13px 12px;
  }
  .card {
    padding: 13px;
  }
}

/* MICRO-INTERACTIONS & SMALL ANIMATIONS */
.cta-primary, button, .button {
  transition: background 0.18s, color 0.18s, transform 0.13s, box-shadow 0.17s;
}
.cta-primary:active, button:active, .button:active {
  transform: scale(0.98);
}

/* FORMS (if present) */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #CED7DE;
  background: #F8F5F2;
  color: #23425C;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #3AA589;
  background: #fff;
}
label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #23425C;
}

/* Responsive table handling (if ever present) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #EEE4D6;
  padding: 12px 8px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #FFF8F4;
  font-family: var(--font-display);
}

/* Utilities */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.p-16 { padding: 16px; }

/* ACCENT & BANNER COLOURS FOR WARMTH */
.accent-bg {
  background: #FFD58D;
  color: #23425C;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}
/* ========= END MAIN CSS ========= */

/* ==== Hamburger, Mobile Menu, Cookie Banner JS Example Integration ==== */
/*
  In your main.js:
  - Toggle .active on .mobile-menu when .mobile-menu-toggle is clicked
  - Hide again when .mobile-menu-close is clicked
  - Show .cookie-banner on page load if not accepted
  - Open/close .cookie-modal-overlay when .cookie-settings button is pressed
  - Animate with CSS classes as above
*/
