/* === CSS RESET & NORMALIZE (flexbox safe) === */
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, 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-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F8FAF6;
  color: #1A3D2C;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  position: relative;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #206142;
  transition: color 0.2s ease, background 0.2s ease;
}
iframe, table {
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}

/* ============== BRAND COLORS & FONTS ============== */
:root {
  --primary: #206142;
  --primary-dark: #1A4E35;
  --secondary: #E8F5E1;
  --background: #F8FAF6;
  --white: #FFFFFF;
  --accent: #F6B048;
  --accent-dark: #D6912A;
  --brown: #A17F5C;
  --forest: #456343;
  --card-bg: #FCFFFA;
  --shadow: 0 4px 24px 0 rgba(55, 83, 48, 0.08);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ================== GLOBAL TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, ul, ol, li, blockquote, cite, label { font-size: 1rem; font-family: var(--font-body); font-weight: 400; color: #2C3A24; }
strong { color: var(--primary-dark); font-weight: bold; }
blockquote { font-style: italic; margin: 0 0 4px 0; color: var(--forest); }
cite { font-size: 0.95rem; color: var(--brown); font-style: normal; margin-left: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

/* =============== CONTAINER & SECTION SPACING =============== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 28px 22px;
  position: relative;
  min-width: 240px;
}
.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;
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(65,70,50,0.05);
  max-width: 650px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 20px 0 rgba(65,70,50,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============== FLEXBOX LAYOUT RULES =============== */
.icon-bullets, .principles-section > ul, .team-section, .blog-list, .faq-section > ul, .contact-details > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.icon-bullets li, .principles-section ul li {
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  flex: 1 1 240px;
  min-width: 220px;
}

.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.team-member {
  flex: 1 1 180px;
  min-width: 140px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px;
  gap: 6px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-list li {
  display: flex;
  flex-direction: column;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 17px 14px 12px 14px;
  min-width: 220px;
  position: relative;
  gap: 5px;
}
.tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-display);
  border-radius: 12px;
  padding: 3px 12px;
  position: absolute;
  bottom: 13px; right: 14px;
}

.faq-section ul, .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.contact-details > ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
}

/* ============ HEADER & NAV ============*/
header {
  background: var(--white);
  box-shadow: 0 4px 18px -8px #bcd4bc85;
  position: sticky;
  top: 0;
  z-index: 101;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
nav > a > img {
  height: 48px;
  width: auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 20px;
}
nav ul li {
  display: flex;
}
nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 8px 13px;
  border-radius: 10px;
  transition: background 0.13s, color 0.13s;
}
nav ul li a:hover, 
nav ul li a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cta-primary {
  background: var(--primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 31px;
  padding: 12px 32px;
  box-shadow: 0 2px 7px rgba(31,63,39,0.09);
  letter-spacing: 0.04em;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  border: none;
  margin-left: 16px;
  margin-right: 4px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--primary) !important;
  box-shadow: 0 5px 18px rgba(246,176,72,0.21);
}

/* ============ MOBILE MENU ============*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  padding: 8px 18px;
  margin-left: 18px;
  border: none;
  z-index: 120;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary-dark);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,56,44, 0.94);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.72,.05,.36,1), opacity 0.27s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 16px 22px 0 0;
  border: none;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 46px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.016em;
  background: none;
  border-radius: 8px;
  padding: 10px 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary-dark);
}

/* Hide navigation and show burger on mobile */
@media (max-width: 960px) {
  nav ul, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}

/* ======= FOOTER ======= */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 44px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
footer nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.94;
  margin: 0;
  padding: 4px 0;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}
footer .text-section p, footer .text-section strong {
  color: var(--white);
  font-size: 0.97rem;
  opacity: 0.92;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px; 
    padding-left: 4px;
  }
  footer img { margin-bottom: 4px; }
}

/* ============== TABLES ============== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(77,97,68,0.04);
  margin: 20px 0;
}
th, td {
  padding: 17px 15px;
  text-align: left;
  font-size: 1rem;
  border-bottom:1px solid #e6e8dc;
}
th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}
tr:last-child td {
  border-bottom: none;
}

@media (max-width: 700px) {
  table, th, td { font-size: 0.91rem; }
  th, td { padding: 14px 6px; }
}

/* ========== BUTTONS, FORMS & INPUTS ========== */
button, .cta-primary, select {
  font-family: var(--font-display);
  border-radius: 25px;
  border: none;
  padding: 12px 24px;
  margin: 8px 0;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.17s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 2px 6px 0 rgba(24,78,53,0.07);
  letter-spacing: 0.01em;
  cursor: pointer;
}
button:hover, button:focus, select:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}
select {
  color: var(--primary-dark);
  background: var(--secondary);
  border: 1px solid #e5f2e0;
  padding: 9px 19px;
  min-width: 145px;
  margin-left: 8px;
}
label {
  margin-right: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary-dark);
}
input[type="text"], input[type="email"], input[type="password"], textarea {
  font-size: 1rem;
  padding: 10px 18px;
  border: 1px solid #e1efdb;
  border-radius: 13px;
  background: var(--secondary);
  color: var(--primary-dark);
  margin-bottom: 12px;
  width: 100%;
  margin-top: 7px;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .testimonial-card, .team-member, .blog-list li {
  transition: transform 0.17s cubic-bezier(.67,.11,.45,1), box-shadow 0.13s;
}
.card:hover, .testimonial-card:hover, .blog-list li:hover, .team-member:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 8px 32px 0 rgba(30,70,39,0.14);
}
a, button, .cta-primary {
  transition: background 0.14s, color 0.12s, box-shadow 0.14s;
}

