/* =======================
   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,
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 { 
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px; 
  background-color: #F2F7F2;
  scroll-behavior: smooth;
}
body {
  background: #F2F7F2;
  color: #205242;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 100px; /* space for cookie banner */
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #009E60;
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: #e86a20;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
}
[tabindex]:focus, a:focus {
  outline: 3px solid #fae03a;
  outline-offset: 2px;
}

/* ===============
   COLOR VARIABLES
   =============== */
:root {
  --primary: #205242;
  --secondary: #ADE793;
  --accent: #F2F7F2;
  --vibrant-green: #15d98a;
  --electric-yellow: #fae03a;
  --electric-orange: #e86a20;
  --electric-blue: #2db5fa;
  --electric-pink: #ff4db5;
  --danger: #e74c3c;
  --shadow: 0 3px 16px 0 rgba(43,66,74,.08);
}

/* ===============================
   TYPOGRAPHY – VIBRANT ENERGETIC
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  line-height: 1.1;
  color: #009E60;
  text-shadow: 0 3px 24px rgba(21,217,138,0.12);
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
  position: relative;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.2rem;
}
p {
  font-weight: 400;
  font-size: 1.05rem;
  margin-bottom: 1.25em;
  color: var(--primary);
}
.subheadline {
  color: var(--electric-blue);
  font-size: 1.33rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 22px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* ===================
   MAIN LAYOUT & FLEX
   =================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 5px 48px 0 rgba(0, 158, 96, 0.11);
  border-radius: 20px;
  padding: 28px;
  flex: 1 1 240px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-9px) scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 50px 0 rgba(43,66,74,0.25);
  border: 2px solid var(--electric-yellow);
  z-index: 2;
}

.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;
  background: #fffbe9;
  color: #222;
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(42,213,124,0.08);
  margin-bottom: 20px;
  font-size: 1.13rem;
  line-height: 1.5;
  position: relative;
  border-left: 7px solid var(--electric-yellow);
}
.testimonial-card p { color: #205242; font-weight: 500; }
.testimonial-card strong { color: var(--electric-orange); font-weight: 700; font-size: 1rem; }

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

/* Spacing for list and ul elements in content */
.content-wrapper ul,
.content-wrapper ol {
  margin-left: 26px;
  margin-bottom: 1.2em;
}
.content-wrapper ul li,
.content-wrapper ol li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #205242;
  position: relative;
  padding-left: 12px;
}
.content-wrapper ul li::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--vibrant-green);
  border-radius: 50%;
  position: absolute;
  left: -18px; top: 6px;
  display: inline-block;
}
.content-wrapper ol li {
  counter-increment: list;
  position: relative;
}
.content-wrapper ol {
  counter-reset: list;
}
.content-wrapper ol li::before {
  content: counter(list) '.';
  color: var(--electric-yellow);
  font-weight: bold;
  position: absolute;
  left: -22px;
  top: 0;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(21, 217, 138, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
}
header nav a img {
  height: 38px;
  margin-right: 12px;
  vertical-align: middle;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.075rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
header nav a.cta-btn {
  background: linear-gradient(90deg, var(--vibrant-green) 65%, var(--electric-yellow) 100%);
  color: #205242;
  border-radius: 18px;
  padding: 10px 25px;
  margin-left: 16px;
  box-shadow: 0 3px 18px 0 rgba(21,217,138,0.15);
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
}
header nav a.cta-btn:hover {
  background: linear-gradient(90deg, var(--electric-yellow) 10%, var(--vibrant-green) 100%);
  color: var(--primary);
  transform: scale(1.06);
  box-shadow: 0 6px 32px 0 rgba(250,224,58,0.22);
}

/* Burger Menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg, var(--electric-yellow) 65%, var(--electric-orange) 100%);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2.3rem;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 12px;
  z-index: 1201;
  box-shadow: 0 4px 20px 0 rgba(21,217,138,0.08);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--electric-orange);
  transform: scale(0.94);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 80px 10px rgba(21,217,138, 0.11);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(.7,.2,.42,1.01), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  appearance: none;
  border: none;
  font-size: 2rem;
  color: #205242;
  background: none;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.18s, transform 0.15s;
}
.mobile-menu-close:focus {
  color: var(--danger);
  outline: 3px solid var(--danger);
  outline-offset: 3px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 auto;
  width: 85vw;
  max-width: 420px;
  padding: 26px 20px 12px 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  padding: 14px 0;
  border-radius: 9px;
  background: linear-gradient(90deg,var(--electric-yellow),var(--secondary));
  box-shadow: 0 1px 6px 0 rgba(21,217,138,0.10);
  margin-bottom: 3px;
  text-align: left;
  transition: background 0.15s, color 0.15s, transform 0.12s;
}
.mobile-nav a:hover {
  background: linear-gradient(90deg,var(--electric-orange), var(--electric-yellow));
  color: var(--electric-blue);
  transform: scale(1.03);
}


/* ====================
   MAIN PAGE ELEMENTS 
   ==================== */
main {
  margin-top: 30px;
  margin-bottom: 38px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(42, 213, 124, 0.05);
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}

/* call-to-action button */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--vibrant-green), var(--electric-yellow), var(--electric-blue));
  color: var(--primary);
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  margin: 16px 0;
  box-shadow: 0 5px 32px 0 rgba(71,212,111,0.13);
  transition: background 0.22s, color 0.17s, transform 0.17s, box-shadow 0.22s;
  cursor: pointer;
  text-align: center;
  text-shadow: 0 2px 16px rgba(250,224,58,0.09);
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--electric-yellow), var(--vibrant-green));
  color: var(--electric-pink);
  outline: none;
  box-shadow: 0 8px 40px 0 rgba(250,224,58,0.13), 0 2px 0 var(--electric-yellow);
  transform: translateY(-2px) scale(1.05) rotate(-2deg);
}

