/* =====================
   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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #f6f5ee; /* subtle neutral earth background */
  color: #2e1e0f;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #226a3b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #18c1c3;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  color: #2b0a56;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
p, blockquote {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #3e2d19;
}
blockquote {
  font-style: italic;
  background: #eaf4e3;
  border-left: 4px solid #226a3b;
  padding: 12px 20px 12px 20px;
  margin: 0 0 12px;
  border-radius: 10px;
}
strong {
  color: #226a3b;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* ===========================
   BRAND IDENTITY COLOR PALETTE
   =========================== */
:root {
  --primary: #2b0a56;
  --secondary: #18c1c3;
  --accent: #ffe073;
  --earth-bg: #f6f5ee;
  --earth-green: #226a3b;
  --earth-brown: #94825c;
  --earth-sand: #e7dcc4;
  --earth-leaf: #86c684;
  --text-dark: #2e1e0f;
  --text-medium: #3e2d19;
  --card-bg: #ffffff;
  --card-alt-bg: #eaf4e3;
  --border: #e4e0d3;
  --shadow: rgba(49, 84, 43, 0.08);
}

/* ===========================
   SECTION & GENERAL SPACING
   =========================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 0;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ===========================
   FLEX LAYOUTS - FLEXBOX ONLY!
   =========================== */
.features-grid, .testimonial-list, .card-container, .card-grid, .content-grid, .footer-nav, .footer-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 20px;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1px solid var(--border);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(49, 84, 43, 0.16);
  transform: translateY(-2px) scale(1.012);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .features-grid, .testimonial-list, .footer-nav, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    align-items: stretch;
  }
}

/* =====================
   NAVIGATION HEADER
   ===================== */
header {
  background: linear-gradient(90deg, #e7dcc4 70%, #f6f5ee 100%);
  border-bottom: 1px solid #e4e0d3;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 0;
  font-size: 1rem;
  width: 100%;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 16px;
  color: var(--earth-green);
  transition: background 0.2s, color 0.2s;
  background: transparent;
}
.main-nav a.cta {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  border-radius: 32px 12px 32px 12px;
  box-shadow: 0 2px 10px var(--shadow);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.18s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--earth-leaf);
  color: var(--primary);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(24,193,195,0.12);
}
.main-nav img {
  height: 48px;
  margin-right: 14px;
}

/* Hamburger menu (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 12px;
  padding: 4px 12px;
  margin-left: auto;
  box-shadow: 0 1px 8px rgba(49, 84, 43, 0.10);
  cursor: pointer;
  transition: background 0.15s;
  z-index: 110;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============
   MOBILE MENU
   ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,55,19,0.94);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(.78,.12,.2,.96);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.8rem;
  color: #fff;
  margin: 20px 24px 0 0;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 4402;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 10vh 12vw 0 12vw;
  gap: 20px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.20rem;
  color: #fff;
  padding: 15px 0;
  border-radius: 0 16px 16px 0;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--earth-leaf);
  color: var(--primary);
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============
   GENERIC BUTTONS / CTA
   ============ */
