/* ===================================
   RESET & BASE STYLES
=================================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #2e332c;
  background-color: #F4F9FC;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #175B3A;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #12497A;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===================================
   BRANDING COLORS (Nature-Organic)
=================================== */
:root {
  --color-primary: #12497A; /* Deep sea blue */
  --color-secondary: #F4F9FC; /* Soft off-white */
  --color-accent: #B5D6B2; /* Nature green (custom for organic) */
  --color-accent-alt: #175B3A; /* Deep natural green */
  --color-highlight: #F1C40F; /* Sun yellow accent */
  --color-brown: #977656; /* Soil brown, for earthy shadow feel */
  --color-beige: #F7F3EB; /* Sand/beige for section backgrounds */
  --color-gray: #788374; /* Natural calm gray */
  --color-danger: #a3483e;
}

/* ===================================
   TYPOGRAPHY
=================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #175B3A;
  margin-bottom: 0.8em;
  line-height: 1.18;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.15rem;
  }
}
p, ul, ol, li, blockquote {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2e332c;
}
strong, b {
  color: #12497A;
  font-weight: bold;
}
blockquote {
  border-left: 4px solid var(--color-accent-alt);
  padding: 0 0 0 18px;
  font-style: italic;
  color: #41712b;
  margin: 0 0 16px 0;
  font-size: 1.12em;
  background-color: var(--color-beige);
  border-radius: 0 18px 18px 0;
}

/* ===================================
   LAYOUT & CONTAINER
=================================== */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-beige);
  border-radius: 24px;
  box-shadow: 0 4px 28px 0 rgba(29,47,41,.07);
  /* Subtle organic feel, gentle rounded corners! */
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(51,62,41,.09);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1;
  transition: box-shadow 0.22s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(51,62,41,.17);
  transform: translateY(-2px) scale(1.02);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

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

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 14px 20px;
  box-shadow: 0 1px 5px 0 rgba(120,131,116,0.08);
}

/* ===================================
   HEADER & NAVIGATION
=================================== */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 20px 0 rgba(60,90,40,.07);
  padding-top: 8px;
  padding-bottom: 8px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #175B3A;
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
  border-radius: 0 0 8px 8px;
}
header nav a:hover, header nav a:focus {
  color: #12497A;
  border-bottom: 2px solid var(--color-accent-alt);
}
.cta-primary {
  background: linear-gradient(92deg, var(--color-accent-alt) 61%, var(--color-accent));
  color: #fff;
  border: none;
  padding: 11px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 26px;
  box-shadow: 0 2px 14px 0 rgba(44,87,54,.11);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.22s, box-shadow 0.18s, color 0.14s, transform 0.12s;
  position: relative;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(92deg, #12497A 34%, var(--color-accent-alt) 95%);
  color: #fffbe5;
  box-shadow: 0 7px 22px 0 rgba(44,87,54,.18);
  transform: translateY(-1px) scale(1.02);
}
.cta-secondary {
  background: #fff;
  color: var(--color-accent-alt);
  border: 2px solid var(--color-accent-alt);
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 26px;
  font-size: 1rem;
  transition: background 0.18s, color 0.16s, border 0.16s;
  margin-top: 16px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent-alt);
  color: #fff;
  border-color: var(--color-accent-alt);
}

@media (max-width: 1020px) {
  header nav {
    gap: 18px;
  }
  .cta-primary {
    padding: 10px 22px;
    font-size: 0.98rem;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent-alt);
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 12px;
  border-radius: 10px;
  transition: background 0.13s, color 0.17s;
  z-index: 9992;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent-alt);
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,249,241,0.92);
  z-index: 9998;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.92,0,.37,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent-alt);
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 10501;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(185,210,178,0.13);
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 8px;
  padding: 0 36px;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-accent-alt);
  font-weight: 600;
  border-bottom: 1px solid #D6E7D1;
  width: 100%;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #b5d6b26B;
  color: #12497a;
  border-radius: 4px;
}

