/* CSS Reset and Normalize */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  width: 100vw;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #245C3C;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #F7B801;
  outline: none;
}
ul, ol {
  list-style: none;
}

:root {
  --color-primary: #245C3C;
  --color-secondary: #D9E2C9;
  --color-accent: #F7B801;
  --color-bg-light: #f9fafb;
  --color-error: #FF6978;

  --font-display: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* General Containers & Utilities */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  gap: 12px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 28px;
  box-shadow: 0 4px 28px 0 rgba(39,86,65,0.08);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px 0 rgba(39,86,65,0.10);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s cubic-bezier(.47,1.64,.41,.8), box-shadow .2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-0.5deg);
  box-shadow: 0 12px 32px -2px rgba(39,86,65,.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: 14px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(39,86,65,0.13);
  margin-top: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), cursive, sans-serif;
  font-weight: bold;
  color: var(--color-primary);
  text-shadow: 0 1px 0 #fff6, 0 2px 8px #245c3c08;
  letter-spacing: .01em;
  margin-bottom: 8px;
}
h1 { font-size: 2.75rem; line-height: 1.12; }
h2 { font-size: 2rem; margin-bottom: 4px; }
h3 { font-size: 1.31rem; margin-bottom: 2px; }
h4 { font-size: 1.1rem; }

p, li {
  font-family: var(--font-body), Arial, sans-serif;
  color: #2a332a;
  font-size: 1rem;
}
strong {color: var(--color-primary); font-weight: bold;}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #fff;
  box-shadow: 0 1px 12px 1px rgba(36,92,60,0.04);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-left: 14px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  color: var(--color-primary);
  transition: background .18s, color .18s;
  background: none;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
