/* 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, main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F0EBE7;
  color: #231F20;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  color: #27613C;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
a:focus { outline: 2px solid #79A97E; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*:focus {
  outline: none;
  box-shadow: 0 0 0 2px #7fe495;
}

body {
  min-height: 100vh;
  background: #F0EBE7;
  transition: background 0.4s;
}

/* TYPOGRAPHY ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  color: #27613C;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #231F20;
}
strong, b {
  font-weight: bold;
}

/* LINKS */
a {
  position: relative;
  font-weight: 700;
  transition: color 0.2s, background 0.2s;
  border-radius: 5px;
}
a:hover {
  color: #fff;
  background: #79A97E;
  padding: 2px 8px;
}

.primary-cta, a.primary-cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #27613C;
  color: #fff !important;
  font-size: 1.125rem;
  padding: 0.8em 2em;
  margin-top: 18px;
  border: none;
  border-radius: 36px;
  font-weight: 900;
  text-shadow: 1px 2px 0 #79A97E20;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px #79A97E45;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
.primary-cta:hover, a.primary-cta:hover, .primary-cta:focus {
  background: #7FE495;
  color: #27613C !important;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 32px #79A97E30;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #79A97E;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 28px;
  padding: 0.7em 1.6em;
  margin: 10px 0 0 0;
  box-shadow: 0 2px 9px #79A97E30;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.19s;
  outline: none;
}
button:hover, button:focus {
  background: #27613C;
  color: #fff;
  transform: scale(1.07) rotate(3deg);
  box-shadow: 0 5px 20px #7fe49570;
}

/* CONTAINER & FLEX UTILS ---------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  /* App-wide spacing */
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

/* SECTION & CARD SPACING -------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px #27613C12;
  overflow: hidden;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 30px #7fe49542;
  transform: scale(1.035) rotate(1.7deg);
}

/content-grid, .feature_grid, .category_grid, .blog_post_list, .product_grid, .faq_list, .tips_grid, .category_list/  
.content-grid, .feature_grid, .category_grid, .blog_post_list, .product_grid, .faq_list, .tips_grid, .category_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px #27613C10;
  margin-bottom: 24px;
  position: relative;
  min-width: 220px;
  max-width: 400px;
  border: 2px dashed #79A97E70;
  font-style: italic;
  font-size: 1.08rem;
  transition: box-shadow 0.14s, border-color 0.19s;
}
.testimonial-card:hover {
  border-color: #7FE495;
  box-shadow: 0 6px 22px #79A97E33;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING & GAPS ------------------------------------ */
main section {
  margin-bottom: 60px;
  padding: 40px 0 24px 0;
}
main .content-wrapper > div, .feature_grid > div, .category_grid > div, .product_grid > div, .tips_grid > div, .faq_list > div, .blog_post_list > div, .category_list > div {
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px #7FE49518;
  padding: 24px 18px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.13s;
}
main .content-wrapper > div:hover, .feature_grid > div:hover, .category_grid > div:hover, .product_grid > div:hover, .blog_post_list > div:hover, .category_list > div:hover, .tips_grid > div:hover {
  box-shadow: 0 8px 32px #79A97E29;
  transform: scale(1.01) rotate(-1.5deg);
}

/* SECTION HEADINGS playful underline */
h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
h2:after {
  content: '';
  display: block;
  width: 64px;
  height: 7px;
  background: #79A97E;
  border-radius: 6px;
  position: absolute;
  left: 0;
  bottom: -8px;
  opacity: 0.55;
  z-index: 1;
  transition: width 0.18s;
}
h2:hover:after {
  width: 110px;
  background: #7FE495;
}

/* HEADER & NAVIGATION ------------------------------- */
header {
  background: #27613C;
  box-shadow: 0 2px 9px #27613C22;
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 16px 18px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 34px;
  border-radius: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 0 10px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 13px;
  background: transparent;
  transition: background 0.18s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #7FE495;
  color: #27613C;
}
header .primary-cta {
  margin-left: 16px;
  margin-bottom: 0;
}