.cta, button, input[type="button"], input[type="submit"] {
  appearance: none;
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 30px 14px 30px 14px;
  padding: 13px 32px 13px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--shadow);
  margin-top: 14px;
  margin-bottom: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  text-align: center;
}
.cta:hover, .cta:focus,
button:hover, button:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(24,193,195,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* ==============
   HERO / HEADLINES
   ============= */
section:first-child {
  background: #eaf4e3;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 2px 32px rgba(49,84,43,0.08);
}
@media (max-width: 768px) {
  section:first-child {
    border-radius: 0 0 16px 16px;
    padding: 22px 0;
  }
}

/* ===========
   FEATURES GRID
   =========== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div {
  background: var(--card-bg);
  border-radius: 20px 8px 24px 16px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 22px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.18s, box-shadow 0.18s;
}
.features-grid > div:hover {
  background: var(--earth-sand);
  box-shadow: 0 6px 14px rgba(185, 206, 164, 0.10);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
}
.features-grid h3 {
  margin-bottom: 7px;
}

/* ==============
   TESTIMONIALS
   ============== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: var(--card-alt-bg);
  border-radius: 18px 20px 18px 20px / 20px 12px 18px 22px;
  box-shadow: 0 1px 10px rgba(49,84,43,0.07);
  padding: 20px 20px 20px 16px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #d3efd1;
  min-width: 240px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid var(--earth-green);
  color: #23210b;
  font-style: italic;
  font-size: 1.06rem;
}
.testimonial-card .author {
  color: var(--earth-green);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-left: 4px;
}

/* Challenge: ensure contrast on testimonials even on hover */
.testimonial-card:hover {
  background: #f4f9eb;
  border-color: #b2d8a6;
}

/* =============
   FOOTER
   ============= */
footer {
  background: #e7dcc4;
  border-top: 1px solid #e4e0d3;
  padding: 40px 0 24px 0;
  width: 100%;
  font-size: 1rem;
  color: var(--text-dark);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--earth-green);
  font-weight: 500;
  font-size: 1.03rem;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer-contact img {
  height: 52px;
  margin-right: 10px;
}
footer address {
  font-style: normal;
  color: var(--text-medium);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-top: 0;
}
@media (max-width: 768px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ================
   CONTACT DETAILS
   ================ */
.contact-details, .location-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-details img, .location-map img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/* =============
   CARDS & LISTS
   ============= */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1px solid var(--border);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .feature-item {
    gap: 12px;
  }
}

/* ===========
   FORMS (future-proof)
   =========== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 9px 18px;
  margin-bottom: 18px;
  background: #fff;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4200;
  background: #3b4e23;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  box-shadow: 0 -2px 16px rgba(39,55,19,0.15);
  font-size: 1rem;
  gap: 24px;
  transition: transform 0.28s cubic-bezier(.68,.25,.32,.90);
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  margin-right: 24px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 24px 10px 24px 10px;
  padding: 10px 22px;
  margin: 0 3px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,224,115,0.11);
  transition: background 0.17s, color 0.17s;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--earth-leaf);
  color: var(--primary);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--earth-sand);
  color: var(--earth-green);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 8px 18px 12px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 4400;
  background: rgba(39,55,19, 0.75);
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1a1912;
  border-radius: 24px 14px 28px 14px;
  box-shadow: 0 6px 44px rgba(39,55,19,0.19);
  width: 98%;
  max-width: 410px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 26px 28px 26px;
  animation: slideInModal 0.4s cubic-bezier(.79,.13,.21,.91);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes slideInModal {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: var(--earth-green);
  margin-bottom: 18px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #f4f9eb;
  border-radius: 12px;
  padding: 10px 14px;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  background: var(--earth-sand);
  border: 1.5px solid var(--earth-green);
  border-radius: 12px;
  width: 38px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 100%;
  border-radius: 12px;
  background: #e7dcc4;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle input:checked + .slider {
  background: var(--earth-leaf);
}
.cookie-modal .cookie-toggle .knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #bbb6a9;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle input:checked + .slider .knob {
  left: 18px;
  background: var(--accent);
}
.cookie-modal .category-name {
  font-weight: 600;
  color: var(--earth-green);
  font-size: 1rem;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #6e7647;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  padding: 8px 22px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--earth-green);
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover { color: var(--secondary); }

/* =============================
   RESPONSIVE TYPOGRAPHY & SPACING
   ============================= */
@media (max-width: 900px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .container { padding: 0 8px; }
  .card, .features-grid > div, .testimonial-card { min-width: 100px; }
  .footer-contact img { height: 38px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.04rem; }
  .footer-contact address { font-size: 0.89rem; }
  .footer-contact img { height: 27px; }
}

/* ===================
   MICRO-ANIMATIONS
   =================== */
.cta, button, .card, .features-grid > div, .testimonial-card, .main-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.18s;
}
.cta:active, button:active, .main-nav a:active {
  transform: scale(0.97);
}

/* ===================
   ORGANIC DECORATIVE ELEMENTS
   =================== */
.card, .testimonial-card, .features-grid > div {
  border-radius: 32px 14px 34px 16px / 20px 22px 22px 24px;
  /* mimic organic pebble shapes */
}
section, .section {
  border-radius: 26px 42px 16px 36px / 28px 48px 20px 24px;
}
/* Optional: Add subtle leaf/texture overlays as bg SVG only via extra class, not default */

/* ===================
   UTILITIES
   =================== */
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.center { text-align: center; }

/* ================
   ACCESSIBILITY
   ================ */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--accent);
  color: var(--primary);
  z-index: 9999;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 8px 18px;
  font-size: 1.12rem;
}

/* =========================
   HELPER: Compatibility / Fallbacks
   ========================= */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: local('Orbitron'), local('Orbitron-Regular'), url('https://fonts.gstatic.com/s/orbitron/v30/yMJRMIlzdpvBhQQL_Qq7dyE.ttf') format('truetype');
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxM.ttf') format('truetype');
  unicode-range: U+0000-00FF;
}

/* =========================
   PRINT STYLES (optional)
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
}
