/* =========================
   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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAF5;
  color: #334242;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #336161;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8AA53C;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.4em;
}
strong {
  font-weight: 600;
}

/* ===============================
   BRAND COLORS & SOFT PASTEL PALETTE
   =============================== */
:root {
  --color-primary: #336161;
  --color-secondary: #8AA53C;
  --color-accent: #F7FAF5;
  --color-pastel-pink: #FFE1E8;
  --color-pastel-blue: #D4EBF2;
  --color-pastel-green: #E2F6CF;
  --color-pastel-yellow: #FFF7D5;
  --color-dark: #334242;
  --color-light: #FFFFFF;
  --color-card: #FFFFFF;
  --color-shadow: rgba(110, 132, 147, 0.09);
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
}
.section h2, .content-wrapper h2 {
  color: var(--color-primary);
}
p, ul, ol, blockquote, cite {
  color: var(--color-dark);
  font-size: 1rem;
}
p {
  margin-bottom: 1.4em;
}
blockquote {
  padding: 20px 28px 20px 36px;
  background: var(--color-pastel-blue);
  border-left: 5px solid var(--color-secondary);
  border-radius: 8px;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-size: 1.08rem;
}
cite {
  display: block;
  color: var(--color-primary);
  margin-top: 4px;
  font-size: 0.98rem;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =============================
   CONTAINERS & LAYOUTS (FLEXBOX)
   ============================= */
.container {
  width: 100%;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: 0 2px 20px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
  }
  .container {
    padding: 0 6px;
  }
}

/* =============================
   HEADER & MAIN NAVIGATION
   ============================= */
header {
  width: 100%;
  background: var(--color-pastel-blue);
  box-shadow: 0 3px 18px var(--color-shadow);
  position: relative;
  z-index: 25;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 78px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  padding: 6px 0;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: var(--color-primary);
  padding: 8px 0;
  transition: color 0.21s;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-secondary);
  color: var(--color-light);
  border: none;
  border-radius: 24px;
  padding: 12px 28px 12px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 9px var(--color-shadow);
  outline: none;
  display: inline-block;
  margin-left: 22px;
  transition: background 0.22s, transform 0.18s, box-shadow 0.12s;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A6D06A;
  color: var(--color-primary);
  box-shadow: 0 4px 20px #bedd9f77;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION ------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--color-pastel-green);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 8px 15px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.22s;
  z-index: 32;
}
.mobile-menu-toggle:focus {
  background: var(--color-pastel-blue);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,249,245,0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.87,-0.11,.19,0.98);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  font-size: 2.1rem;
  font-weight: 400;
  width: 54px;
  height: 54px;
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 10001;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.30rem;
  color: var(--color-primary);
  background: var(--color-pastel-blue);
  border-radius: 22px;
  padding: 15px 42px;
  width: 90vw;
  max-width: 340px;
  text-align: center;
  margin: 0 auto;
  outline: none;
  transition: background 0.19s, color 0.19s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}

@media (max-width: 1100px) {
  header .container nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1101px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(120deg, #D4EBF2 0%, #F7FAF5 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 42px var(--color-shadow);
  margin-bottom: 60px;
  padding: 34px 0 54px 0;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: stretch;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
  font-weight: 800;
  text-shadow: 0 2px 6px #6f8e8599;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.14rem;
  color: var(--color-primary);
  margin-bottom: 22px;
}
.hero .btn-primary {
  margin-left: 0;
}
@media (max-width: 600px) {
  .hero {
    padding: 18px 0 32px 0;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
}

/* ===========================
   FEATURES & ADVANTAGES GRID
   =========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 2px;
}
.feature-grid > div {
  background: var(--color-card);
  box-shadow: 0 1px 14px var(--color-shadow);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.22s, transform 0.16s;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 2px 26px #c1e5c791;
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img {
  width: 39px;
  height: 39px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.11rem;
}
.feature-grid p {
  font-size: 1rem;
}
@media (max-width: 780px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* =======================
   TESTIMONIALS & CARDS
   ======================= */
.testimonials-preview {
  padding: 0;
  background: none;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-pastel-pink);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 11px var(--color-shadow);
  color: #2d3a35;
  max-width: 640px;
  margin-left: 0;
}
.testimonial-card blockquote {
  margin: 0;
  padding: 0 0 0 28px;
  background: none;
  border-left: 3px solid var(--color-secondary);
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.14rem;
}
.testimonial-card cite {
  color: var(--color-dark);
  margin-left: 0;
  margin-top: 8px;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 14px;
    border-radius: 13px;
    max-width: 98%;
    font-size: 1rem;
  }
}

