/* CSS RESET & BASELINE NORMALIZATION */
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.6;
  background: #F3F7F4;
  color: #23423b;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #287a36;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21409A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ============ BRAND COLOURS & ORGANIC NATURE PALETTE ============ */
:root {
  --brand-primary: #21409A;
  --brand-secondary: #DCF2FF;
  --brand-accent: #FEC700;
  --earth-brown: #725f48;
  --organic-green: #287a36;
  --organic-green-light: #DCF0E6;
  --cream-bg: #F3F7F4;
  --nature-bg: #F8FAF6;
  --organic-shadow: rgba(40, 122, 54, 0.08);
  --organic-shadow-2: rgba(114, 95, 72, 0.08);
  --organic-dark: #1d3d30;
  --testimonial-bg: #f6fff3;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--organic-dark);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.125rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, dd {
  font-size: 1rem;
  color: #23423b;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
.text-section {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.05rem; }
  h4 { font-size: 1rem; }
  body { font-size: 15px; }
}

/* ============ BUTTONS ============ */
.button-primary {
  display: inline-flex;
  align-items: center;
  background: var(--organic-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 30px 30px 18px 36px/30px 25px 30px 18px;
  box-shadow: 0 2px 12px var(--organic-shadow); 
  font-size: 1.13rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 12px;
}
.button-primary:hover, .button-primary:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px var(--organic-shadow);
}
.button-primary:active {
  background: var(--earth-brown);
}
.button-secondary, .button-tertiary, .cookie-btn {
  display: inline-flex;
  align-items: center;
  background: var(--brand-secondary);
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 18px 30px 22px 30px/18px 18px 22px 18px;
  font-size: 1rem;
  margin-right: 12px;
  transition: background 0.18s, color 0.18s;
  border: 1.5px solid var(--organic-green);
  cursor: pointer;
}
.button-secondary:hover, .button-tertiary:hover, .cookie-btn:hover {
  background: var(--organic-green-light);
  color: var(--organic-dark);
}
.button-tertiary {
  background: var(--brand-accent);
  color: var(--organic-dark);
  border: 1.5px solid var(--brand-accent);
}
.button-tertiary:hover {
  background: #fffbe5;
  color: var(--organic-green);
}
a.button-primary {
  text-align: center;
  justify-content: center;
  text-decoration: none;
}

/* ============ CONTAINER & FLEXBOX LAYOUTS ============ */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.content-wrapper {
  width: 100%;
}

/* ============ ORGANIC/NATURE SECTIONS ============ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-bg);
  border-radius: 44px 0 38px 34px / 38px 32px 44px 0;
  box-shadow: 0 2px 24px var(--organic-shadow-2);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section {
    padding: 26px 4vw;
    margin-bottom: 38px;
    border-radius: 28px 20px 28px 22px / 24px 18px 22px 24px;
  }
}

/* ============ FLEXBOX CARD & FEATURE GRIDS ============ */
.feature-grid,
.feature-icons-grid,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-grid {
  gap: 32px;
  justify-content: space-between;
}
.feature-icons-grid,
.card-grid,
.content-grid {
  gap: 20px;
}
.card-container {
  gap: 24px;
}

@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 20px 20px 24px;
  background: #fff;
  box-shadow: 0 2px 12px var(--organic-shadow-2);
  border-radius: 30px 24px 22px 38px/18px 28px 24px 16px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 10px 32px var(--organic-shadow-2);
  transform: translateY(-6px) scale(1.02);
}

.card {
  background: #fff;
  border-radius: 28px 28px 16px 38px/20px 24px 38px 18px;
  box-shadow: 0 2px 16px var(--organic-shadow-2);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 10px 34px var(--organic-shadow-2);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--testimonial-bg);
  border-left: 5px solid var(--organic-green);
  border-radius: 24px 36px 20px 28px/18px 14px 24px 18px;
  box-shadow: 0 2px 14px var(--organic-shadow);
  color: #26382D;
  transition: box-shadow 0.18s, border 0.15s;
}
.testimonial-card h3 {
  margin-bottom: 4px;
  margin-top: -10px;
}
.testimonial-card p {
  color: #23423b;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #73715a;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px var(--organic-shadow);
  border-left: 5px solid var(--brand-primary);
}

.testimonial-link {
  margin-top: 10px;
}
.testimonial-link a {
  color: var(--organic-green);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.18s;
}
.testimonial-link a:hover, .testimonial-link a:focus {
  color: var(--brand-primary);
}

.card-content .button-primary {
  margin-top: 12px;
  margin-left: 0;
}

