/* CSS RESET & 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3EFE7;
  color: #38533E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #38533E;
  transition: color 0.2s cubic-bezier(.55,.06,.68,.19);
}
a:focus {
  outline: 2px dotted #A2C47A;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}

/* Brand Colors as vars */
:root {
  --primary: #38533E;
  --secondary: #A2C47A;
  --accent: #F3EFE7;
  --danger: #E4572E;
  --blue: #25A9E0;
  --yellow: #FFCD38;
  --pink: #FF55C1;
  --bright-green: #70E691;
  --shadow: 0 6px 32px 0 rgba(56,83,62,0.11);
  --radius: 20px;
}

/* FUN, PLAYFUL FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  color: #38533E;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 24px; position:relative; z-index:1;}
h3 { font-size: 1.4rem; margin-bottom: 12px; }
.lead { font-size: 1.2rem; margin-bottom: 2rem; color: #38533E; font-family: 'Montserrat', 'Roboto', sans-serif; }
strong { font-weight: bold; }
.emphasis { color: var(--blue); font-weight:bold; }

/* ADDITIONAL PLAYFUL FONT WEIGHT FOR DYNAMIC LOOK */
.section h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 6px;
  background: var(--yellow);
  border-radius: 6px;
  margin-top: 6px;
  animation: playful-bar 2s ease-in-out infinite alternate;
}
@keyframes playful-bar {
  0% { width:24px; background: var(--blue); }
  100% { width:48px; background: var(--yellow);}
}

/* GENERAL CONTAINER & SECTION PADDING */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.section:not(:first-child) {
  margin-top: 32px;
}

/* HERO STYLES: PLAYFUL DECORATIVE EFFECTS */
section:first-of-type {
  background: linear-gradient(105deg, var(--yellow) 0%, var(--accent) 60%, var(--bright-green) 100%);
  position:relative;
  overflow:hidden;
}
section:first-of-type:before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 120px; height: 120px;
  background: var(--pink);
  opacity: 0.18;
  border-radius: 50%;
  z-index: 0;
  animation: hero-bubble 8s linear infinite alternate;
}
section:first-of-type:after {
  content: '';
  position: absolute;
  left: -40px; bottom: -50px;
  width: 80px; height: 80px;
  background: var(--blue);
  opacity: 0.13;
  border-radius: 50%;
  z-index: 0;
  animation: hero-bubble-2 7s linear infinite alternate;
}
@keyframes hero-bubble {
  0% {transform:scale(1) translateY(0);}
  100% {transform:scale(1.15) translateY(20px);}
}
@keyframes hero-bubble-2 {
  0% {transform:scale(1);}
  100% {transform:scale(1.12) translateY(-8px);}
}

/* FEATURE/INFO FLEX GRIDS (MANDATORY FLEX LAYOUTS, NO GRID) */
.feature-grid,
.service-cards,
.service-cards-detailed,
.card-container,
.content-grid,
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .service-cards > div, .service-cards-detailed > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(56,83,62,0.10);
  padding: 28px 20px 20px 20px;
  margin-bottom: 20px;
  position:relative;
  transition: box-shadow .2s, transform .22s;
  z-index:1;
}
.feature-grid > div:hover, .service-cards > div:hover, .service-cards-detailed > div:hover {
  box-shadow: 0 7px 40px 0 rgba(56,83,62,0.16);
  transform: translateY(-6px) scale(1.03) rotateZ(-1deg);
}
.feature-grid img, .service-cards img {
  width: 48px; height:48px; margin-bottom: 14px;
  filter: drop-shadow(0 2px 10px rgba(56,83,62,0.11));
  animation: wobble 2.5s ease-in-out infinite alternate;
}
@keyframes wobble {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 18px;
  min-width: 240px; max-width: 100%;
  transition: box-shadow .20s, transform .20s;
  z-index:1;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(60, 165, 35, 0.14);
  transform: translateY(-3px) scale(1.04);
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(56,83,62,0.07);
  border: 2px solid var(--secondary);
  position: relative;
  min-width:220px;
  max-width: 680px;
  width: 100%;
  z-index:1;
  color: #222;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-family: "Montserrat", "Roboto", sans-serif;
  color: #38533E;
  line-height: 1.44;
  margin-bottom: 10px;
}
.testimonial-card p {
  font-size: 0.98rem;
}

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

