/* =======================================================
   Verdant Migrations "Nature Organic" Style CSS
   Author: Professional CSS/UI Developer
   ======================================================= */
/* --- RESET & BASE --- */
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;
  background-color: #FAF7F2;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #243121;
  background-color: #FAF7F2;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #1A5632;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #498443;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
  padding: 0;
}
li {
  margin-bottom: 0.75em;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
/* --- TYPOGRAPHY --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5632;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.14;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
  margin-top: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-top: 20px;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.95rem;
}
p, address, dl, dd {
  font-size: 1rem;
  margin-bottom: 1.1em;
  color: #243121;
}
address {
  font-style: normal;
  opacity: 0.95;
  margin-bottom: 6px;
}

/* --- CONTAINER + LAYOUT --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(42, 60, 21, 0.07);
  position: relative;
}
/* --- FLEX UTILITY CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F3F5EA;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(42,60,21,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FFFDF9;
  box-shadow: 0 2px 10px 0 rgba(42,60,21,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 260px;
  border-left: 7px solid #7CB342;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER / NAV --- */
header {
  background: #E7F2DA url('../assets/header-leaf.svg') no-repeat right top/120px auto;
  padding: 0;
  box-shadow: 0 2px 10px 0 rgba(26,86,50,0.07);
  border-radius: 0 0 24px 24px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 30px;
  border-radius: 14px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1A5632;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover,
nav a:focus {
  background: #D1E7B0;
  color: #1A5632;
}
.cta-button {
  appearance: none;
  display: inline-block;
  background: #7CB342;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 24px 14px 32px 20px;
  box-shadow: 0 2px 10px 0 rgba(26,86,50,0.07);
  padding: 11px 34px;
  margin-left: 14px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.14s, box-shadow 0.14s;
  outline: 0;
}
.cta-button:hover, .cta-button:focus {
  background: #568E20;
  color: #FFF;
  transform: translateY(-1.5px) scale(1.015);
  box-shadow: 0 4px 18px 0 rgba(67, 120, 36, 0.13);
}
.mobile-menu-toggle {
  display: block;
  background: #FFFFFF;
  border: none;
  font-size: 2rem;
  color: #1A5632;
  border-radius: 12px;
  padding: 5px 12px;
  line-height: 1;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 10px 0 rgba(42,60,21,0.08);
  z-index: 1050;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D1E7B0;
  color: #7CB342;
}
/* Hide on desktop */
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F4FCE2;
  box-shadow: 0 0 100px 10px rgba(30,60,25,0.13);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 25px 0 0;
  background: #7CB342;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(67,120,36,0.07);
  transition: background 0.16s;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #568E20;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 40px;
  align-items: stretch;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #1A5632;
  padding: 18px 36px;
  border-radius: 16px;
  background: #fff;
  margin: 0 24px;
  box-shadow: 0 2px 8px 0 rgba(26,86,50,0.04);
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D1E7B0;
  color: #568E20;
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN LAYOUT & SECTIONS --- */
main {
  margin-top: 30px;
  margin-bottom: 50px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(67,120,36,0.08);
  margin-bottom: 20px;
  border-left: 7px solid #7CB342;
  padding: 20px 24px;
  color: #243121;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  min-width: 280px;
}
.testimonial-card p {
  font-style: italic;
  color: #243121;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: #1A5632;
  font-weight: bold;
  font-size: 1rem;
  display: block;
}
.testimonial-card div {
  margin-top: 4px;
  font-size: 0.99rem;
  color: #498443;
}

/* --- LISTS, FAQ --- */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #1A5632;
  margin-top: 16px;
  font-weight: bold;
}
dd {
  margin-left: 0;
  margin-bottom: 11px;
  color: #243121;
}
.section ul, .section ol {
  margin-left: 1.45em;
}
.section li {
  margin-bottom: 0.68em;
}
.section ul li::marker {
  color: #7CB342;
}

/* --- BUTTONS --- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  border: none;
  border-radius: 18px;
  background: #7CB342;
  color: #fff;
  cursor: pointer;
  padding: 10px 26px;
  box-shadow: 0 1.5px 7px 0 rgba(42,60,21,0.07);
  transition: background 0.16s, color 0.12s, box-shadow 0.17s, transform 0.14s;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #568E20;
  box-shadow: 0 4px 16px 0 rgba(67, 120, 36, 0.12);
  color: #fff;
  transform: scale(1.03);
}

/* --- FOOTER --- */
footer {
  background: #E7F2DA;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(42,60,21,0.06);
  margin-top: 50px;
  padding: 44px 0 22px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 44px 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.footer-nav a, .footer-legal a {
  color: #1A5632;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 4px 8px;
  transition: background 0.1s;
}
.footer-nav a:hover, .footer-legal a:hover {
  background: #D1E7B0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
}
.footer-contact img {
  height: 38px;
  margin-bottom: 7px;
  border-radius: 9px;
}
.footer-contact address, .footer-contact a, .footer-contact div {
  font-size: 0.97rem;
  color: #243121;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: fixed;
  z-index: 99000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #F3F5EA;
  color: #243121;
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(30,60,25,0.21);
  padding: 24px 28px 20px 28px;
  width: calc(100vw - 32px);
  max-width: 420px;
  font-size: 1rem;
  animation: cookie-banner-in 0.5s cubic-bezier(.77,.2,.32,1.0);
}
@keyframes cookie-banner-in {
  0% { opacity: 0; transform: translateX(-50%) translateY(60px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
}
.cookie-banner button {
  font-size: 0.97rem;
  padding: 9px 20px;
  border-radius: 16px;
  min-width: 100px;
}
.cookie-banner .cookie-btn-accept {
  background: #7CB342;
  color: #fff;
}
.cookie-banner .cookie-btn-accept:hover, .cookie-banner .cookie-btn-accept:focus {
  background: #568E20;
}
.cookie-banner .cookie-btn-reject {
  background: #B4B593;
  color: #fff;
}
.cookie-banner .cookie-btn-reject:hover, .cookie-banner .cookie-btn-reject:focus {
  background: #8D8F77;
}
.cookie-banner .cookie-btn-settings {
  background: #fff;
  color: #1A5632;
  border: 1px solid #7CB342;
}
.cookie-banner .cookie-btn-settings:hover, .cookie-banner .cookie-btn-settings:focus {
  background: #D1E7B0;
  color: #243121;
}

/* COOKIE MODAL (Preferences) */
.cookie-modal {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%,-45%) scale(1);
  background: #FFFFFF;
  box-shadow: 0 8px 54px 0 rgba(42,60,21,0.23);
  border-radius: 22px;
  z-index: 99100;
  padding: 37px 36px 28px 36px;
  min-width: 270px;
  max-width: 97vw;
  width: 420px;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in .4s cubic-bezier(.77,.2,.32,1.0);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translate(-50%,-45%) scale(0.94); }
  90% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%,-45%) scale(1); }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #1A5632;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #E2EBCD;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #243121;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #DBEDCE;
  border-radius: 12px;
  position: relative;
  transition: background 0.16s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle span {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #7CB342;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
}
.cookie-toggle input:checked + span {
  left: 18px;
  background: #568E20;
}
.cookie-category .always-on {
  color: #7CB342;
  font-size: 0.9rem;
  font-weight: 500;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-size: 0.96rem;
  border-radius: 15px;
  padding: 9px 20px;
}

/* --- ORGANIC DECORATIVE ELEMENTS --- */
.section {
  /* Organic background texture effect */
  background-image: url('../assets/bg-organic-texture.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 280px 110px;
}
.card {
  /* Organic shape shadow */
  box-shadow: 0 8px 34px -1.5px rgba(124,179,66,0.016), 0 2px 14px 0 rgba(67,120,36,0.09);
  border-radius: 22px 28px 21px 20px;
}
.card:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -9px;
  left: -16px;
  width: 65px;
  height: 46px;
  border-radius: 34px 40px 38px 38px;
  background: rgba(124,179,66,0.07);
}

/* --- ANIMATION & SHADOW ON INTERACTIVES --- */
.cta-button, button, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(124,179,66,0.13), 0 3px 18px 0 rgba(42,60,21,0.10);
  transform: translateY(-2px) scale(1.016);
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 900px) {
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px;
  }
  nav {
    display: none !important;
  }
  .cta-button {
    margin-left: 8px;
    margin-bottom: 0;
  }
  .footer-nav, .footer-legal, .footer-contact {
    min-width: 140px;
  }
  footer .container {
    gap: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
    max-width: 98vw;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 44px;
    border-radius: 18px;
    background-size: 144px 58px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid, .footer-nav, .footer-legal {
    gap: 18px;
  }
  .card {
    min-width: 92vw;
    border-radius: 12px 15px 14px 12px;
  }
  .testimonial-card {
    min-width: 91vw;
    padding: 15px 10px;
    border-radius: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  .section, section {
    padding: 16px 2vw;
    margin-bottom: 27px; 
    border-radius: 11px;
  }
  main {
    margin-bottom: 23px;
    margin-top: 18px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.18rem;
    margin-top: 12px;
  }
  h3 {
    font-size: 1.03rem;
    margin-top: 8px;
  }
  .cookie-banner {
    padding: 13px 7px 10px 7px;
    font-size: 0.93rem;
  }
  .cookie-modal {
    padding: 18px 9px 15px 9px;
    min-width: 0;
    width: 96vw;
  }
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 3px solid #7CB342 !important;
  outline-offset: 0.5px;
  z-index: 10002;
}
::-webkit-input-placeholder { color: #8D8F77; }
::-moz-placeholder { color: #8D8F77; }
:-ms-input-placeholder { color: #8D8F77; }
::placeholder { color: #8D8F77; }

/* --- ORGANIC-INSPIRED ELEMENTS --- */
.section, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  box-shadow: 0 2px 16px 0 rgba(67,120,36,0.09);
}
section {
  border-radius: 40px 20px 36px 31px;
  border: 1.5px solid #E7F2DA;
}

/* --- UTILITY CLASSES (if needed in html) --- */
.flex-row { display: flex; flex-direction: row; gap: 19px; }
.flex-col { display: flex; flex-direction: column; gap: 16px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Prevent unwanted overlap / ensure spacing */
.card, .testimonial-card, .section, section {
  margin-bottom: 20px;
}

/* Hide cookie modal backdrop when not open */
.cookie-modal:not(.open) {
  pointer-events: none;
  opacity: 0;
}

/* --- END --- */
