/* ======================
   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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1EFEA;
  color: #1D2D21;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style-position: outside;
  margin-left: 1.5em;
}
*:focus {
  outline: 2px solid #FFC600;
  outline-offset: 2px;
}

/* ======================
   FONT IMPORTS
   ====================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F1EFEA;
  color: #18422E;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #22543D;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1.125rem;
  color: #20523F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #1C331B;
}

/* ===============
   BRAND COLORS
   =============== */
:root {
  --color-primary: #22543D;
  --color-secondary: #5A7D30;
  --color-accent: #F1EFEA;
  --color-electric-green: #0EEB47;
  --color-electric-blue: #08C8F6;
  --color-electric-yellow: #FFC600;
  --color-electric-orange: #FF6900;
  --color-electric-pink: #FF2E63;
  --color-dark: #18422E;
  --color-dark-bg: #163B2A;
  --color-light-text: #F9FAF7;
  --color-text-dark: #18422E;
  --color-text-light: #F1EFEA;
  --color-shadow: rgba(34,84,61,0.09);
}

/* ====================
  CONTAINER & LAYOUT
   ==================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(34,84,61,0.08);
}

/* Feature grid & team profiles (no CSS grid allowed) */
.feature-grid, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .team-profiles > .text-section {
  flex: 1 1 280px;
  background: #F1EFEA;
  border-radius: 18px;
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow .2s, transform .2s;
  border: 2px solid var(--color-secondary);
}
.feature-grid > div:hover {
  box-shadow: 0 6px 36px 0 var(--color-electric-green);
  transform: translateY(-3px) scale(1.03) rotate(-2deg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 var(--color-shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 var(--color-electric-blue);
  transform: scale(1.025) rotate(1deg);
}

.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: 14px;
  margin-bottom: 20px;
}

.map-placeholder {
  margin: 24px auto 0 auto;
  padding: 20px 24px;
  background: var(--color-accent);
  border: 2px dashed var(--color-secondary);
  border-radius: 16px;
  font-size: 1.08rem;
  color: var(--color-primary);
  max-width: 410px;
  text-align: center;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  min-width: 230px;
  max-width: 420px;
  background: #FFFAF4;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(34,84,61,0.11);
  font-size: 1.1rem;
  line-height: 1.6;
  border-left: 5px solid var(--color-electric-yellow);
  color: #161613;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-left-color .2s, transform .2s;
}
.testimonial-card:hover {
  border-left-color: var(--color-electric-green);
  box-shadow: 0 8px 32px 0 var(--color-electric-green);
  transform: translateY(-2px) scale(1.02) rotate(1deg);
}
.rating-summary {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 8px;
}

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

/* List style for ul in text-section */
.text-section ul {
  list-style: disc inside;
  padding-left: 16px;
  margin-bottom: 8px;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1.07rem;
}

/* =================
   HEADER & NAVBAR
   ================= */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 22px rgba(34,84,61,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
  z-index: 19;
}
header > a img {
  height: 48px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: #22543D;
  padding: 6px 8px;
  border-radius: 7px;
  border: none;
  transition: color .16s, background .19s;
}
header nav a:hover,
header nav a:focus {
  color: #08C8F6;
  background: #E7F9F8;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  background: linear-gradient(90deg,#0EEB47 0,#08C8F6 100%);
  color: #18422E;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  margin-left: 18px;
  box-shadow: 0 2px 22px var(--color-shadow);
  cursor: pointer;
  transition: background .28s, color .17s, box-shadow .2s, transform .12s;
  text-transform: uppercase;
  letter-spacing: .04em;
  position: relative;
  z-index: 11;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg,#FF2E63 0,#FFC600 100%);
  color: #18422E;
  box-shadow: 0 6px 32px #08C8F660;
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 22px;
  z-index: 40;
  transition: color .22s;
}
.mobile-menu-toggle:hover {
  color: var(--color-electric-pink);
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #18422E;
  color: #F1EFEA;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.79,0,.47,1), opacity .33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 27px 26px 0 0;
  font-size: 2.2rem;
  color: var(--color-electric-yellow);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: color .19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 55px 0 0 44px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 0 45px 45px 0;
  transition: background .18s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric-blue);
  color: #18422E;
  padding-left: 18px;
}

/* =============
   FOOTER
   ============= */
footer {
  background: #FFF;
  border-top: 6px solid var(--color-electric-green);
  padding: 40px 0 20px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  width: 62px;
  height: auto;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
footer nav a {
  color: var(--color-primary);
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  padding: 6px 0;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-electric-green);
}
footer .text-section p {
  color: #22543D;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 7px;
}

/* ===============
   PAGE SECTIONS
   =============== */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ==============
   HERO STYLING
   ============== */