/**************** BUTTONS ****************/
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.92em 2.2em;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 1.17rem;
  border-radius: 48px;
  font-weight: 700;
  background-color: var(--yellow);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 18px 0px rgba(56,83,62,0.09);
  margin-top: 18px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s, transform 0.14s;
  text-decoration: none;
  letter-spacing: -0.5px;
  outline: none;
}
.cta-btn.primary {
  background: var(--primary);
  color: #fff;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(56,83,62,0.13);
  transform: translateY(-3px) scale(1.04) rotateZ(-1deg);
}
.cta-btn.secondary {
  background: var(--yellow);
  color: var(--primary);
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 8px 28px 0 rgba(162,196,122,0.15);
  transform: translateY(-2px) scale(1.03) rotateZ(1deg);
}
.cta-btn:active {
  transform: scale(0.98);
}

/************** FORMS (if present) **************/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 11px;
  border: 1.5px solid var(--secondary);
  background: #fff;
  padding: 10px 15px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.18s;
  box-shadow: 0 2px 6px rgba(56,83,62,.04);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}
label {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/************** NAVIGATION **************/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(56,83,62,0.09);
  z-index: 1050;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 11px;
  transition: background .15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* HIDE mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}

/************** MOBILE MENU **************/
.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 320px;
  max-width: 94vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  padding: 28px 26px 16px 32px;
  transition: transform 0.38s cubic-bezier(.87,-0.41,.19,1.44);
  box-shadow: -8px 0 32px 0px rgba(56,83,62,0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  opacity: 1;
  visibility: visible;
}
.mobile-menu.menu-open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  margin-bottom: 24px;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background .15s;
}
.mobile-menu-close:hover {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 12px 0 12px 6px;
  border-radius: 8px;
  color: var(--primary);
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/************** FOOTER **************/
footer {
  background: #fff;
  border-top: 4px solid var(--secondary);
  margin-top: 60px;
  padding: 35px 0 18px 0;
  box-shadow: 0 4px 20px rgba(162,196,122,0.07);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  margin-bottom: 12px;
  min-width:110px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding:6px 8px;
  border-radius:9px;
  transition: background 0.18s;
}
.footer-menu a:hover { background: var(--secondary); }
.footer-contact {
  display: flex;
  flex-direction: column;
  font-size: 0.99rem;
  color: var(--primary);
  gap:4px;
}
footer address {
  font-style: normal;
  margin-bottom: 2px;
}

/************ UTILITY ***********/
.price {
  font-size: 1.18rem;
  color: var(--blue);
  font-weight: bold;
  margin-top: 8px;
}
.info-box {
  background: var(--yellow);
  padding: 16px 19px;
  border-radius: 12px;
  color: #38533E;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.08rem;
  line-height: 1.45;
  margin: 10px 0 18px 0;
}
.impact, .service-highlights {
  background: var(--accent);
  border-radius: 13px;
  padding: 14px 18px;
  margin-bottom: 14px;
  width: 100%;
  box-shadow:0 2px 12px rgba(56,83,62,0.09);
}
.impact ul, .service-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size:1.09rem;
}

/******* SECTIONS: Margin fixes & spacing ********/
ul, ol {
  margin-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.section ul, .section ol {
  margin-bottom: 14px;
}
.section:not(:first-child) {
  background: #fff;
  box-shadow: var(--shadow);
}

/************ ANIMATIONS for playfulness **********/
.feature-grid > div, .card, .service-cards > div {
  animation: fadeUp 1.1s cubic-bezier(.22,1.03,.49,1) both;
}
@keyframes fadeUp {
  0% { opacity:0; transform: translateY(24px) scale(0.97); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/******** TESTIMONIAL CARDS ********/
.testimonial-card {
  box-shadow: 0 5px 22px 0 rgba(49, 117, 85, 0.10);
  border-left: 8px solid var(--yellow);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  left: 20px; top: 10px;
  font-size: 3.5rem;
  color: var(--yellow);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  opacity: 0.23;
}
.testimonial-card p strong {
  color: var(--primary);
}

/******** Responsive ********/
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .container {
    padding-left:10px; padding-right:10px;
  }
  .feature-grid > div, .card {
    min-width: 180px;
  }
  .footer-menu { gap: 12px; }
}
@media (max-width: 900px) {
  .feature-grid > div, .service-cards > div, .service-cards-detailed > div {
    flex: 1 1 99%;
    min-width: 99%;
    margin-bottom:20px;
  }
  .content-wrapper, .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .footer-contact {
    font-size:0.95rem;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .main-nav {gap:12px;}
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 7px;
    border-radius: 12px;
  }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.35rem; }
  .feature-grid, .service-cards, .service-cards-detailed, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    font-size: 2.15rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 6px 8px;
    margin-left: 14px;
    z-index: 2100;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 16px 9px;
    font-size: 1rem;
  }
  .footer-menu, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  h1 { font-size:1.2rem; }
  h2 { font-size:1.06rem; }
  .container {
    padding:0 3px;
  }
  .testimonial-card {
    border-left: 6px solid var(--yellow);
    font-size:0.96rem;
  }
}