/* ===================================
   MAIN / SECTIONS
=================================== */
main {
  background: none;
  padding-top: 32px;
  min-height: 60vh;
}

@media (max-width: 630px) {
  main {
    padding-top: 10px;
  }
}

/* ATUTY / FEATURED ICON LIST */
ul li img, ol li img {
  height: 32px;
  width: 32px;
  margin-right: 14px;
  vertical-align: middle;
  display: inline-block;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.62;
}

/* BLOG POST & LISTS */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-post {
  background: #fff;
  border-radius: 17px;
  padding: 22px 20px 16px 22px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px 0 rgba(96,120,70,0.07);
  transition: box-shadow 0.18s;
}
.blog-post:hover {
  box-shadow: 0 10px 32px 0 rgba(51,62,41,.14);
}

.blog-categories,
.news-highlights {
  margin-top: 12px;
  background: var(--color-beige);
  border-radius: 13px;
  padding: 14px 16px;
}
.blog-categories ul,
.news-highlights ul {
  margin-left: 9px;
  margin-bottom: 0;
}

/* ===================================
   TESTIMONIALS & CARDS
=================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 0 rgba(44,82,44,0.11);
  flex-wrap: wrap;
  min-width: 250px;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  font-style: italic;
  color: #2e332c;
  border-left: 5px solid var(--color-accent-alt);
  background: #F4F9FC;
  border-radius: 0 15px 15px 0;
  padding: 0 18px 0 18px;
  margin-bottom: 5px;
}
.testimonial-card p {
  font-weight: 500;
  color: #214c2f;
}
.stars {
  display: flex;
  gap: 2.5px;
  margin-left: 16px;
}
.stars img {
  height: 18px;
  width: 18px;
  filter: drop-shadow(0 0 1px #e9e3c7);
}

/* FORM/INPUT BASES (for newsletter, etc.) */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: inherit;
  border-radius: 10px;
  border: 1.5px solid #cee0c9;
  padding: 9px 13px;
  background: #f7f3eb;
  margin-bottom: 12px;
  font-size: 1rem;
  transition: border 0.15s, box-shadow 0.17s;
}
input:focus, textarea:focus {
  border-color: #175B3A;
  outline: none;
  box-shadow: 0 0 0 1.5px #B5D6B2;
}

/* ===================================
   FOOTER
=================================== */
footer {
  background: var(--color-secondary);
  border-top: 2px solid #dbe9e1;
  padding: 28px 0 18px;
  margin-top: 0px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}
footer a img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--color-accent-alt);
  font-family: 'Montserrat', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: .97rem;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #12497A;
  text-decoration: underline;
}
footer .text-section {
  font-size: .95rem;
  line-height: 1.46;
  color: #3f3f32;
  margin-left: 24px;
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 18px;
  }
  footer .text-section {
    margin-left: 0;
  }
}