main > section:first-child {
  background: linear-gradient(90deg, #0EEB47 0 18%, #08C8F6 85%);
  color: #18422E;
  border-radius: 0 0 100px 0;
  padding: 64px 20px 62px 20px;
  box-shadow: 0 6px 44px 0 rgba(8,200,246,0.09);
}
main > section:first-child .container {
  color: #18422E;
}
main > section:first-child h1,
main > section:first-child p {
  color: #18422E;
}
main > section:first-child .cta-primary {
  background: linear-gradient(90deg,#FF2E63 0,#FFC600 100%);
  color: #18422E;
}
main > section:first-child .cta-primary:hover,
main > section:first-child .cta-primary:focus {
  background: linear-gradient(90deg,#08C8F6 0,#0EEB47 100%);
}

/* CTA sections at end of page */
main > section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
main > section .content-wrapper h2 {
  color: var(--color-electric-pink);
}

/* ==========================
   BUTTONS & LINK ELEMENTS
   ========================== */
button,
input[type="submit"],
.cta-primary {
  cursor: pointer;
  box-shadow: 0 2px 22px 0 rgba(8,200,246,0.09);
  border: none;
  border-radius: 100px;
  transition: background .21s, box-shadow .17s, color .13s, transform .11s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.cookie-banner.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-banner-inner {
  background: #18422E;
  color: #F1EFEA;
  border-radius: 19px 19px 0 0;
  box-shadow: 0 -2px 18px rgba(8,200,246,0.22);
  padding: 22px 30px 20px 30px;
  margin: 14px 10px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
  font-size: 1rem;
}
.cookie-banner-inner p {
  color: #E8FFE5;
  margin-bottom: 14px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner-buttons button {
  padding: 10px 23px;
  font-size: 1.01rem;
  background: #08C8F6;
  color: #18422E;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  transition: background .2s, color .13s;
}
.cookie-banner-buttons button.accept {
  background: #0EEB47;
  color: #18422E;
}
.cookie-banner-buttons button.reject {
  background: #FF2E63;
  color: #FFF;
}
.cookie-banner-buttons button.settings {
  background: #FFC600;
  color: #18422E;
}
.cookie-banner-buttons button:hover, .cookie-banner-buttons button:focus {
  background: #FFF;
  color: #18422E;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 12000;
  top: 0; left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,82,63,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-inner {
  background: #FFF;
  color: #18422E;
  border-radius: 26px;
  max-width: 420px;
  width: 94vw;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 8px 56px #08C8F640;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  position: relative;
  animation: fadeDown .36s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px);} 
  to   { opacity: 1; transform: translateY(0);}
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FF2E63;
  cursor: pointer;
  transition: color .19s;
}
.cookie-modal-close:hover {
  color: #22543D;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
}
.cookie-category input[type='checkbox'] {
  width: 23px;
  height: 23px;
  accent-color: #0EEB47;
}
.cookie-modal-inner label {
  font-size: 1.04rem;
  color: #18422E;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category .cookie-essential {
  font-weight: 800;
  color: var(--color-electric-green);
}
.cookie-category input[disabled] {
  opacity: .5;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 15px;
}
.cookie-modal-actions button {
  padding: 12px 21px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal-actions .accept {
  background: #0EEB47;
  color: #18422E;
}
.cookie-modal-actions .reject {
  background: #FF2E63;
  color: #FFF;
}

/* ==========================
   ANIMATIONS
   ========================== */
.fade-in {
  animation: fade-in .6s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.slide-in-right {
  animation: slide-right .45s;
}
@keyframes slide-right {
  from { transform: translateX(50vw); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .feature-grid, .team-profiles {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 800px;
  }
  header nav {
    gap: 12px;
  }
  .feature-grid > div, .team-profiles > .text-section {
    padding: 20px 12px 12px 15px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  header .cta-primary {
    display: none;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  main > section, .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .feature-grid, .team-profiles, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid > div, .team-profiles > .text-section, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 21px;
  }
  .rating-summary {
    text-align: left;
    font-size: 1.05rem;
    margin-top: 13px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .feature-grid > div, .team-profiles > .text-section {
    padding: 13px 8px 10px 10px;
  }
}
@media (max-width: 410px) {
  main > section, .section {
    padding: 18px 4px;
  }
  .cookie-banner-inner {
    padding: 11px 7px 13px 8px;
    font-size: 0.93rem;
  }
  .cookie-modal-inner {
    padding: 17px 5px 14px 7px;
  }
}
/* ============================
  Focus and accessibility
============================ */
a, button, .cta-primary {
  transition: box-shadow .15s, outline .16s;
}
a:focus, .cta-primary:focus, .mobile-nav a:focus {
  outline: 2.5px solid #0EEB47;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FFC600;
}

/* ===============
   MICRO EFFECTS
   =============== */
.cta-primary:active,
button:active {
  transform: scale(.98);
}
.card:active,
.feature-grid > div:active {
  transform: scale(.99) rotate(2deg);
}
.mobile-menu-toggle:active {
  transform: scale(0.93) rotate(-12deg);
}
.mobile-menu-close:active {
  transform: scale(0.98) rotate(9deg);
}

/* ===== Extra decorative touches for energetic style ===== */
.feature-grid > div::after {
  content: '';
  display: block;
  width: 46px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #0EEB47 5%, #08C8F6 100%);
  margin: 12px 0 0 0;
}
.feature-grid > div:hover::after {
  background: linear-gradient(90deg,#FF2E63,#FFC600);
}


/* Ensure no overlap and keep spacing! */
.card, .testimonial-card, .feature-grid > div, .section, main > section, .container {
  box-sizing: border-box;
}

/* END CSS */