/* ========== ORGANIC/NATURE VISUAL ELEMENTS ========== */
.card, .content-wrapper, .testimonial-card, .team-member, .icon-bullets li, .blog-list li, .principles-section ul li {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
}
.card, .content-wrapper, .icon-bullets li {
  background-image: repeating-linear-gradient(-7deg, #F9FBF8 0px, #F9FBF8 15px, #ECF4ED 16px, #F9FBF8 28px);
  background-color: var(--background);
}

section {
  border-radius: 44px 44px 26px 44px / 51px 27px 37px 74px;
  box-shadow: 0 7px 26px 0 rgba(75,94,67,0.07);
  margin-top: 18px;
}

.icon-bullets img, .principles-section img, .team-member img, .contact-details img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 6px;
  background: var(--secondary);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 10px 0 rgba(85,122,83, 0.06);
}

/* Organic accent for nature/organic style */
.section, .card {
  border-top-left-radius: 50px 24px;
  border-bottom-right-radius: 50px 34px;
}

/* ========== RESPONSIVE FLEXBOX ADJUSTMENTS ========== */
@media (max-width: 900px) {
  .container,
  .content-wrapper { padding: 0 8px; }
  .card-container { gap: 16px; }
  .icon-bullets, .team-section, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section, section { padding: 22px 4px; margin-bottom: 35px; }
  .content-wrapper { padding: 14px 9px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 14px 11px; }
  .card-container, .icon-bullets, .team-section, .content-grid, .principles-section > ul {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section, .features, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  nav { flex-direction: row; padding: 8px 0; gap: 7px; }
}


/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cc-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -4px 28px 0 rgba(36,72,47,0.14);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px 18px 30px;
  z-index: 4000;
  transition: transform 0.35s cubic-bezier(.8,.21,.71,1.03), opacity 0.3s;
  opacity: 1; transform: translateY(0);
}
.cc-banner.hide { opacity: 0; transform: translateY(110%); pointer-events: none; }
.cc-banner .cc-text {
  flex: 1;
  font-size: 1rem;
  color: var(--primary-dark);
}
.cc-banner .cc-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cc-btn {
  font-family: var(--font-display);
  border-radius: 21px;
  border: none;
  padding: 9px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.1s, color 0.1s;
}
.cc-btn:hover, .cc-btn:focus { background: var(--accent); color: var(--primary); }
.cc-btn-accept { background: var(--primary); }
.cc-btn-reject { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.cc-btn-reject:hover { background: #e7f4e5; color: var(--primary-dark); }
.cc-btn-settings { background: var(--accent); color: var(--primary-dark); }
.cc-btn-settings:hover { background: var(--brown); color: #fff; }


/* ========== COOKIE MODAL POPUP ========== */
.cc-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: rgba(36,72,47,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.23s;
}
.cc-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cc-modal-content {
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 26px;
  box-shadow: 0 8px 32px 0 rgba(46, 78, 39,0.15);
  max-width: 450px;
  width: 93vw;
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cc-modal-content h3 { color: var(--primary-dark); font-size: 1.24rem; font-family: var(--font-display); }
.cc-modal-content .cc-modal-close {
  position: absolute;
  top: 11px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
}
.cc-modal-content .cc-prefs {
  display: flex; flex-direction: column; gap: 13px;
}
.cc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid #eaeae4;
}
.cc-toggle {
  width: 38px; height: 22px;
  background: #d3e1d6;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cc-toggle[data-enabled="true"] { background: var(--primary); }
.cc-toggle-thumb {
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 2px 0 rgba(33,56,44,0.10);
}
.cc-toggle[data-enabled="true"] .cc-toggle-thumb { left: 18px; }

.cc-toggle-label {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-right: 10px;
}
.cc-desc { color: var(--forest); font-size: 0.97rem; margin-top: 2px; }
@media (max-width: 640px) {
  .cc-modal-content { padding: 19px 6px 14px 12px; }
  .cc-banner { padding: 9px 4px 9px 9px; gap: 9px; font-size: 0.95rem; }
  .cc-btn { padding: 9px 10px; font-size: 0.97rem; }
}

/* ========== ACCESSIBILITY & CONTRAST IN TESTIMONIALS ========== */
.testimonial-card, .testimonial-card blockquote, .testimonial-card cite {
  background: var(--secondary) !important;
  color: var(--primary-dark) !important;
  font-size: 1.05rem;
}
.testimonial-card cite { font-style: normal; color: var(--accent-dark); }

/* ========== MISC UTILS ========== */
.muted { color: #728471; font-size: 0.96rem; opacity: 0.76; }
.section:last-child, main > section:last-of-type { margin-bottom: 0; }

::-webkit-scrollbar {
  width: 10px;
  background: #ecefe7;
}
::-webkit-scrollbar-thumb {
  background: #bedfc3;
  border-radius: 8px;
}

/* ========== HOVER ANIMATION FOR LINKS ========== */
a:not(.cta-primary):hover, a:not(.cta-primary):focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ============== ORGANIC/NATURE SHAPES ============== */
.card, .content-wrapper, .testimonial-card, .team-member, .icon-bullets li, .blog-list li, .principles-section ul li {
  border-bottom-left-radius: 32px 14px !important;
  border-top-right-radius: 54px 33px !important;
}

/* ========== VISUAL SPACE & LAYOUT FOR BREATHING ROOM ========== */
.section, section, .card-container, .team-section, .blog-list, .content-grid, .faq-section ul, .icon-bullets {
  margin-bottom: 24px;
}
.card, .testimonial-card, .team-member, .blog-list li {
  margin-right: 4px;
  margin-left: 4px;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .cc-banner, .cc-modal { display: none !important; }
  body { background: #fff; }
  .card, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
