/* ===============================
   CSS RESET & BASE STYLES
   =============================== */
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;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #23434E;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  background-color: #F8F5F2;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: #23434E;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #7AB293;
  outline: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #23434E;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.25rem; margin-bottom: 18px; line-height: 1.2; }
h2 { font-size: 1.5rem; margin-bottom: 14px; line-height: 1.22; }
h3 { font-size: 1.125rem; margin-bottom: 10px; line-height: 1.25; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p, ul, ol, li, dl, dt, dd {
  font-size: 1rem;
  color: #25434F;
}

strong, b {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(35,67,78,0.04);
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  width: 100%;
  position: relative;
  background: #fff;
  box-shadow: 0 1px 10px rgba(35,67,78,0.05);
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
header nav > a img {
  height: 38px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25434E;
  padding: 6px 7px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #F8F5F2;
  color: #7AB293;
}
header .button.primary {
  margin-left: 14px;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  header nav {
    gap: 16px;
    padding: 14px 10px;
  }
  header nav ul {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  header nav ul, header .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #23434E;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(35,67,78,0.07);
    position: absolute;
    right: 20px;
    top: 16px;
    z-index: 101;
    transition: background 0.18s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #F8F5F2;
    color: #7AB293;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #fff;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.33s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
    box-shadow: -5px 0 18px rgba(35,67,78,0.07);
    padding: 0 24px;
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu .mobile-menu-close {
    font-size: 2.1rem;
    color: #23434E;
    align-self: flex-end;
    margin-top: 32px;
    margin-bottom: 14px;
    background: none;
    border: none;
  }
  .mobile-menu .mobile-menu-close:hover,
  .mobile-menu .mobile-menu-close:focus {
    color: #7AB293;
  }
  .mobile-menu .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin-top: 18px;
  }
  .mobile-menu .mobile-nav a {
    font-family: 'Montserrat', sans-serif;
    color: #25434E;
    font-size: 1.25rem;
    padding: 8px 6px;
    border-radius: 8px;
    width: 100%;
    transition: background 0.13s, color 0.13s;
  }
  .mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
    background: #F8F5F2;
    color: #7AB293;
  }
}

/* ===============================
   BUTTONS & CALLS TO ACTION
   =============================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025rem;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  cursor: pointer;
  font-weight: 700;
  outline: none;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(122,178,147,0.04);
}
.button.primary {
  background: #23434E;
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: #7AB293;
  color: #23434E;
  box-shadow: 0 4px 24px rgba(122,178,147,0.16);
}
.button.secondary {
  background: #F8F5F2;
  color: #23434E;
  border: 1.5px solid #23434E;
}
.button.secondary:hover, .button.secondary:focus {
  background: #7AB293;
  color: #fff;
  border-color: #7AB293;
}
.button:active {
  opacity: 0.95;
}

/* ===============================
   SECTION & CONTENT SPACING
   =============================== */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.content-wrapper,
.content-grid,
.feature-grid,
.team-list,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.content-wrapper {
  flex-direction: column;
  gap: 22px;
}
.feature-grid {
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(35,67,78,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  flex: 1 1 312px;
}
.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;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cta-banner {
  background: #23434E;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(35,67,78,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
  gap: 18px;
}
.cta-banner h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cta-banner .button {
  margin-top: 8px;
}

/* ===============================
   TEAM, SERVICES, TESTIMONIALS
   =============================== */
.team-list,.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.team-profile,.service {
  flex: 1 1 320px;
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(35,67,78,0.05);
  padding: 28px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1.15rem;
  gap: 18px;
}
.service h2 span {
  font-size: 1rem;
  color: #7AB293;
  font-weight: bold;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F8F5F2;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(35,67,78,0.06);
  transition: box-shadow 0.18s, background 0.18s;
  color: #25434E;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 4px;
  color: #23434E;
  line-height: 1.4;
  quotes: '“' '”' '‘' '’';
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: #7AB293;
  font-size: 2.1rem;
  vertical-align: -0.2em;
  padding-right: 3.5px;
}
.testimonial-card blockquote:after {
  content: close-quote;
  color: #7AB293;
  font-size: 2.1rem;
  vertical-align: -0.2em;
  padding-left: 3.5px;
}
.testimonial-card strong {
  color: #23434E;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #fff;
  box-shadow: 0 4px 26px rgba(122,178,147,0.09);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/**** FAQ Accordion / DL / Contact info ****/
.faq-accordion {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(35,67,78,0.04);
  padding: 22px 20px 10px 22px;
  flex: 1 1 330px;
  margin-bottom: 20px;
}
.faq-accordion h3 {
  color: #7AB293;
  margin-bottom: 15px;
}
.faq-accordion dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #23434E;
  margin-top: 12px;
}
.faq-accordion dd {
  margin-left: 0;
  margin-bottom: 6px;
  color: #25434E;
  font-size: 0.97rem;
  padding-left: 3px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.contact-info h2 {
  color: #7AB293;
  font-size: 1.07rem;
}
.contact-info p,
.contact-info a {
  color: #23434E;
}
.contact-info a:hover {
  color: #7AB293;
  text-decoration: underline;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  padding: 36px 0 0 0;
  background: #fff;
  border-top: 1.5px solid #F8F5F2;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: center;
  align-items: center;
  font-size: 0.98rem;
  color: #23434E;
  margin-bottom: 8px;
}
footer nav a {
  color: #23434E;
  font-weight: 600;
  font-size: 0.98rem;
}
footer nav a:hover, footer nav a:focus {
  color: #7AB293;
}
.footer-contact {
  text-align: center;
  margin: 0 auto;
  color: #23434E;
  font-size: 0.97rem;
  opacity: 0.73;
  line-height: 1.4;
  margin-bottom: 18px;
}
.footer-contact span {
  margin: 0 7px;
  display: inline-block;
}

@media (max-width: 768px) {
  .footer-contact, footer nav {
    font-size: 0.96rem;
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact span {
    display: block;
    margin: 4px 0;
  }
}

/* ===============================
   TYPOGRAPHY
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Open+Sans:400,600&display=swap');

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 700px) {
  .container {
    padding: 0 6vw;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 0.99rem; }
  .section {
    padding: 22px 8px;
  }
  main section {
    padding: 22px 0 0 0;
  }
  .content-wrapper,
  .content-grid,
  .feature-grid,
  .team-list,
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    padding: 18px 8px;
  }
  .faq-accordion {
    padding: 16px 7px 8px 13px;
  }
  .cta-banner {
    padding: 25px 6px;
  }
}

/* Ensure all cards, content sections, etc. have at least 20px gap */
.card-container,
.content-wrapper,
.feature-grid,
.team-list,
.service-list,
.content-grid {
  gap: 24px !important;
}
.card, .testimonial-card, .team-profile, .service {
  margin-bottom: 20px !important;
}
.text-image-section,.feature-item {
  gap: 15px;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4000;
  background: #fff;
  color: #23434E;
  padding: 19px 24px;
  box-shadow: 0 -3px 30px rgba(35,67,78,0.07);
  font-size: 1.05rem;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  transform: translateY(0);
  gap: 20px;
}
#cookie-banner.hide {
  transform: translateY(150%);
  transition: transform 0.24s cubic-bezier(.77,0,.18,1);
}
#cookie-banner .cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn, .cookie-btn.primary, .cookie-btn.secondary {
  padding: 9px 19px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.primary {
  background: #23434E;
  color: #fff;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #7AB293;
  color: #23434E;
}
.cookie-btn.secondary {
  background: #F8F5F2;
  color: #23434E;
  border: 1.3px solid #23434E;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #7AB293;
  color: #fff;
  border-color: #7AB293;
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    font-size: 0.97rem;
    gap: 14px;
  }
  #cookie-banner .cookie-btn-group {
    width: 100%;
    gap: 10px;
  }
}

#cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4200;
  background: rgba(35,67,78,0.12);
}
#cookie-modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.2s cubic-bezier(.45,0,.6,1);
}
@keyframes fadein {
  from { background: rgba(35,67,78,0); }
  to { background: rgba(35,67,78,0.12); }
}
#cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 38px 0 rgba(35,67,78,0.13);
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  min-height: 160px;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalin 0.26s cubic-bezier(.7,0,.34,1);
}
@keyframes modalin {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#cookie-modal h2 {
  color: #23434E;
  font-size: 1.11rem;
  margin-bottom: 10px;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2rem;
  color: #23434E;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.13s;
  line-height: 1;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: #7AB293;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F8F5F2;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #23434E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #7AB293;
  border-radius: 5px;
  cursor: pointer;
}
.cookie-category .cookie-required {
  color: #7AB293;
  font-size: 0.97rem;
  margin-left: 7px;
  font-weight: 400;
}
.cookie-modal-btn-row {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal-btn-row .cookie-btn {
  font-size: 1rem;
}

@media (max-width: 490px) {
  #cookie-modal {
    padding: 17px 8px 18px 8px;
    min-width: 200px;
    gap: 8px;
  }
  .cookie-modal-btn-row {
    flex-direction: column;
    justify-content: stretch;
    gap: 8px;
  }
}

/* ===============================
   MICRO-INTERACTIONS & EFFECTS
   =============================== */
.button, .testimonial-card, .service, .card, .cta-banner, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, border-color 0.18s, transform 0.13s;
}
.button:focus-visible {
  outline: 2.5px dashed #7AB293;
  outline-offset: 3px;
}
.cookie-btn:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-menu .mobile-menu-close:focus-visible {
  outline: 2.5px dashed #7AB293;
  outline-offset: 2.5px;
}

/* ===============================
   MISCELLANEOUS
   =============================== */
::-webkit-scrollbar {
  width: 7px;
  background: #F8F5F2;
}
::-webkit-scrollbar-thumb {
  background: #e4e7ea;
  border-radius: 8px;
}

::selection {
  background: #7AB29340;
}

/* ===============================
   PRINT
   =============================== */
@media print {
  *, *:before, *:after {
    background: none !important;
    color: #222 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  .mobile-menu, #cookie-banner, #cookie-modal-overlay {
    display: none !important;
  }
  header, footer, button, nav, .button, .cta-banner, .feature-grid, .testimonial-card {
    box-shadow: none !important;
    border: none !important;
  }
}

/* ===============================
  END
=============================== */