/* -------------------
  CSS Reset & Normalize
------------------- */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: linear-gradient(135deg, #EFFBF3 0%, #017986 100%);
  color: #206240;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.5em;
}

li {
  margin-bottom: 0.5em;
}

a {
  color: #017986;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #206240;
  text-decoration: underline;
}

/* Hide outline except keyboard nav */
:focus {
  outline: 2px solid #017986;
  outline-offset: 2px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #206240;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 26px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 15px;
}
h4, h5, h6 {
  font-size: 1rem;
}

p, ul, ol, li, span, a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #206240;
}
strong, b {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 24px;
}

/* Gradient and Visual Layers */
header {
  background: linear-gradient(100deg, #017986 0%, #EFFBF3 60%);
  box-shadow: 0 4px 16px 0 rgba(2,48,37,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}

header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
nav a {
  color: #206240; 
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #effbf3;
  color: #017986;
}

.cta-button {
  background: linear-gradient(90deg, #017986 0%, #206240 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.025em;
  margin-left: 18px;
  box-shadow: 0 3px 16px 0 rgba(32,98,64,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #206240 0%, #017986 100%);
  box-shadow: 0 6px 20px 0 rgba(2,48,37,0.17);
  transform: translateY(-2px) scale(1.025);
  color: #effbf3;
}

/* -----------
  MOBILE MENU
----------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 2em;
  color: #017986;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EFFBF3;
  color: #206240;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(31,109,90,0.98);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.4,0.1,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 22px;
  margin-left: 27px;
  font-size: 2.1em;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  padding: 2px 10px;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #017986;
  color: #EFFBF3;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  gap: 10px;
  padding-left: 36px;
}
.mobile-nav a {
  display: block;
  color: #EFFBF3;
  font-size: 1.24rem;
  font-weight: 600;
  margin-bottom: 11px;
  padding: 12px 0;
  border-radius: 6px;
  transition: color 0.18s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #b9efe2;
}

/* Hide main nav and cta button on mobile */
@media (max-width: 900px) {
  header .container nav,
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------------
  HERO + CONTENT
--------------- */
main {
  width: 100%;
  min-height: 60vh;
  margin-bottom: 60px;
}

.section, main > section {
  background: #fff;
  background: linear-gradient(104deg, #EFFBF3 85%, #b9efe2 100%);
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(32,98,64,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 600px) {
  .section, main > section {
    padding: 28px 8px 32px 8px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
}

/* Visual patterns for Flex Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 22px 0 rgba(1,121,134,0.10);
  padding: 22px 22px 16px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 38px 0 rgba(1,121,134,0.17);
  transform: translateY(-3px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (sections with icons/columns) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #EFFBF3;
  border-radius: 19px;
  box-shadow: 0 3px 14px 0 rgba(1,121,134,0.08);
  padding: 28px 22px 20px 22px;
  min-width: 225px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 13px;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 8px 32px 0 rgba(1,121,134,0.17);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid > div h3 {
  color: #206240;
  margin-bottom: 11px;
}
.feature-grid > div p {
  color: #333;
  margin-bottom: 2px;
}

/* Testimonial Slider/Cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 0 -8px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(32,98,64,0.07);
  padding: 26px 30px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  border-left: 5px solid #017986;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #134429;
  font-size: 1.07rem;
  margin-bottom: 3px;
}
.testimonial-card span {
  color: #017986;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(32,98,64,0.14);
  transform: translateY(-2px) scale(1.015);
}

/* ---------------
  Responsive Tweaks
--------------- */
@media (max-width: 922px) {
  .container {
    padding: 0 14px;
  }
  .content-grid, .feature-grid, .testimonial-slider {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .feature-grid > div,
  .testimonial-card {
    min-width: 0;
    max-width: unset;
    width: 100%;
  }
}

@media (max-width: 425px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.06rem; }
  .cta-button {
    padding: 10px 11px;
    font-size: 1rem;
    margin-left: 7px;
  }
}

.text-section {
  margin-bottom: 14px;
}

/* Footer Styles */
footer {
  background: linear-gradient(90deg, #EFFBF3 55%, #017986 100%);
  box-shadow: 0 -2px 16px 0 rgba(32,98,64,0.04);
  border-radius: 22px 22px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 34px 20px 11px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
footer nav a {
  color: #206240;
  font-weight: 600;
  padding: 5px 0;
  border-radius: 4px;
  font-size: 1rem;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus { color: #017986; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #206240;
  font-size: 0.97rem;
}
footer p {
  color: #206240;
  font-size: 0.98rem;
  margin: 0;
}

/* -------------------------------
  Cookie Consent Banner & Modal
------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 24px 0 rgba(1,121,134,0.13);
  padding: 22px 24px 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(.57,1.41,.64,1);
  transform: translateY(0);
}
.cookie-banner.closed {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 220px;
  font-size: 1rem;
  color: #206240;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #EFFBF3;
  color: #206240;
  margin-right: 2px;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(32,98,64,0.04);
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #017986 0%, #206240 100%);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #206240 0%, #017986 100%);
  color: #EFFBF3;
}
.cookie-btn.reject {
  border: 2px solid #017986;
  background: #fff;
  color: #017986;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #EFFBF3;
  color: #206240;
}
.cookie-btn.settings {
  background: #EFFBF3;
  color: #206240;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #017986;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 12px 8px 11px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner-buttons {
    gap: 10px;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  background: rgba(1,121,134,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 46px 0 rgba(32,98,64,0.15);
  padding: 34px 30px 24px 30px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-category label {
  color: #206240;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #017986;
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  background: transparent;
  border: none;
  color: #017986;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EFFBF3;
  color: #206240;
}
/* Essentials always on */
.cookie-category.essential label {
  font-weight: bold;
  opacity: 0.7;
}
.cookie-category.essential input {
  display: none;
}


/* ----------
  Misc Spacing
---------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ul lists in .text-section readable, nice indents */
.text-section ul {
  list-style: disc inside;
  margin-left: 20px;
  color: #206240;
  padding-bottom: 10px;
}

.text-section ul li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #206240;
}

/* <a> in text strong accent, underline on hover */
.text-section a {
  color: #017986;
  font-weight: 600;
  border-bottom: 1px solid #017986;
  transition: border-bottom 0.13s;
}
.text-section a:hover, .text-section a:focus {
  border-bottom: 2px solid #017986;
  color: #206240;
}

/* Animations */
.cta-button, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-btn, .cookie-modal-content {
  transition: all 0.18s cubic-bezier(.57,1.41,.64,1);
}

/* Subtle focus/hover for accessibility */
.card:focus, .feature-grid > div:focus, .testimonial-card:focus {
  outline: 2px solid #017986;
  box-shadow: 0 0 0 3px #b9efe2, 0 3px 16px 0 rgba(1,121,134,0.15);
}

/* Helpers for Touch Targets */
button, .cta-button {
  min-height: 44px;
  min-width: 44px;
}

/* Utility Margins */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }

/* Hide visually but not screen-readers */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
