/* --- CSS RESET, NORMALIZE & BASE TYPOGRAPHY --- */
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;
  height: 100%;
}
body {
  background: #FBF9F4;
  color: #244321;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.66;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1E6FB8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #387F36;
  text-decoration: underline;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* --- FONTS --- */
h1, h2, h3, h4, h5, h6, .display, .subtitle {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  color: #304B27;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.7em;
  line-height: 1.07;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3em;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}
p, .subtitle {
  font-family: 'Roboto', Arial, sans-serif;
}
.subtitle {
  color: #518735;
  font-size: 1.15rem;
  margin-bottom: 1.4em;
}
strong, b {
  font-weight: 700;
}

/* --- CONTAINER AND STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 36px;
  background: #FEFAF1;
  box-shadow: 0 2px 20px 0 rgba(60,70,26,0.09);
}
main > section {
  margin-bottom: 60px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .feature-grid,
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .container {
    padding: 0 10px;
  }
}

/* --- FLEX PATTERNS (MANDATORY) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(64,64,32,0.06);
  background: #FFF;
  position: relative;
  padding: 32px 24px;
}
.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 {
    display: flex;
    flex-direction: row;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFFDF8;
  box-shadow: 0 2px 12px 0 rgba(65,80,40,0.08);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 420px;
  flex: 1 0 250px;
  border: 1px solid #D9E8D2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}

/* --- NAVIGATION --- */
header {
  background: #F4F5EF;
  box-shadow: 0 2px 10px 0 rgba(60,70,26,0.06);
  padding: 0;
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1rem;
  color: #365021;
  padding: 6px 12px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
}
.main-nav img {
  height: 38px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}
.main-nav a.button-primary {
  background: #387F36;
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  margin-left: auto;
  box-shadow: 0 2px 8px 0 rgba(56,127,54,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.main-nav a.button-primary:hover,
.main-nav a.button-primary:focus {
  background: #304B27;
  box-shadow: 0 4px 16px 0 rgba(56,127,54,0.16);
  color: #FFD600;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E5F5DF;
  color: #387F36;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  border: none;
  background: none;
  color: #365021;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 50%;
  transition: background 0.2s;
  position: absolute;
  top: 14px;
  right: 16px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E5F5DF;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(252,249,241,0.98);
  z-index: 101;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.82,0,0.36,1);
  box-shadow: 0 4px 30px 0 rgba(46,51,33,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #fff;
  color: #244321;
  font-size: 2.2rem;
  border: none;
  border-radius: 60%;
  cursor: pointer;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 6px 0 rgba(107,137,80,0.12);
  transition: background 0.18s;
  z-index: 102;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E5F5DF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 80px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.3rem;
  color: #244321;
  background: #E5F5DF;
  border-radius: 18px;
  padding: 12px 24px;
  width: 80vw;
  text-align: center;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #387F36;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav a.button-primary {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    justify-content: flex-start;
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .main-nav a:not(.button-primary):not(:first-child) {
    display: none;
  }
  .main-nav img {
    margin-right: 0;
  }
  .main-nav a.button-primary {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .main-nav a.button-primary {
    font-size: 1rem;
    padding: 8px 18px;
  }
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 12px 10px;
    width: 90vw;
  }
}

/* --- BUTTONS --- */
.button-primary, .button-secondary {
  display: inline-block;
  font-family: 'Quicksand', 'Roboto', sans-serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 20px;
  padding: 13px 32px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.22s, color 0.22s, box-shadow 0.17s;
  min-width: 205px;
  margin-top: 12px;
}
.button-primary {
  background: #387F36;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(56,127,54,0.09);
}
.button-primary:hover, .button-primary:focus {
  background: #244321;
  color: #FFD600;
}
.button-secondary {
  background: #FFD600;
  color: #274F16;
  margin-left: 0;
  box-shadow: 0 2px 12px 0 rgba(107,137,80,0.07);
}
.button-secondary:hover, .button-secondary:focus {
  background: #F4DF91;
  color: #304B27;
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.98);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFFF9;
  color: #365021;
  box-shadow: 0 -2px 20px 0 rgba(47,72,16,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 25px 16px;
  z-index: 1100;
  gap: 14px;
  font-size: 1.05rem;
  animation: cookie-slide-in 0.6s cubic-bezier(.48,.2,.39,1) 1;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 9px;
}
.cookie-banner button,
.cookie-banner .button-secondary,
.cookie-banner .button-primary {
  min-width: 115px;
  font-size: 1rem;
  border-radius: 16px;
  padding: 10px 22px;
}
.cookie-banner .button-secondary {
  background: #E5F5DF;
  color: #274F16;
  border: none;
  font-weight: 700;
}
.cookie-banner .button-secondary:hover {
  background: #387F36;
  color: #fff;
}
.cookie-banner .button-primary:hover {
  background: #FFD600;
  color: #244321;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(86,119,60,0.32);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.32s cubic-bezier(.33,.3,.53,1);
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFFDF4;
  border-radius: 26px;
  padding: 32px 28px;
  width: 95vw;
  max-width: 420px;
  box-shadow: 0 4px 36px 0 rgba(48,75,39,0.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  color: #387F36;
  font-family: 'Quicksand', 'Roboto', sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-modal .cookie-category label {
  color: #244321;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 13px;
  background: #D9E8D2;
  outline: none;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #387F36;
}
.cookie-modal .cookie-toggle:checked::after {
  left: 20px;
  background: #FFD600;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  height: 20px;
  width: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s, background 0.16s;
  box-shadow: 0 1px 3px 0 rgba(107,137,80,0.13);
}
.cookie-modal button.close-modal {
  background: none;
  border: none;
  color: #274F16;
  font-size: 1.8rem;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background 0.17s;
}
.cookie-modal button.close-modal:hover,
.cookie-modal button.close-modal:focus {
  background: #D9E8D2;
}

/* --- CARD-LIKE BLOCKS --- */
.card,
.content-wrapper > div, /* direct children, unless testimonials */
.content-wrapper > .text-section {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(79,112,68,0.06);
  padding: 27px 20px;
  margin-bottom: 20px;
  min-width: 180px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F9F6ED;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(79,112,68,0.05);
  margin-bottom: 0;
}

/* --- ORGANIC VISUALS & TEXTURES --- */
section, .card, .testimonial-card, .feature-item, .feature-grid > div, .cookie-modal, .cookie-banner {
  border-radius: 26px;
}
section {
  background-color: #FEFAF1;
  border-radius: 36px;
  box-shadow: 0 2px 18px 0 rgba(48,75,39,0.032);
  margin-bottom: 60px;
  position: relative;
}

/* --- SPACING THEMES --- */
main > section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* --- ORGANIC BUTTON SHAPE --- */
.button-primary, .button-secondary {
  border-radius: 20px 32px 20px 32px / 30px 18px 32px 20px;
}
.mobile-nav a, .main-nav a.button-primary {
  border-radius: 28px 16px 24px 22px / 18px 28px 14px 22px;
}

/* --- SHADOWS --- */
.card, .testimonial-card, .feature-grid > div, .cookie-modal {
  box-shadow: 0 3px 22px 0 rgba(48,75,39,0.09);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #FFFDF8;
  color: #244321;
  border: 1px solid #E2E8D2;
  font-size: 1.09rem;
  box-shadow: 0 1px 12px 0 rgba(83,112,73,0.08);
  transition: box-shadow 0.18s, border 0.18s;
  min-width: 200px;
  max-width: 400px;
  margin: 0 auto 24px auto;
}
.testimonial-card .stars {
  color: #FFD600;
  font-size: 1.13rem;
  font-family: 'Quicksand', Arial, sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(38,64,22,0.13);
  border-color: #B0CF98;
}
.testimonial-card p {
  color: #274F16;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #557237;
  margin-top: 2px;
}

/* --- FAQ EXTRAS --- */
.faq-item {
  background: #FCFAF2;
  border-left: 5px solid #387F36;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px 0 rgba(56,127,54,0.06);
  padding: 20px 18px 20px 26px;
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.faq-item p {
  margin-bottom: 0;
  color: #416839;
}

/* --- FOOTER --- */
footer {
  background: #314B26;
  color: #F9F6ED;
  padding: 36px 0 16px 0;
  font-size: 1rem;
  margin-top: 48px;
  box-shadow: 0 -2px 12px 0 rgba(39,79,22,0.09);
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
footer img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFD600;
  font-family: 'Quicksand', Arial, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: 12px;
  padding: 4px 8px;
  transition: background 0.16s, color 0.13s;
}
.footer-nav a:hover {
  background: #E5F5DF;
  color: #274F16;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  flex: 1 1 220px;
}
.contact-info p {
  color: black;
}
.contact-info img {
  height: 20px;
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
footer .contact-info > div {
  display: flex;
  align-items: center;
}
footer .contact-info > div {
  color: black;
}
@media (max-width: 700px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav,
  .contact-info {
    align-items: flex-start;
  }
}

/* --- NATURAL COLOUR ACCENTS & TEXTURES --- */
section, .card, .testimonial-card, .feature-grid > div, .feature-item, .faq-item, .cookie-modal, .cookie-banner {
  /* Subtle texture overlay as background image (svg leaf, noise or similar can be added via ::before if needed. Keep solid for compatibility) */
  /* background-image: url('assets/textures/leaf-noise.svg'); */
}
h1, h2, h3 {
  color: #387F36;
}

/* --- MISC DEFAULTS & SMOOTH INTERACTIONS --- */
:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}
section:target {
  background: #E5F5DF;
  transition: background 0.7s;
}

.button-primary, .button-secondary, a {
  transition: background 0.21s, color 0.18s, box-shadow 0.17s, transform 0.14s;
}

.content-wrapper > .text-section > ul {
  margin-top: 1em;
  margin-bottom: 1.1em;
  color: #31582A;
}

/* --- RESPONSIVE FONT SIZES --- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.59rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .content-wrapper,
  .feature-grid,
  .section {
    padding: 20px 6px;
  }
}

/* --- UTILITIES --- */
.hide-mobile { display: none !important; }
.show-mobile { display: block !important; }
@media (min-width: 801px) {
  .hide-desktop { display: none !important; }
  .show-desktop { display: block !important; }
}

/* --- END: JollyBotik NATURE ORGANIC STYLE --- */