/* ===================
   CSS RESET & BASELINE
   =================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F4F4F2;
  color: #28404a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #235E4B;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #5DA18B;
  outline-offset: 2px;
}
a:hover {
  color: #5DA18B;
}
img {
  max-width: 100%;
  display: block;
}
button, input[type='button'], input[type='submit'] {
  font-family: inherit;
  font-size: inherit;
}
ul, ol {
  padding-left: 24px;
}

/* ==============  
   TYPOGRAPHY
   ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #235E4B;
  margin-bottom: .5em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, blockquote, .client {
  color: #28404a;
  font-size: 1rem;
}
.subtitle {
  font-size: 1.15rem;
  color: #5DA18B;
  margin-bottom: 18px;
  font-weight: 500;
}
blockquote {
  font-style: italic;
  color: #235E4B;
  background: #E9F5F3;
  border-left: 4px solid #5DA18B;
  padding: 8px 16px;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ===================
   STRUCTURE & LAYOUT
   =================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 3px 18px rgba(35,94,75,.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* FLEX PATTERNS / REQUIRED CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 2px 12px rgba(35,94,75,.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  flex: 1 1 300px;
}
.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;
  align-items: center;
  gap: 20px;
  background: #F4F9F8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 8px rgba(35,94,75,0.07);
  flex: 1 1 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==========================
   HEADER / NAVIGATION
   ========================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(35,94,75,0.06);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 48px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.main-nav a {
  color: #235E4B;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #E9F5F3;
  color: #17674E;
}
.cta.primary {
  background: #235E4B;
  color: #fff !important;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 11px 24px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(35,94,75,0.09);
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: background .17s, box-shadow .22s, color .17s;
  display: inline-block;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #5DA18B;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(35,94,75,0.15);
}
.cta {
  background: #5DA18B;
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  margin-top: 16px;
  transition: background .17s, box-shadow .22s, color .17s;
}
.cta:hover, .cta:focus {
  background: #235E4B;
  color: #fff;
}

/* Hamburger / Mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #235E4B;
  cursor: pointer;
  margin-left: 18px;
  transition: color .15s;
  z-index: 1200;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  color: #5DA18B;
}
.mobile-menu {
  display: none;
}

/* ==============  
   HERO SECTION
   ============== */