/* cert-logos */
.cert-logos {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  align-items: center;
}
.cert-logos img {
  width: 48px;
  height: 48px;
}

/* SOCIAL MEDIA ICONS */
.social-media {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.social-media a img {
  width: 32px;
  height: 32px;
  transition: filter 0.15s, transform 0.15s;
  filter: grayscale(0.55) brightness(1.13);
}
.social-media a:hover img {
  filter: grayscale(0) brightness(1.22) drop-shadow(0 2px 6px var(--electric-yellow));
  transform: scale(1.09) rotate(-5deg);
}

/* ICONS in text */
.content-wrapper img[alt*="icon-"] {
  display: inline-block;
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 8px;
  margin-left: 0;
  margin-bottom: -6px;
}

/* ===========
   FOOTER
   =========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  margin-top: 60px;
}
footer section {
  background: none;
  box-shadow: none;
  padding: 24px 0 20px 0;
  margin: 0;
  border-radius: 0;
}
footer nav, .footer-info {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.02rem;
}
footer nav a {
  color: var(--electric-yellow);
  font-weight: 600;
  padding: 6px 7px;
}
footer nav a:hover {
  color: #fff;
  background: var(--electric-yellow);
  border-radius: 5px;
}
footer .footer-info {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}
footer .footer-info img {
  width: 18px; height: 18px;
  margin-right: 6px;
}
footer .social-media a img {
  filter: brightness(0) invert(1); /* White icons */
}
footer .social-media a:hover img {
  filter: invert(63%) sepia(87%) saturate(553%) hue-rotate(58deg) brightness(1.2) contrast(0.98);
}
footer .container {
  padding-left: 8px; padding-right: 8px;
}