header .cta {
  margin-left: 22px;
  font-family: var(--font-display);
  background: var(--color-accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 28px;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px 0 rgba(247,184,1,.11);
  transition: background .18s, transform .16s;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
header .cta:hover,
header .cta:focus {
  background: #FDBD22;
  color: #245C3C;
  transform: scale(1.05);
}

button.mobile-menu-toggle {
  font-size: 2rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  padding: 10px 18px;
  border-radius: 50%;
  margin-left: 14px;
  cursor: pointer;
  display: none;
  transition: background .2s, color .2s, transform .17s;
  outline: none;
}
button.mobile-menu-toggle:active,
button.mobile-menu-toggle:focus {
  background: #ffecb2;
  color: #111;
  transform: scale(1.09);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(249,250,251,0.97);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.17,1,.46,1.11);
  display: flex;
  flex-direction: column;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--color-error);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.4rem;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  cursor: pointer;
  transition: background .18s;
  outline: none;
  box-shadow: 0 2px 18px 0 rgba(255,105,120,0.12);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {background: #F7B801; color:var(--color-primary);}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 66px;
  align-items: flex-start;
  padding-left: 50px;
}
.mobile-nav a {
  font-size: 1.34rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 11px 24px 11px 10px;
  border-radius: 24px;
  color: var(--color-primary);
  transition: background .16s, color .18s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(95deg, var(--color-secondary) 79%, #F7B80111 100%);
  min-height: 345px;
  display: flex;
  align-items: center;
  padding: 48px 0 40px 0;
  border-radius: 0 0 36px 36px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 2.4rem;
  margin-bottom: 22px;
  text-shadow: 0 2px 10px #fff6;
  animation: fadeInUp .95s .13s both;
}
.hero p {
  font-size: 1.14rem;
  line-height: 1.6;
  margin-bottom: 22px;
  color: #373737;
  animation: fadeInUp .95s .25s both;
}
.hero .cta {
  animation: popCta .8s .35s both;
}
@keyframes fadeInUp {
  0% {opacity:0; transform: translateY(30px);}
  100% {opacity: 1; transform: none;}
}
@keyframes popCta {
  0% {opacity:0; transform: scale(0.7);}
  80% {opacity:0.8; transform: scale(1.07);}
  100% {opacity:1; transform: scale(1);}
}

/* Features & Cards (feature-grid) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 218px;
  background: #fff;
  border-radius: 19px;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 3px 13px -2px #245c3c18;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: box-shadow .18s, transform .16s;
  border: 2.5px solid transparent;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px -7px #245c3c44;
  border-color: var(--color-accent);
  transform: translateY(-3px) scale(1.026) rotate(-1deg);
}
.feature-grid img {
  width: 44px; height: 44px; object-fit: contain; margin-bottom: 4px;
  filter: drop-shadow(0 2px 5px #F7B80144);
  animation: bounceIn .85s both;
}
@keyframes bounceIn {
  0% { transform: scale(0.2) rotate(-80deg); opacity: 0; }
  68% { transform: scale(1.07) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}
.feature-grid h3 {
  font-size: 1.17rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: .01em;
}
.feature-grid p, .feature-grid ul li {
  color: #406144;
}
.feature-grid a {
  margin-top: 10px;
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 7px 15px;
  box-shadow: none;
  transition: background .17s, color .15s, transform .15s;
}
.feature-grid a:hover, .feature-grid a:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}

/* CTA Banner Section */
.cta-banner {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  padding: 40px 0;
  border-radius: 30px;
  margin-top: 48px;
  box-shadow: 0 3px 24px -7px #c3b63638;
}
.cta-banner h2,
.cta-banner p {
  color: var(--color-primary);
  margin-bottom: 14px;
  text-shadow: none;
}
.cta-banner .cta {
  background: #fff;
  color: var(--color-accent);
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  padding: 12px 34px;
  border-radius: 26px;
  margin-top: 13px;
  box-shadow: 0 3px 17px 0 rgba(36,92,60,0.07);
  transition: background .16s, color .17s, transform .14s;
  cursor: pointer;
}
.cta-banner .cta:hover,
.cta-banner .cta:focus {
  background: #FFEDC2;
  color: var(--color-primary);
  transform: scale(1.04);
}

/* Footer */
footer {
  width: 100%;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 48px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 30px 30px 0 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 16px;
  transition: background .14s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center;
  font-size: 0.99rem;
  margin-bottom: 18px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
}
.footer-contact img {
  width: 19px; height: 19px;
}
.legal {
  text-align: center;
  font-size: 0.9rem;
  color: #387B52;
  margin-top: 6px;
  opacity: .82;
  font-family: var(--font-body);
}


/* Testimonials */
.testimonial-card {
  background: #fff;
  color: #31452b;
  border-radius: 15px;
  border: 2px solid #F7B80144;
  box-shadow: 0 3px 16px -5px #245c3c19;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.09rem;
  color: #333;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}


/* Lists/Links/Buttons General */
ul, ol {
  margin-bottom: 16px;
  padding-left: 18px;
  color: #344B34;
  font-size: 1rem;
  line-height: 1.78;
}
ul li, ol li {
  margin-bottom: 4px;
  position: relative;
}
ul li::before {
  content: '\2728';
  color: var(--color-accent);
  font-size: 0.92em;
  margin-right: 7px;
}
/* Remove icon for list in Contacts */
ul li img {
  margin-right: 4px;
}
ul li img + span, ul li img + a {
  margin-left: 6px;
}

button, .cta {
  font-family: var(--font-display);
  border: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 25px;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 11px 28px;
  transition: background .18s, color .18s, transform .15s;
  box-shadow: 0 2px 10px 0 rgba(36,92,60,0.06);
  outline: none;
  cursor: pointer;
}
button:hover, button:focus, .cta:hover, .cta:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

/* Accessibility for focus */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed #F7B801;
  outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #31452b;
  box-shadow: 0 -3px 20px 0 #245c3c19;
  padding: 28px 14px 22px 14px;
  border-radius: 21px 21px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 5000;
  animation: slideUpBanner .55s .12s both cubic-bezier(.28,2,.38,1);
}
@keyframes slideUpBanner {
  0% {transform: translateY(120%); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-consent-banner p {
  color: #31452b;
  margin-bottom: 8px;
  font-size: 1.07rem;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-consent-banner button, .cookie-consent-banner .cta {
  font-family: var(--font-display);
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .16s, color .13s, transform .11s;
  box-shadow: 0 1px 8px 0 #f7b80128;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.06);
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  padding: 9px 15px;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(1);
  background: #fff;
  z-index: 5500;
  box-shadow: 0 8px 38px 0 #245c3c32;
  padding: 32px 24px 26px 24px;
  border-radius: 23px;
  min-width: 290px;
  max-width: 95vw;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalPopIn .37s .07s both cubic-bezier(.36,1.61,.5,1.25);
}
@keyframes modalPopIn {
  0% {transform: translate(-50%,-58%) scale(0.7); opacity: 0;}
  80% {transform: translate(-50%,-51%) scale(1.10);}
  100% {transform: translate(-50%,-48%) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.23rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #31452b;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-close {
  margin-left: auto;
  background: #eee;
  color: #31452b;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  right: 10px; top: 10px;
  cursor: pointer;
  transition: background .18s, color .13s;
}
.cookie-modal .cookie-close:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {max-width: 1000px;}
  .feature-grid > div {flex-basis: 270px;}
}
@media (max-width: 960px) {
  .container {max-width: 820px;}
  .feature-grid > div {flex-basis: 215px;}
}
@media (max-width: 800px) {
  .container {max-width: 99vw;}
  .content-grid,
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 700px) {
  header nav, header .cta {display: none;}
  button.mobile-menu-toggle {display: inline-block;}
  .mobile-menu {padding-top: 0;}
  .cookie-modal {padding: 22px 8px 18px 12px;}
  .cookie-consent-banner {padding: 20px 4vw;}
  .section {padding: 24px 5vw;}
}
@media (max-width: 530px) {
  .footer-contact, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .hero {padding: 28px 0 20px 0;}
  .cta-banner {padding: 22px 0;}
}
@media (max-width: 400px) {
  .hero h1 {font-size: 1.17rem;}
  .cta-banner h2 {font-size: 1.2rem;}
  .section {padding: 14px 1vw;}
}

/* Misc Fun Details for Playful Dynamic Style */
h1, h2, h3, .cta, .cookie-consent-banner, .cookie-modal, .feature-grid > div {
  animation-timing-function: cubic-bezier(.15,1.2,.42,1.08);
}
h1, h2, h3 {animation: fadeInUp .77s .09s both;}

.cta {
  box-shadow: 0 3px 12px -4px #F7B80182;
  border-bottom: 3px solid #FFEDC2;
}
.cta:active {box-shadow: 0 1px 5px 0 #F7B80122;}

/* Decorative fun underline for section headings */
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  border-radius: 5px;
  margin-top: 4px;
  background: var(--color-accent);
  opacity: .9;
}

/* Decorative Confetti (optional, animated) */
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: -1;
  background: repeating-linear-gradient(120deg, #F7B80133 0 2px, transparent 3px 40px), repeating-linear-gradient(-60deg, #D9E2C9cc 0 4px, transparent 5px 43px);
  opacity: .17;
  animation: moveBg 7s linear infinite;
}
@keyframes moveBg {
  0% {background-position: 0 0, 0 0;}
  100% {background-position: 100px 255px, 100px 30px;}
}

/* Hide visually when needed */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  border: 0 !important; clip: rect(1px,1px,1px,1px) !important;
  overflow: hidden !important;
}

/* Keep enough spacing everywhere (20px rule etc.) */
.section, .feature-grid, .card, .testimonial-card, .footer-contact, .footer-nav, .content-grid, .feature-item {
  margin-bottom: 20px;
}

/* Extra Fun Dynamic Effects for Hover */
.feature-grid > div {
  transition: box-shadow .19s cubic-bezier(.45,1.23,.64,.97), border-color .18s, transform .13s;
}
.feature-grid > div:active {
  transform: scale(0.97) rotate(-0.9deg);
  box-shadow: 0 1px 6px 0 #F7B80122;
}

/********************************************
 * End of CSS for Playful/Dynamic Flexbox UI*
 ********************************************/