/* ------ MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: none;
  background: #7FE495;
  color: #27613C;
  font-size: 2rem;
  border: none;
  border-radius: 24px;
  padding: 6px 18px;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 202;
  transition: background 0.14s;
  box-shadow: 0 2px 12px #79A97E50;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #79A97E;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 340px;
  background: #27613C;
  color: #fff;
  z-index: 203;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.55,.77,.56,1.16);
  box-shadow: -2px 0 24px #79A97E33;
  padding: 36px 22px 18px 22px;
}
.mobile-menu.open {
  transform: translateX(0) !important;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.12s;
}
.mobile-menu .mobile-menu-close:hover, .mobile-menu .mobile-menu-close:focus {
  color: #7FE495;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 13px 11px;
  border-radius: 10px;
  margin-bottom: 7px;
  background: transparent;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7FE495;
  color: #27613C;
}

/* Hide navigation in header on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ------------------------------------- LAYOUTS ---- */
@media (max-width: 768px) {
  .content-wrapper, .feature_grid, .category_grid, .product_grid, .blog_post_list, .faq_list, .tips_grid, .category_list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  .section, main section {
    padding: 18px 0 12px 0;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 7px;
  }
  .testimonial-card {
    padding: 18px;
    max-width: 98vw;
    font-size: 0.98rem;
  }
  .card, main .content-wrapper > div {
    padding: 18px 8px;
    min-width: 98vw;
  }
}

/* --------------------------------- FOOTER --------- */
footer {
  background: #27613C;
  color: #fff;
  padding: 36px 0 12px;
  box-shadow: 0 -2px 12px #7FE49511;
  margin-top: 40px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 13px;
}
.footer-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 7px 10px;
  border-radius: 8px;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #7FE495;
  color: #27613C;
}
.brand-signature {
  text-align: center;
  font-size: 0.94em;
  color: #e4f7ec;
  margin-top: 10px;
}

/* ------------ PLAYFUL ICON ANIMATIONS ------------- */
img[alt*="icon"], .feature_grid img, .category_grid img {
  width: 52px;
  margin-bottom: 9px;
  filter: drop-shadow(0 6px 8px #79A97E25);
  transition: transform 0.12s cubic-bezier(.7,.99,.12,1.23);
}
img[alt*="icon"]:hover, .feature_grid img:hover, .category_grid img:hover {
  transform: scale(1.3) rotate(-9deg);
}

/* --------- TESTIMONIALS (readable!) --------------- */
.testimonial-card p, .testimonial-card span {
  color: #231F20;
}
.testimonial-card span:last-child {
  font-size: 1.2em;
  color: #F9B200;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ECO-NEWSLETTER playful accent */
main section:last-of-type ul {
  margin: 18px 0 12px 16px;
  list-style-type: disc;
  color: #27613C;
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
main section:last-of-type ul li {
  margin-bottom: 10px;
  margin-left: 16px;
}

/* BLOG CTA: playful links */
.eco-resources-links {
  margin-top: 18px;
  color: #27613C;
  font-size: 1.1em;
}
.eco-resources-links a {
  margin: 0 9px;
  font-size: 1em;
  color: #79A97E;
  text-decoration: underline;
}
.eco-resources-links a:hover {
  background: #7FE49540;
  border-radius: 11px;
  color: #27613C;
}

/* FAQ playful accordion style */
.faq_list > div {
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s;
}
.faq_list > div:hover {
  background: #F0EBE7;
  box-shadow: 0 4px 16px #27613C13;
}

/* CONTACT ICONS */
.content-wrapper ul li img {
  height: 24px;
  width: 24px;
  vertical-align: text-bottom;
  margin-right: 7px;
}

/* --------------------- COOKIE CONSENT BANNER ------- */
#cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: #231F20;
  box-shadow: 0 -3px 25px #79A97E23;
  border-top: 3px solid #79A97E80;
  z-index: 401;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 26px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieAppear 0.53s cubic-bezier(.32,1.18,.47,1.12);
}
@keyframes cookieAppear {
  0%{ transform: translateY(90px); opacity:0; } 100%{ transform: none; opacity:1; }
}
#cookie-consent-banner button {
  background: #27613C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 21px;
  padding: 8px 20px;
  margin-right: 10px;
  font-weight: 700;
  margin-top: 0;
  transition: background 0.13s, color 0.14s, transform 0.14s;
}
#cookie-consent-banner button:hover, #cookie-consent-banner button:focus {
  background: #7FE495;
  color: #27613C;
  transform: scale(1.06);
}
#cookie-consent-banner .cookie-settings-btn {
  background: #79A97E;
  color: #fff;
  margin-right: 0;
}
#cookie-consent-banner .cookie-settings-btn:hover {
  color: #27613C;
  background: #F0EBE7;
  border: 2px solid #79A97E;
}
@media (max-width: 540px){
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 7px 18px 13px;
    font-size: 0.97rem;
  }
}

