/* ===================== 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; scroll-behavior: smooth; background: #F4F4F9; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F4F9;
  color: #1B2420;
  font-size: 16px;
  line-height: 1.6;
}
a { color: #254D32; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F9C846; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(37,77,50,0.05); margin-top: 24px; }
th, td { padding: 16px 12px; text-align: left; border-bottom: 1px solid #E3E3E3; }
th { background-color: #E9EDDF; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 16px; }
tr:last-child td { border-bottom: none; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #254D32;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.75rem; line-height: 1.2; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size: 1rem; }
p, li, address { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; color: #26321E; }
strong { color: #254D32; font-weight: bold; }

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}

/* ===================== CONTAINER & LAYOUT ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== FLEXBOX LAYOUTS (MANDATORY CLASSES) ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(37,77,50,0.07);
  min-width: 260px;
  flex: 1 1 300px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 24px rgba(37,77,50,0.14);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37,77,50,0.08);
  padding: 20px 32px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  border-left: 7px solid #F9C846;
  transition: box-shadow 0.22s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #254D32;
  box-shadow: 0 8px 26px rgba(37,77,50,0.17);
  z-index: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E9EDDF;
  padding: 24px 24px 20px 24px;
  border-radius: 14px;
  margin-bottom: 20px;
}

/* ===================== HEADER & NAV ===================== */
header {
  background: #fff;
  border-bottom: 2px solid #E9EDDF;
  box-shadow: 0 2px 8px rgba(37,77,50,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0;
  min-height: 72px;
}
header a img { height: 44px; }
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  color: #254D32;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  color: #1B2420;
  background: #F9C846;
}
.cta-button {
  color: #254D32 !important;
  background: #F9C846;
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  padding: 11px 26px;
  margin-left: 22px;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,77,50,0.12);
  transition: background 0.18s, color 0.18s, transform 0.17s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #254D32;
  color: #F9C846 !important;
  transform: translateY(-2px) scale(1.037);
}

/* ===================== MOBILE NAVIGATION ===================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #254D32;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border: none;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(37,77,50,0.13);
  cursor: pointer;
  z-index: 1201;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F9C846;
  color: #254D32;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(37,77,50,0.98);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.47,0.09,0.56,0.98);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 24px 8px 0;
  padding: 0;
  background: #F9C846;
  color: #254D32;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249,200,70,0.17);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #254D32;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 88vw;
  max-width: 360px;
  padding: 28px 32px 32px 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: color 0.14s, background 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9C846;
  color: #254D32;
}

/* Hide regular nav and show burger on small screens */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ===================== MAIN & SECTIONING ===================== */
main {
  width: 100%;
  min-height: 70vh;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child { margin-bottom: 0; }

/* ===================== FEATURES, PROGRAMS, & LISTS ===================== */
section ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 20px;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #363C2A;
  background: #E9EDDF;
  padding: 10px 20px;
  border-radius: 12px;
  min-height: 40px;
}
section ul li img {
  height: 28px;
  width: 28px;
  filter: grayscale(0.4) brightness(0.90);
}

/* ===================== CTA BANNER ===================== */
section .cta-button {
  margin-top: 12px;
  align-self: flex-start;
}
@media (max-width: 700px) {
  section .cta-button {
    align-self: center;
    width: 100%;
    text-align: center;
  }
}

