/* ==================================================
   RESET AND NORMALIZATION (minimal, robust)
================================================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #fff;
  color: #243746;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin: 0 0 16px 20px;
}
a {
  color: #243746;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #80A88B;
  outline: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==================================================
   BRAND TYPOGRAPHY & HEADINGS
================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243746;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
}
.subheadline {
  font-size: 1.15rem;
  color: #5d6d7e;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
strong {
  font-weight: 600;
}

/* ==================================================
   GENERAL UTILITY AND CONTAINER CLASSES
================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(36,55,70,0.09);
  padding: 30px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(36,55,70,0.16);
}
.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: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px rgba(36,55,70,0.09);
  min-width: 250px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(36,55,70,0.15);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #243746;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 5px;
}
.testimonial-stars img {
  width: 19px;
  height: 19px;
  display: inline-block;
  margin-right: 2px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 250px;
  min-width: 230px;
  background: #F4F1EC;
  border-radius: 12px;
  padding: 28px 18px 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(36,55,70,0.04);
  transition: box-shadow 0.18s, background 0.18s;
}
.feature-item:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(128,168,139,0.09);
}
.text-section {
  margin-bottom: 18px;
}

/* ==================================================
   MAIN NAVIGATION (Desktop & Mobile)
================================================== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  background: #fff;
  z-index: 101;
}
.logo img {
  height: 39px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: none;
  color: #243746;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
}
nav ul li a:hover {
  background: #F4F1EC;
  color: #80A88B;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #80A88B;
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 11px rgba(128,168,139,0.09);
  border: none;
  outline: none;
  text-decoration: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.22s;
  margin-left: 20px;
  display: inline-block;
  cursor: pointer;
}
.cta-button:hover,
.cta-button:focus {
  background: #243746;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(36,55,70,0.13);
}

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

/* ==================================================
   MOBILE NAVIGATION
================================================== */
@media (max-width: 1024px) {
  nav ul,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 22px;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #243746;
    border: 1px solid #F4F1EC;
    border-radius: 8px;
    z-index: 110;
    box-shadow: 0 2px 8px rgba(36,55,70,0.08);
    transition: background 0.15s, color 0.17s;
  }
  .mobile-menu-toggle:hover {
    background: #F4F1EC;
    color: #80A88B;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36,55,70, 0.96);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.5,0,0.2,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 22px 18px 18px 0;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 1210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #80A88B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 88%;
  margin-top: 35px;
  gap: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 13px 10px 13px 5px;
  text-decoration: none;
  width: 100%;
  border-radius: 8px;
  background: none;
  transition: background 0.14s, color 0.13s;
  margin-bottom: 7px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #80A88B;
  color: #fff;
}

/* =============================================
   HERO + GENERIC SECTIONS and GRIDS
============================================= */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  main section {
    padding: 30px 0;
    margin-bottom: 40px;
  }
}

/* Proper section, card, and container spacing */
.feature-grid, .testimonial-list, .card-container, .content-grid {
  row-gap: 20px;
  column-gap: 20px;
}

/* =====================================
   RESPONSIVE FLEXBOX LAYOUTS
===================================== */
@media (max-width: 1024px) {
  .feature-grid, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 98%;
    flex: 1 1 98%;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    text-align: left;
  }
  .container {
    padding: 0 10px;
  }
}

/* ===========================================
   LISTS (UL, LI), QUOTES, PARAGRAPHS
=========================================== */
.text-section ul, .feature-item ul, .content-wrapper ul {
  margin: 0 0 16px 20px;
  padding-left: 13px;
  font-size: 1em;
}
.text-section ul li, .feature-item ul li, .content-wrapper ul li {
  margin-bottom: 7px;
  line-height: 1.5;
  color: #243746;
  font-size: 1em;
}
.text-section p, .feature-item p, .content-wrapper p {
  margin-bottom: 16px;
  color: #44596E;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1em;
}