/* =======================
   LISTS & FAQ
   ======================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-list > div {
  background: var(--color-pastel-blue);
  padding: 22px 26px;
  border-radius: 16px;
  box-shadow: 0 1px 9px var(--color-shadow);
  margin-bottom: 8px;
}
.faq-list h2 {
  font-size: 1.19rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.faq-list p {
  margin-bottom: 0;
}

/* =======================
   CTA SECTION
   ======================= */
.cta-section {
  background: linear-gradient(100deg, #D4EBF2 0%, #FFE1E8 100%);
  border-radius: 28px;
  padding: 48px 30px;
  margin-bottom: 60px;
  box-shadow: 0 1px 20px var(--color-shadow);
}
.cta-section h2 {
  color: var(--color-secondary);
  font-size: 2rem;
}
.cta-section p {
  color: var(--color-primary);
}
.cta-section .btn-primary {
  margin-left: 0;
  margin-top: 18px;
}

/* =======================
   CONTACT DETAILS/INFO
   ======================= */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.02rem;
  color: var(--color-dark);
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
  border-radius: 0;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #e8f2ef;
  border-top: 2px solid var(--color-pastel-blue);
  padding: 32px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-logo img {
  height: 48px;
  margin-bottom: 10px;
}
footer nav {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 20px 0;
}
footer nav a {
  font-size: 1.01rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
.contact-info {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  flex: 1 1 230px;
}
.contact-info img {
  height: 19px;
  width: 19px;
  margin-right: 6px;
  border-radius: 0;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  filter: grayscale(0.3);
  transition: filter 0.2s, transform 0.15s;
}
.footer-social a:hover img {
  filter: none;
  transform: scale(1.13);
}
.copyright {
  width: 100%;
  margin: 16px 0 0 0;
  font-size: 0.97rem;
  color: #6b826f;
  text-align: center;
  opacity: 0.8;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
  .copyright {
    text-align: left;
  }
}

/* ===========================
   TEXT/IMAGE FLEX SECTIONS
   =========================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  box-shadow: 0 1px 13px var(--color-shadow);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 22px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 7px 24px #e2f6cf85;
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   UTILITY CLASSES
   ========================= */
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.gap-1 { gap: 1rem; }

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .footer-logo img {
    height: 34px;
  }
}

/* =========================
   COOKIE BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: var(--color-light);
  box-shadow: 0 2px 24px var(--color-shadow);
  border-top: 2px solid var(--color-pastel-blue);
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  justify-content: space-between;
  min-height: 60px;
  transition: transform 0.36s, opacity 0.28s;
  opacity: 1;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 250px;
  color: var(--color-dark);
  font-size: 1.02rem;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  appearance: none;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
  box-shadow: 0 2px 7px var(--color-shadow);
  margin-left: 0;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #A6D06A;
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #ffb8b8;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #d0f0ff;
}
/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 13000;
  background: rgba(0,0,0,0.22);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 24px;
  box-shadow: 0 8px 45px var(--color-shadow);
  padding: 38px 30px 24px 30px;
  max-width: 400px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: modalIn 0.38s cubic-bezier(.87,-0.11,.19,0.98);
}
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(45px) scale(0.92); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1.07rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  cursor: pointer;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 20px;
}
.cookie-switch input {
  opacity:0; width:0; height:0;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-pastel-blue);
  transition: .3s;
  border-radius: 20px;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-secondary);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: var(--color-light);
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 1px 4px var(--color-shadow);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(12px);
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  line-height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
  z-index: 12;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
@media (max-width: 550px) {
  .cookie-modal {
    padding: 17px 6vw 9px 6vw;
    max-width: 97vw;
  }
  .cookie-modal h2 {
    font-size: 1.09rem;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
    padding: 16px 8px;
  }
}

/* =========================
   MICROINTERACTIONS & EFFECTS
   ========================= */
.btn-primary, .cookie-btn, .mobile-nav a, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.15s, transform 0.13s;
}
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.2s, transform 0.14s;
}
a, .footer-social a img {
  transition: color 0.18s, filter 0.2s, transform 0.13s;
}

/* =========================
   OVERRIDES & EDGE
   ========================= */
.text-section {
  background: var(--color-pastel-yellow);
  border-radius: 16px;
  box-shadow: 0 1px 9px var(--color-shadow);
  padding: 24px 20px;
  margin-bottom: 12px;
}

/* SPACING for all content cards/sections */
main section, .section, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* FOCUS styles for accessibility */
:focus {
  outline: 2px dotted var(--color-primary);
  outline-offset: 2px;
}

/* Hide scrollbars inside cookie modal on mobile */
.cookie-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Hide visually from accessibility for display-only icons */
[aria-hidden="true"] {
  display: none;
}