/* ===================== FOOTER ===================== */
footer {
  background: #254D32;
  color: #fff;
  padding: 50px 0 32px;
  border-top: 2px solid #F9C846;
  margin-top: 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
footer nav a {
  color: #F9C846;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #ffffff;
  text-decoration: underline;
}
footer address {
  font-size: 0.98rem;
  font-style: normal;
  color: #eee;
  margin-top: 18px;
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1100px) {
  .container { max-width: 980px; }
}
@media (max-width: 800px) {
  .container { max-width: 90vw; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  header .container,
  footer .container {
    padding: 0 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    flex: 1 1 100%;
    min-width: 0;
  }
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 18px 12px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 22px 3vw;
    margin-bottom: 40px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
}

/* ===================== TABLES (PRICING PAGE) ===================== */
table {
  margin: 20px 0;
  border-radius: 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
tr:hover { background: #E9EDDF; }

/* ===================== UTILITY ===================== */
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(37,77,50,0.07);
  padding: 32px 28px 26px 32px;
  margin-bottom: 28px;
}

/* ========== GEOMETRIC VISUALS ========== */
.card, .text-section, .testimonial-card, .feature-item {
  box-shadow: 0 4px 18px rgba(37,77,50,0.06);
  border-radius: 16px;
  border: 2.5px solid #E9EDDF;
  position: relative;
}
.card:before, .testimonial-card:before, .feature-item:before {
  content: '';
  display: none;
}

/* ===================== BUTTONS & INTERACTIVES ===================== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s;
}
button:focus {
  outline: 2px solid #F9C846;
}

/* ===================== FORM ELEMENTS (Contact) ===================== */
input, textarea, select {
  border: 2px solid #E9EDDF;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  width: 100%;
  margin-bottom: 23px;
  background: #fff;
  color: #26321E;
  transition: border 0.18s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #254D32;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  width: 100vw;
  bottom: 0;
  background: #222;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 26px 14px 22px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -4px 18px rgba(37,77,50,0.23);
  transition: transform 0.28s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-text {
  max-width: 600px;
  margin-right: 20px;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F9C846;
  color: #254D32;
  border: none;
  border-radius: 9px;
  padding: 10px 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.14s;
  margin: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #254D32;
  color: #F9C846;
}
.cookie-btn.secondary {
  background: #E9EDDF;
  color: #254D32;
  border: 1.5px solid #254D32;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #254D32;
  color: #E9EDDF;
}

/* Cookie Preferences Modal (hidden by default) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37,77,50,0.9);
  z-index: 2500;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #254D32;
  border-radius: 20px;
  padding: 38px 36px 34px 36px;
  min-width: 340px;
  max-width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 64px rgba(37,77,50,0.14);
  gap: 22px;
  animation: modalFadeIn 0.4s cubic-bezier(0.16,0.94,0.51,1.28);
}
@keyframes modalFadeIn {
  from { transform: scale(0.92) translateY(48px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #254D32;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-setting {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-setting label {
  font-size: 1.01rem;
  color: #254D32;
  cursor: pointer;
}
.cookie-setting input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #F9C846;
  margin-right: 7px;
  border-radius: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #F9C846;
  color: #254D32;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.51rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(37,77,50,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 10;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #254D32;
  color: #fff;
}

/* Responsive for Cookie Banner & Modal */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 22px;
    padding: 18px 6px 16px 6px;
  }
  .cookie-consent-text {
    margin-right: 0;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: auto;
    padding: 24px 10px;
  }
}

/* ===================== MICROINTERACTIONS & HOVER EFFECTS ===================== */
.card, .testimonial-card, .feature-item, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: box-shadow 0.19s cubic-bezier(0.32,0.74,0.47,0.98),
    transform 0.15s, background 0.18s, color 0.18s;
}
a.cta-button, .cookie-btn {
  transition: background 0.19s, color 0.16s, transform 0.15s, box-shadow 0.15s;
}
button:active, .cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  .card:hover, .testimonial-card:hover, .feature-item:hover { box-shadow: 0 12px 28px rgba(37,77,50,0.16); }
}

/* ===================== GEOMETRIC DECORATIVE ELEMENTS ===================== */
/* Subtle angular background overlay for sections as a geometric accent */
section.hero-geometric {
  background: repeating-linear-gradient(-12deg, #E9EDDF 0 28px, #F4F4F9 28px 56px);
  border-bottom: 14px solid #F9C846;
  border-top-left-radius: 46px;
}

/* Example geometric stripe accent for strong CTAs */
.cta-button::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #254D32;
  border-radius: 2px 7px 7px 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Remove the geometric accent on small screens to increase readability */
@media (max-width: 600px) {
  .cta-button::before { display: none; }
}

/* ===================== MISC ===================== */
::-webkit-input-placeholder { color: #8e9b8c; }
:-ms-input-placeholder { color: #8e9b8c; }
::placeholder { color: #8e9b8c; }

::-webkit-scrollbar {
  width: 8px;
  background: #E9EDDF;
}
::-webkit-scrollbar-thumb {
  background: #254D32;
  border-radius: 8px;
}