/* =========================================
   FOOTER
========================================= */
footer {
  padding: 45px 0 25px 0;
  background: #F4F1EC;
  color: #243746;
}
.footer-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 23px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #243746;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  background: none;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.13s, color 0.13s;
}
.footer-menu a:hover {
  background: #80A88B;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 1rem;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  opacity: 0.78;
}
.footer-branding {
  font-size: 0.97rem;
  color: #6a7a8b;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .footer-menu,
  .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* =============================================
   COOKIE CONSENT BANNER AND MODAL
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #243746;
  color: #fff;
  z-index: 3000;
  padding: 19px 14px 19px 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  box-shadow: 0 -2px 14px rgba(36,55,70,0.11);
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.5,0,0.2,1), opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 0 180px;
  margin: 0;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner .cookie-btn {
  min-width: 104px;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  margin-left: 10px;
  margin-bottom: 2px;
  cursor: pointer;
  background: #80A88B;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(128,168,139,0.13);
  transition: background 0.14s, color 0.11s;
  outline: none;
}
.cookie-banner .cookie-btn.reject {
  background: none;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #243746;
  color: #fff;
  border: 1px solid #80A88B;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #243746;
  border: 1px solid #243746;
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #fff;
  color: #243746;
  border: 1px solid #243746;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #80A88B;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3100;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36,55,70,0.73);
  transition: opacity 0.3s;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #243746;
  border-radius: 17px;
  min-width: 312px;
  max-width: 98vw;
  width: 415px;
  padding: 36px 27px 28px 27px;
  box-shadow: 0 7px 38px rgba(36,55,70,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: cookie-modal-in 0.38s cubic-bezier(.64,.19,.23,.98);
}
@keyframes cookie-modal-in {
  0% {transform: translateY(30px) scale(0.98); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-modal h2 {
  color: #243746;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 15px;
  font-weight: 500;
}
.cookie-modal .category {
  margin-bottom: 20px;
}
.cookie-modal .category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  margin-right: 10px;
}
.cookie-modal .cookie-checkbox {
  accent-color: #80A88B;
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
.cookie-modal .category.essential label {
  color: #808080;
  font-weight: 400;
  opacity: 0.67;
}
.cookie-modal .category.essential input[type=checkbox] {
  display: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 88px;
  padding: 8px 19px;
  font-size: 0.97rem;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 12px;
  top: 13px;
  font-size: 1.6rem;
  color: #243746;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 0 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal .cookie-close:hover {
  background: #F4F1EC;
}
@media (max-width: 480px) {
  .cookie-modal {
    width: 98vw;
    min-width: unset;
    padding: 30px 7px 18px 7px;
  }
}

/* ========================================
   BUTTONS, TRANSITIONS, LINK STYLES
======================================== */
button,
a.button,
.cta-button,
.cookie-btn {
  transition: background 0.18s cubic-bezier(.7,.2,.2,1), color 0.11s, box-shadow 0.18s;
  outline: none;
}

/* ================================================
   MICRO-INTERACTIONS & SUBTLE ANIMATIONS
================================================ */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(0.7,0.2,0.2,1), background 0.18s;
}
.feature-item img,
.testimonial-stars img {
  transition: transform 0.25s cubic-bezier(.7,.2,.2,1);
}
.feature-item:hover img,
.testimonial-card:hover .testimonial-stars img {
  transform: scale(1.08) rotate(-4deg);
}

/* =============================================
   RESPONSIVE FONTS
============================================= */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .subheadline {
    font-size: 1rem;
  }
  .cta-button {
    padding: 11px 19px;
    font-size: 1rem;
    margin-left: 0;
  }
}

/* =============================================
   OTHER SEMANTIC ELEMENTS
============================================= */
table th, table td {
  border: 1px solid #E1E6EA;
  padding: 10px 18px;
  font-size: 1rem;
}

/* Remove marker from strong text in lists, clean minimalist lines */
ul li strong {
  font-weight: 600;
  margin-right: 2px;
}


/* =============================================
   ENSURE ADEQUATE MARGINS BETWEEN ELEMENTS
============================================= */
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* ================ END OF STYLES ================ */