.hero {
  background: linear-gradient(90deg, #e9f5f3 0%, #f4f4f2 100%);
  padding: 60px 0 50px;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 600px;
  gap: 28px;
  align-items: flex-start;
}
.hero h1 {
  color: #235E4B;
  margin-bottom: 0.4em;
}

/* ==============  
   FEATURES
   ============== */
.features {
  background: #fff;
  border-radius: 14px;
  padding: 40px 20px 32px;
  margin-bottom: 48px;
  box-shadow: 0 5px 24px 0 rgba(35,94,75,0.07);
}
.features h2 {
  margin-bottom: 30px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: #E9F5F3;
  border-radius: 12px;
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 320px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0px 2px 12px rgba(35,94,75,0.07);
  transition: box-shadow .2s;
}
.feature:hover {
  box-shadow: 0px 4px 20px rgba(35,94,75,0.14);
}
.feature img {
  height: 32px;
  width: 32px;
}

/* ===========
   TESTIMONIALS
   =========== */
.testimonials {
  background: #f9fbfb;
  padding: 42px 0;
  border-radius: 14px;
  margin-bottom: 60px;
}
.testimonials .container {
  flex-direction: column;
}
.testimonials h2 {
  margin-bottom: 26px;
  color: #17674E;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #E0F0ED;
  min-width: 280px;
  max-width: 390px;
  flex: 1 1 300px;
  position: relative;
  margin-bottom: 24px;
  box-shadow: 0px 2px 12px rgba(35,94,75,.08);
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(35,94,75,.12);
}
.testimonial-card blockquote {
  color: #28404a;
  border-left: 4px solid #5DA18B;
  margin: 0 0 8px 0;
  background: none;
  padding: 0 0 0 14px;
  font-size: 1.02rem;
}
.testimonial-card .client {
  font-size: 0.98rem;
  font-weight: 600;
  color: #235E4B;
  margin-left: 14px;
}

/* ============
   CARDS
   ============ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ===== TEAM ===== */
.team-bios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-member {
  background: #F4F9F8;
  border-radius: 10px;
  box-shadow: 0px 2px 8px rgba(35,94,75,0.07);
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 350px;
  padding: 20px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.motto-section {
  background: #E9F5F3;
  border-radius: 8px;
  padding: 15px 20px;
  color: #17674E;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 24px 0 0 0;
}

/* ===== FOOTER ===== */
footer {
  background: #20453B;
  color: #F4F4F2;
  padding-top: 36px;
  padding-bottom: 16px;
  margin-top: 48px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.footer-logo {
  height: 50px;
}
.footer-address {
  font-size: .98rem;
  color: #CFE9DF;
  background-color: #E9F5F3;
  margin-bottom: 6px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #F4F4F2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color .2s;
}
.footer-menu a:hover {
  color: #5DA18B;
}
.footer-bottom {
  padding-top: 13px;
  border-top: 1px solid #294B41;
  color: #CFE9DF;
  text-align: center;
  font-size: 0.95rem;
}

/* ============
   CONTACT INFO
   ============ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info img {
  height: 20px;
  width: 20px;
}

/* Map Embed Styling */
.map-embed {
  background: #E9F5F3;
  color: #235E4B;
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
  text-align: left;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(35,94,75,0.06);
}

/* Staff Quotes */
.staff-quotes {
  margin: 20px 0 0 0;
  padding: 18px 22px;
  border-left: 4px solid #235E4B;
  background: #E9F5F3;
  border-radius: 9px;
  color: #235E4B;
  font-style: italic;
  font-size: 1.08rem;
}

/* Lists styling */
ul {
  margin-bottom: 12px;
}
li {
  margin-bottom: 6px;
  color: #28404a;
  line-height: 1.55;
}

/* =============
   SECTION SPACING (MANDATORY)
   =============*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===============
   RESPONSIVE DESIGN
   ===============*/
@media (max-width: 1180px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 1024px) {
  .content-grid, .feature-grid, .card-container, .team-bios-grid {
    gap: 16px;
  }
  .footer-content {
    gap: 24px;
  }
}
@media (max-width: 920px) {
  .feature-grid, .content-grid, .team-bios-grid, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .hero .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 94%; }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, section {
    padding: 30px 7px;
  }
  header .container, .footer-content {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    margin-left: 0;
    margin-top: 12px;
  }
  .features {
    padding: 28px 8px 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .contact-info {
    gap: 5px;
    margin-bottom: 18px;
  }
  .feature-grid, .team-bios-grid, .content-wrapper, .testimonials .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature, .team-member, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  html { font-size: 89%; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: .97rem; }
  .logo img, .footer-logo {
    height: 38px;
  }
  .hero {
    padding: 36px 0 25px;
  }
  section, .section {
    padding: 16px 3px;
  }
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,94,75,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform .41s cubic-bezier(.67,.3,.23,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 2100;
  transition: color .19s;
}
.mobile-menu-close:hover {
  color: #5DA18B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 95px 28px 20px 28px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .17s, color .16s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #E9F5F3;
  color: #235E4B;
}

/* Prevent page scroll when mobile menu is open */
body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100vw;
}

/* ================
   COOKIE CONSENT
   ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #235E4B;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 10px 20px 10px;
  box-shadow: 0 -2px 18px rgba(35,94,75,0.13);
  font-size: 1rem;
  animation: cookie-slide-up .33s cubic-bezier(.7,.18,.27,.96);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cookie-banner-btns {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 8px 0 rgba(35,94,75,0.13);
  transition: background .17s, color .16s;
}
.cookie-btn.accept {
  background: #5DA18B;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2a7862;
  color: #fff;
}
.cookie-btn.reject {
  background: #ef5655;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ad2323;
}
.cookie-btn.settings {
  background: #fff;
  color: #235E4B;
  border: 1px solid #E9F5F3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E9F5F3;
}

/* COOKIE MODAL / POPUP */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3500;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32,69,59,0.65);
  transition: opacity .22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 38px rgba(35,94,75,0.19);
  max-width: 370px;
  width: 88vw;
  padding: 30px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-pop .26s cubic-bezier(.73,.18,.27,.97);
}
@keyframes modal-pop {
  from { transform: translateY(45px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  color: #235E4B;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #2a7862;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover {
  color: #ef5655;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #E9F5F3;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #235E4B;
}
.cookie-toggle {
  width: 38px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background-color: #E0F0ED;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .16s;
}
.cookie-toggle input:checked + .cookie-slider {
  background-color: #5DA18B;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
  box-shadow: 0 1px 4px rgba(35,94,75,0.14);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
}

/* Essential toggle is disabled */
.cookie-toggle input[disabled] + .cookie-slider {
  background: #B0B5B3;
}

.cookie-modal-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  box-shadow: none;
  margin-top: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 17px 2px 12px 2px;
    font-size: 0.99rem;
  }
  .cookie-banner-content {
    padding: 0 2px;
    font-size: 0.97rem;
    max-width: 99vw;
  }
  .cookie-modal-dialog {
    max-width: 95vw;
    padding: 13px 7vw 12px 7vw;
    font-size: .97rem;
  }
}

/* ===============
   MICRO-INTERACTIONS
   ===============*/
.cta, .cta.primary, .cookie-btn, .cookie-modal-close, .mobile-menu-close, .mobile-menu-toggle {
  transition: background .17s, box-shadow .15s, color .17s, transform .16s;
}
.cta:active, .cta.primary:active, .cookie-btn:active, .cookie-modal-close:active, .mobile-menu-close:active, .mobile-menu-toggle:active {
  transform: scale(0.96);
}

/* ===============
   UTILS
   ===============*/
.hide {
  display: none !important;
}

/* ====================
   END OF STYLE.CSS
   ==================== */