/* Cookie modal popup */
#cookie-modal {
  position: fixed;
  z-index: 700;
  left: 50%; top: 48%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  box-shadow: 0 9px 42px #79A97E40, 0 24px 44px #27613C13;
  border-radius: 24px;
  min-width: 310px; max-width: 98vw;
  padding: 38px 24px 28px 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalPop 0.43s cubic-bezier(.24,.87,.54,1.34);
}
@keyframes cookieModalPop {
  0%{ transform: translate(-50%,40%) scale(0.86); opacity:0;} 100%{ transform:translate(-50%,-50%) scale(1); opacity:1; }
}
#cookie-modal.open { display: flex; }
#cookie-modal h3{
  font-family: 'Montserrat', Arial, sans-serif;
  color: #27613C;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
#cookie-modal label {
  font-size: 1rem;
  margin-left: 10px;
  user-select: none;
}
#cookie-modal input[type='checkbox'] {
  accent-color: #79A97E;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-top: 0;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 1.02rem;
}
#cookie-modal .cookie-category.essential label {
  color: #b8b8b8;
  font-style: italic;
}
#cookie-modal .close-cookie-modal {
  position: absolute;
  right: 24px;
  top: 22px;
  background: transparent;
  color: #79A97E;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s;
}
#cookie-modal .close-cookie-modal:hover{ color: #27613C; }
#cookie-modal .cookie-modal-buttons{
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
#cookie-modal .cookie-modal-buttons button{
  padding: 9px 22px;
  background: #79A97E;
  color: #fff;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.12s, color 0.13s;
}
#cookie-modal .cookie-modal-buttons button:hover{
  background: #7FE495;
  color: #27613C;
}
@media(max-width:520px){
  #cookie-modal {
    min-width: 94vw;
    padding: 19px 8px 22px 8px;
  }
}

/* ------------------ SCROLLBAR STYLES -------------- */
body {
  scrollbar-color: #79A97E #F0EBE7;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 11px;
  background: #F0EBE7;
}
::-webkit-scrollbar-thumb {
  background: #79A97E;
  border-radius: 6px;
}

/* ------------------ SMALL ANIMATIONS/MICRO-INTERACTIONs */
.card, main .content-wrapper > div {
  animation: popin 0.7s cubic-bezier(.23,1.17,.52,1);
}
@keyframes popin {
  0% {transform: scale(.86) translateY(18px); opacity:0;}
  70%{transform: scale(1.02) translateY(-6px);}
  100%{transform: scale(1) translateY(0); opacity:1;}
}
.primary-cta, button, a.primary-cta{
  animation: bouncein 0.8s cubic-bezier(.07,1.17,.52,1.08);
}
@keyframes bouncein {
  0% {transform: scale(.8) rotate(-10deg); opacity:0;}
  75%{transform: scale(1.1) rotate(2deg);}
  100%{transform: scale(1) rotate(0); opacity:1;}
}

/* --- PLAYFUL LISTS - BULLETS/NUMBERS ------------- */
ul:not(.footer-menu) li:before {
  content: '🌱';
  margin-right: 12px;
  font-size: 1em;
  color: #79A97E;
}
ul.footer-menu li:before {
  content: none;
}

/* Misc playful accents */
main .content-wrapper > div, .testimonial-card, .card {
  border: 2.4px solid #7fe49511;
}
main .content-wrapper > div:hover, .testimonial-card:hover, .card:hover {
  border-color: #7FE495;
  box-shadow: 0 8px 32px #79A97E25;
}

table, th, td { border: 1px solid #79A97E22; border-collapse: collapse; }
td, th { padding: 7px 15px; }

/* FORCE ONLY FLEX (No grid/column usage) ----------- */
/* Already enforced above: .card-container, .content-grid, .feature-item, etc. */

/* --------- END OF CSS FILE ---------- */