/* ======= FAQ ACCORDION STYLE ======= */
.faq-accordion {
  margin: 24px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion dt {
  font-weight: 700;
  cursor: pointer;
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #ecf9ee;
  border-radius: 20px 20px 8px 22px/14px 10px 16px 14px;
  padding: 16px 24px 11px 19px;
  transition: background 0.13s;
  user-select: none;
}
.faq-accordion dt:hover, .faq-accordion dt:focus {
  background: #d1eae1;
}
.faq-accordion dd {
  padding: 0 21px 6px 34px;
  color: #34543f;
  background: #f9fdfb;
  border-radius: 0 0 13px 13px/0 0 10px 7px;
}

/* ======= LISTS ======= */
ul, ol {
  margin-bottom: 16px;
}
li {
  padding-left: 2px;
  margin-bottom: 8px;
}
.text-section ul, .feature-item ul {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* ============ HEADER & NAVIGATION ============ */
header {
  background: #e3efe8;
  border-bottom: 2px solid var(--organic-green-light);
}
header .container {
  padding-top: 18px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px 24px 14px 20px/10px 18px 10px 12px;
  padding: 4px 14px;
  transition: background 0.16s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--organic-green-light);
  color: var(--brand-primary);
}

/* Hide mobile menu on desktop */
.mobile-menu-toggle {
  display: none;
  background: var(--organic-green);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  top: 16px;
  right: 22px;
  z-index: 2000;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(31, 54, 33, 0.96);
  z-index: 3000;
  height: 100vh;
  width: 100vw;
  transition: transform 0.28s cubic-bezier(0.53,0.16,0.45,1), opacity 0.18s;
  transform: translateX(100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--brand-accent);
  color: var(--organic-dark);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 22px 18px 0 auto;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0px 2px 10px var(--organic-shadow-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FEC900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 32px;
  padding: 8px 34px 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  padding: 14px 7px;
  border-radius: 18px 33px 22px 15px/14px 18px 12px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--organic-dark);
}

/* ============ FOOTER ============ */
footer {
  background: #e3efe8;
  border-top: 1.5px solid var(--organic-green-light);
  padding: 38px 0 17px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--organic-dark);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 3.8px 9px;
  transition: background 0.14s, color 0.17s;
}
.footer-links a:hover {
  background: var(--organic-green-light);
  color: var(--brand-primary);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  font-size: 0.97rem;
  color: var(--earth-brown);
}
.footer-contact img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle !important;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: box-shadow 0.18s, background 0.16s;
  box-shadow: 0 2px 8px var(--organic-shadow);
}
.footer-socials a:hover {
  background: var(--organic-green-light);
  box-shadow: 0 4px 18px var(--organic-shadow-2);
}
.footer-socials img {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .footer-links {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-socials {
    margin-top: 0;
  }
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: rgba(243, 247, 244, 0.98);
  box-shadow: 0 -2px 24px var(--organic-shadow-2);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 24px 24px 0 0 / 12px 28px 0 0;
  transition: transform 0.26s cubic-bezier(0.23,0.88,0.36,0.95), opacity 0.13s;
  opacity: 1;
  transform: translateY(0);
  width: 100%;
}
@media(max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 26px 8px 18px 8px;
    font-size: 14px;
  }
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(32px);
}
.cookie-banner p {
  margin: 0;
  color: var(--organic-dark);
  font-size: 1rem;
}

.cookie-btn {
  margin: 0 8px 0 0;
  min-width: 120px;
  font-size: 1rem;
}
.cookie-btn.accept {
  background: var(--organic-green);
  color: #fff;
  border: 0;
}
.cookie-btn.accept:hover {
  background: var(--brand-primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--organic-green);
  border: 1.5px solid var(--organic-green);
}
.cookie-btn.reject:hover {
  background: var(--organic-green-light);
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: var(--organic-dark);
  border: 1.5px solid var(--brand-accent);
}
.cookie-btn.settings:hover {
  background: #fffbe5;
  color: var(--organic-green);
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 5100;
  background: rgba(45, 64, 54,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.19s;
  visibility: visible;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 30px 28px 34px;
  border-radius: 26px 30px 18px 34px/26px 18px 24px 20px;
  box-shadow: 0 6px 38px var(--organic-shadow-2);
  max-width: 400px;
  width: 96vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media(max-width:600px){
  .cookie-modal-content {
    padding: 21px 14px 18px 14px;
    font-size: 14px;
  }
}
.cookie-modal-content h3 {
  margin-bottom: 6px;
  color: var(--organic-green);
}
.cookie-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.cookie-modal-close {
  background: var(--brand-accent);
  color: var(--organic-dark);
  border: none;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  position: absolute;
  right: 10px;
  top: 10px;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: #ffe80a;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-toggle-label {
  font-weight: 500;
  color: var(--organic-dark);
}
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #eaeed9;
  border-radius: 34px;
  transition: background 0.18s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: var(--organic-green);
}
.cookie-toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s, background 0.18s;
  box-shadow: 0 2px 4px var(--organic-shadow);
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(15px);
  background: #fffbe5;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 9px; background: #fbfbfb; }
::-webkit-scrollbar-thumb { background: var(--organic-green-light); border-radius: 8px; }

/* ============ MISCELLANEOUS ============ */
hr {
  border: none;
  height: 1.5px;
  background: var(--organic-green-light);
  margin: 32px 0;
}

/* Utility spacing */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.ml-10 { margin-left: 10px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInSlideUp {
  0% { opacity:0; transform:translateY(24px); }
  100% { opacity:1; transform:translateY(0); }
}

section, .feature-item, .testimonial-card, .card {
  animation: fadeInSlideUp 0.87s cubic-bezier(0.18,0.78,0.36,1) both;
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ============ MOBILE OPTIMIZATION ============ */
@media (max-width:600px) {
  .container { padding-left: 7px; padding-right: 7px; }
  header .container { padding-top: 7px; padding-bottom: 3px; }
  footer { padding: 18px 0 10px 0; font-size: 0.97rem; }
  .footer-socials a {width:32px; height:32px;} .footer-socials img{width:18px;height:18px;}
}

/* ========== REMOVE UNWANTED SCROLL/OVERLAP ========== */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== ENSURE NO FLEXBOX OVERLAP ========== */
.feature-grid > *, .card-container > *, .content-grid > *, .footer-links > *, .testimonial-card, .feature-item, .card {
  margin: 0;
  min-width: 0;
  min-height: 0;
}

/* ========== THANK YOU & ERROR STYLES =========== */
.thankyou-section, .error-section {
  background: var(--organic-green-light);
  color: var(--organic-dark);
  border-radius: 18px 24px 18px 24px/18px 18px 18px 18px;
  padding: 28px;
  margin-bottom: 34px;
  text-align:center;
}

/* ========== PRINT FRIENDLY ============= */
@media print {
  header,.mobile-menu,footer,.cookie-banner,.cookie-modal { display: none !important;}
  section { box-shadow: none !important; }
}