/* =====================
   RESPONSIVE STYLES
   ===================== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 980px) {
  header nav { flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section, section {
    padding: 26px 7px;
    margin-bottom: 40px !important;
    border-radius: 14px;
  }
  .container {
    max-width: 100vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper,
  .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container { flex-direction: column; }
  .card { min-width: 80vw; padding: 18px; }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .feature-item {
    gap: 7px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 11px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .cta-btn {
    padding: 12px 14px;
    font-size: 1.02rem;
  }
}

/* Show desktop nav only on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #205242;
  color: #fff;
  box-shadow: 0 -3px 18px 0 rgba(21,217,138,0.13);
  z-index: 5001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px 18px 22px;
  font-size: 1.01rem;
  transition: transform 0.35s cubic-bezier(.71,.03,.2,1.13);
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner .cookie-banner-content {
  flex: 1;
  min-width: 0;
  margin-right: 24px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  transition: background 0.2s, color 0.14s, transform 0.13s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(21,217,138,0.09);
}
.cookie-banner .accept {
  background: var(--vibrant-green);
  color: #205242;
}
.cookie-banner .accept:hover {
  background: var(--electric-yellow);
  color: #e86a20;
}
.cookie-banner .reject {
  background: var(--electric-orange);
  color: #fff;
}
.cookie-banner .reject:hover {
  background: var(--danger);
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid var(--electric-yellow);
  color: var(--electric-yellow);
}
.cookie-banner .settings:hover {
  background: var(--electric-yellow);
  color: #205242;
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-banner-content {
    margin-bottom: 12px;
    margin-right: 0;
  }
}

/* =========================
   COOKIE PREFERENCES MODAL 
   ========================= */
.cookie-modal-overlay {
  display: none;
  background: rgba(32,82,66, 0.84);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 8050;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 12px 44px 0 rgba(42,213,124,0.18);
  padding: 32px 32px 24px 32px;
  position: relative;
  animation: popin-modal 0.39s cubic-bezier(.7,.01,.29,1.02) both;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes popin-modal {
  0% { transform: scale(0.68) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  margin-bottom: 11px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205242;
  margin-left: 7px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  margin-right: 4px;
  accent-color: var(--electric-yellow);
}
.cookie-category .essential {
  font-weight: 700;
  color: var(--vibrant-green);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-save {
  background: var(--vibrant-green);
  color: #205242;
  border-radius: 14px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.19s, color 0.15s;
}
.cookie-modal .cookie-save:hover {
  background: var(--electric-yellow);
}
.cookie-modal .cookie-cancel {
  background: none;
  border: 2px solid var(--vibrant-green);
  color: var(--vibrant-green);
  border-radius: 14px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.13s, color 0.15s;
}
.cookie-modal .cookie-cancel:hover {
  background: var(--vibrant-green);
  color: #205242;
}
.cookie-modal-close {
  position: absolute;
  right: 25px; top: 18px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #205242;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 9px;
  transition: background 0.12s;
}
.cookie-modal-close:hover { background: var(--accent); }

/* =======================
   ANIMATIONS & EFFECTS
   ======================= */
.card, .testimonial-card, .cta-btn, .mobile-nav a, .cookie-banner button, .cookie-modal {
  transition: 
    box-shadow 0.18s cubic-bezier(.7,.25,0,1),
    transform 0.18s cubic-bezier(.7,.25,0,1),
    background 0.22s cubic-bezier(.91,.12,0,1),
    color 0.18s cubic-bezier(.62,.22,0,1);
}
.content-wrapper, .card-container, .content-grid { gap: 24px; }

/* =============
   FORM STYLES  (futureproof for forms)
   ============= */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1.09rem;
  margin-bottom: 14px;
  width: 100%;
  color: var(--primary);
  background: #f5fff9;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--electric-yellow);
  outline: none;
}
label {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}

/* Misc Helpers */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* =============
   HIEROGLYPHIC BUTTON SHINE EFFECT
   ============= */
.cta-btn {
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '';
  position: absolute;
  left: -65%;
  top: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250,224,58,0.25) 0%, rgba(255,255,255,0.20) 100%);
  transform: skewX(-25deg);
  animation: shine 2.8s infinite linear;
  z-index: 1;
}
@keyframes shine {
  0% { left: -70%; }
  90% { left: 110%; }
  100% { left: 110%; }
}

/* =============
   ACCESSIBILITY
   ============= */
body, .content-wrapper, nav, .mobile-nav {
  -webkit-tap-highlight-color: rgba(15,223,98,.25);
}

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