/******** COOKIE CONSENT BANNER ********/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 4000;
  background: #fffbe9;
  box-shadow: 0 -2px 28px 0px rgba(56,83,62,0.08);
  border-top: 3.5px solid var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 22px 6vw 22px 6vw;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  transition: transform 0.22s;
  animation: slideUp 0.8s ease;
}
@keyframes slideUp {from { transform:translateY(100%);} to {transform:translateY(0);} }
.cookie-consent-banner .cookie-consent-message {
  color: var(--primary);
  flex:1 1 auto;
  min-width:170px;
}
.cookie-consent-banner .cookie-btn {
  display: inline-flex;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  padding: 11px 19px;
  margin: 0 6px;
  border-radius:22px;
  border:none;
  cursor: pointer;
  font-size:1.07em;
  transition: background 0.14s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: var(--bright-green);
  color: var(--primary);
  box-shadow: 0 2px 12px 0px rgba(112,230,145,0.13);
}
.cookie-btn.accept:hover {
  background: var(--secondary);
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 2px 12px 0px rgba(228,87,46,0.13);
}
.cookie-btn.reject:hover {
  background: #ad2e0f;
}
.cookie-btn.settings {
  background: var(--yellow);
  color: var(--primary);
  box-shadow: 0 2px 8px 0px rgba(255,205,56,0.11);
}
.cookie-btn.settings:hover {
  background: var(--blue);
  color:#fff;
}

/********* COOKIE CONSENT MODAL *********/
.cookie-modal-overlay {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(56,83,62,0.21);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 60px 0 rgba(56,83,62,0.22);
  padding:36px 30px 28px 30px;
  max-width: 420px;
  width:95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modalOpen .25s cubic-bezier(.52,.46,.64,.69);
}
@keyframes modalOpen {from{transform:scale(0.93);} to{transform:scale(1);}}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  width:100%;
  display:flex; align-items:center; gap:17px;
  margin-bottom:10px;
}
.cookie-category label {
  font-size:1.04rem; font-family:'Montserrat','Roboto',sans-serif; font-weight:500;
}
.cookie-category .cookie-switch {
  position:relative;
  width:38px; height:22px;
}
.cookie-switch input[type="checkbox"] {
  opacity:0; width:0; height:0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius:11px;
  transition: background .17s;
  cursor:pointer;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left:3px; top:3px; width:16px; height:16px;
  background: #fff;
  border-radius:50%;
  transition: transform .17s;
  box-shadow: 0 1px 2px rgba(56,83,62,0.13);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-modal .btn-group {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top:12px; right:16px;
  background: none; border:none; color:var(--primary);
  font-size:1.7rem; cursor:pointer; border-radius:8px; transition: background .15s;
  padding: 2px 8px;
}
.cookie-modal .cookie-modal-close:hover {
  background:var(--accent);
}

/************* MOBILITY/ACCESSIBILITY ************/
@media (max-width: 430px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap:16px;
    padding:22px 9px 22px 17px;
    font-size:0.99em;
  }
  .cookie-modal {
    padding:18px 6px 12px 13px; max-width:99vw;
  }
}

/******** PLAYFUL MICRO-INTERACTIONS ********/
.card, .feature-grid > div, .service-cards > div, .service-cards-detailed > div {
  will-change:transform,box-shadow;
}
.card:active,
.feature-grid > div:active,
.service-cards > div:active,
.service-cards-detailed > div:active {
  transform: scale(0.97);
  box-shadow: 0 2px 12px 0px rgba(56,83,62,0.12);
}

/********* Misc *********/
::-webkit-input-placeholder { color: #668066; }
::-moz-placeholder { color: #668066; }
:-ms-input-placeholder { color: #668066; }
::placeholder { color: #668066; }

/* Prevent overlapping on all flex containers */
.card, .container > *, .section > * {
  margin-bottom: 0;
}

/* Ensure no absolute positioning on main content cards or text */

/***** Provide clear focus ring for all buttons, links *****/
button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid var(--blue);
  outline-offset: 2px;
}

/***** END OF STYLE.CSS *****/
