/* ===================================================
   CSS RESET & BASELINE NORMALIZE
=================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #27374D;
  background: linear-gradient(135deg, #F4F7FA 60%, #9EB384 120%);
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.2em;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #27374D;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, li {
  font-size: 1rem;
  margin-bottom: 16px;
}
small {
  font-size: 0.875rem;
  color: #607078;
}
strong {
  font-weight: 700;
}

/* =========================
   LAYOUT CONTAINERS
========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(39,55,77,0.04), 0 2px 8px 0 rgba(158,179,132,0.07);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ==============================
   HEADER & NAVIGATION BAR
============================== */
header {
  width: 100%;
  background: linear-gradient(90deg, #27374D 80%, #9EB384 180%);
  padding: 0;
  box-shadow: 0 2px 8px rgba(39,55,77,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: rgba(158,179,132,0.15);
  color: #F4F7FA;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.cta-primary {
  background: linear-gradient(90deg, #9EB384 10%, #27374D 110%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-left: 16px;
  text-align: center;
  font-size: 1rem;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg, #758463 10%, #27374D 110%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(39,55,77,0.16);
}

@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }
  header .container {
    gap: 16px;
  }
  header img {
    height: 40px;
  }
  .cta-primary {
    font-size: 14px;
    padding: 10px 16px;
    margin-left: 4px;
  }
}

/* ============
  MOBILE MENU
==============*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 20px;
  z-index: 201;
  width: 48px;
  height: 48px;
  background: #27374D;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39,55,77,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #9EB384;
  outline-offset: 2px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,55,77,0.97);
  z-index: 202;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  position: absolute;
  top: 24px; right: 32px;
  z-index: 203;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 86px 32px 32px 32px;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  padding: 12px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
  width: 100%;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #9EB384;
  color: #27374D;
}

@media (max-width: 900px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =================
  MAIN LAYOUT/SECTIONS
==================*/
main {
  width: 100%;
  min-height: 55vh;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background: transparent;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid > h2 {
  flex-basis: 100%;
}
.feature-grid > div {
  background: #f4f7fa;
  border-radius: 16px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 300px;
  margin-bottom: 20px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1px 8px 0 rgba(39,55,77,0.07);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px 0 rgba(39,55,77,0.11);
  transform: scale(1.025) translateY(-2px);
}
.feature-grid img {
  width: 44px; height: 44px; margin-bottom: 8px;
}
.feature-grid h3 {
  margin-bottom: 4px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.05);
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-section {
    gap: 12px;
  }
}

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

/* Testimonial cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #F4F7FA;
  box-shadow: 0 2px 12px 0 rgba(39,55,77,0.07);
  color: #27374D;
  font-style: italic;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  color: #27374D;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #758463;
  align-self: flex-end;
}

@media (max-width: 500px) {
  .testimonial-card {
    padding: 14px 8px;
  }
}

/* Contact details inside sections */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.contact-details li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #27374D;
  gap: 8px;
}
.contact-details img {
  width: 24px; height: 24px; margin-right: 10px;
}

/* Links inside content */
main a {
  color: #27374D;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
main a:hover,
main a:focus {
  color: #9EB384;
}

/* =================
  FORMS (if any added)
================= */
form input, form textarea, form select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1px solid #9EB384;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #f7f9fa;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.2s, box-shadow 0.2s;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border: 1.5px solid #27374D;
  box-shadow: 0 2px 8px 0 rgba(39,55,77,.09);
}
form label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #27374D;
  font-size: 1rem;
  margin-bottom: 3px;
}
form button, form .cta-primary {
  margin-top: 14px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #27374D;
  color: #fff;
  padding: 36px 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  font-size: 0.95rem;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover {
  color: #9EB384;
  background: rgba(244,247,250,0.03);
}
footer small {
  color: #d8dcd3;
  font-size: 0.95rem;
  margin-top: 10px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 8px;
  }
  footer nav {
    gap: 9px;
  }
}

/* ===========================================
  COOKIE CONSENT BANNER & MODAL
=========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: linear-gradient(90deg, #F4F7FA 80%, #9EB384 200%);
  color: #27374D;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -2px 18px 0 rgba(39,55,77,0.10);
  z-index: 1202;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 10px 18px;
  cursor: pointer;
  margin: 0 2px;
  background: #9EB384;
  color: #27374D;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
}
.cookie-banner button:hover {
  background: #758463;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #F4F7FA;
  color: #27374D;
  border: 1px solid #9EB384;
  transition: background 0.15s, color 0.15s, border 0.16s;
}
.cookie-banner button.cookie-settings:hover {
  background: #e4eafe;
  border: 1.5px solid #758463;
  color: #27374D;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    padding: 17px 7px 17px 7px;
  }
}

.cookie-modal {
  position: fixed;
  z-index: 1250;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,55,77,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  min-width: 275px;
  max-width: 98vw;
  padding: 36px 28px 20px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 36px 0 rgba(39,55,77,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #27374D;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #9EB384;
  width: 18px; height: 18px;
}
.cookie-category .category-desc {
  font-size: 0.97rem;
  color: #607078;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px; right: 28px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #9EB384;
  cursor: pointer;
  transition: color 0.16s;
  padding: 2px 6px;
  border-radius: 50%;
}
.cookie-modal .close-cookie-modal:hover {
  color: #27374D;
}
@media(max-width: 440px) {
  .cookie-modal .cookie-modal-content { padding: 10px 5px 18px 9px; }
}

/* =========================
   ANIMATIONS & TRANSITIONS
========================= */
.section, .card, .feature-grid > div,
.testimonial-card, .cta-primary {
  transition: box-shadow 0.22s, transform 0.18s, background 0.2s;
}
.mobile-menu, .cookie-modal {
  will-change: transform, opacity;
}

/* ================== RESPONSIVE ADJUSTMENTS =================== */
@media (max-width: 1100px) {
  .feature-grid > div, .card {
    max-width: 48%;
    min-width: 220px;
  }
}
@media (max-width: 850px) {
  .feature-grid > div, .card {
    max-width: 96vw;
    min-width: unset;
    flex: 1 1 90vw;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .feature-grid > div, .card {
    max-width: 96vw;
  }
}

/* ===================
  MISC UTILITY
=================== */
.gap-20 {gap: 20px;}
.gap-24 {gap: 24px;}
.gap-8 {gap: 8px;}
.rounded-8 {border-radius: 8px;}
.shadow {box-shadow: 0 2px 12px rgba(39,55,77,0.09);}
.bg-accent {background: #9EB384;}
.bg-secondary {background: #F4F7FA;}
.bg-primary {background: #27374D;}

/* ===================
  VISUAL OVERRIDES
=================== */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F7FA;
}
::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
  button, .cta-primary {
    transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.13s;
  }
  .card:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 0 4px 18px 0 rgba(39,55,77,0.16);
  }
}

/* =====================
   FONT-FACE LOADERS
===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* =====================
    END OF FILE
===================== */