/* ===================================
   COOKIE CONSENT BANNER & MODAL
=================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe5;
  color: #223b34;
  box-shadow: 0 0 28px 0 rgba(94, 131,62, 0.15);
  padding: 20px 17px 17px 20px;
  z-index: 20000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookiebanner-in 0.72s cubic-bezier(.5,.06,.43,1.25) forwards;
}
@keyframes cookiebanner-in {
  from {transform: translateY(140%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 17px;
  padding: 9px 22px;
  border: none;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.12s;
}
.cookie-accept {
  background: var(--color-accent-alt);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #12497A;
}
.cookie-reject {
  background: #fff;
  border: 2px solid #a3483e;
  color: #a3483e;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f9e6e2;
  color: #842811;
  border-color: #842811;
}
.cookie-settings {
  background: #fff;
  border: 2px solid var(--color-accent-alt);
  color: var(--color-accent-alt);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #b5d6b236;
  color: #12497A;
  border-color: #12497A;
}
@media (max-width: 630px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: .95rem;
    padding: 14px 7px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 7px;
    justify-content: flex-start;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 20001;
  background: rgba(55, 70, 53, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: cookiemodal-in 0.46s cubic-bezier(.5,.05,.5,1) forwards;
}
@keyframes cookiemodal-in {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal-content {
  min-width: 320px;
  max-width: 92vw;
  background: #F4F9FC;
  border-radius: 20px;
  padding: 32px 30px 24px 24px;
  box-shadow: 0 7px 30px 0 rgba(51,62,41,0.23);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.32rem;
  color: #175B3A;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  justify-content: space-between;
  padding: 11px 0 6px 0;
  align-items: center;
  border-bottom: 1px solid #D6E7D1;
  font-size: 1.03rem;
}
.cookie-modal-content .cookie-switch {
  display: flex;
  align-items: center;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 19px;
  top: 15px;
  background: none;
  border: none;
  color: #12497A;
  font-size: 2rem;
  cursor: pointer;
}

/* Switch element for toggling */
.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 15px;
  background: #d0e4ce;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  margin-left: 10px;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-switch .slider {
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.22s, background 0.2s;
  box-shadow: 0 2px 5px 0 rgba(108,140,89,0.15);
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  background: var(--color-accent-alt);
  left: 22px;
}

/* Essential always-on (disabled) */
.toggle-switch input[type="checkbox"][disabled]+.slider {
  background: #A4B1A2;
  cursor: not-allowed;
}

/* ===================================
   SPACING UTILITIES
=================================== */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.py-32 { padding-top:32px; padding-bottom:32px; }

/* ============== RESPONSIVE FLEX ADJUSTMENTS ============== */
@media (max-width: 1020px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .section {
    margin-bottom: 36px;
  }
  .content-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 630px) {
  .container {
    padding: 0 3vw;
  }
  .card, .testimonial-card, .blog-post {
    min-width: 88vw;
    padding: 13px 7px;
    border-radius: 13px;
  }
}

/* ===================================
   BUTTONS & MICRO-INTERACTIONS
=================================== */
button, .cta-primary, .cta-secondary {
  transition: background 0.15s, color 0.13s, transform 0.12s, box-shadow 0.14s;
}
button:active, .cta-primary:active, .cta-secondary:active {
  filter: brightness(0.98);
  transform: scale(0.98);
}

/* ===================================
   ORGANIC DECORATIVE ELEMENTS (NATURE)
=================================== */
.section, .card, .testimonial-card, .blog-post {
  border-radius: 22px 36px 22px 22px/22px 22px 32px 22px;
}
@media (max-width: 630px) {
  .section, .card, .testimonial-card, .blog-post {
    border-radius: 13px 19px 13px 13px/12px 13px 17px 13px;
  }
}

/* Subtle organic shadow for cards */
.card, .testimonial-card, .blog-post {
  box-shadow: 0 3px 16px 0 rgba(151,118,86,0.12), 0 1px 2px 0 rgba(84,104,62,0.09);
}

/* Section background alternates for organic separation */
.section:nth-child(even) {
  background: #e2ecde; /* Subtle light green for organic variety */
}

/* Decorative shape as accent */
.section:before {
  content: "";
  position: absolute;
  left: -25px;
  top: 25px;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 32% 33%, #b5d6b2 43%, transparent 65%);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  display: block;
}
.section {
  position: relative;
  z-index: 1;
}

/* ===================================
   ACCESSIBILITY & FOCUS
=================================== */
:focus {
  outline: 2px solid var(--color-highlight);
  outline-offset: 1.5px;
}

/* Custom selection */
::selection {
  background: #b5d6b2;
  color: #12497A;
}

/* ===================================
   MISC - Z-INDEXS, HIDE/SHOW, ETC.
=================================== */
.hide {
  display: none;
}

/* ===================================
   PRINT STYLES (Optional)
=================================== */
@media print {
  nav, header, .mobile-menu, .cookie-banner, .cookie-modal { display:none !important; }
  .container, .section { box-shadow:none !important; background:#fff !important; }
}
