/* CSS RESET & NORMALIZE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  background: #F5F7FA;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

a {
  color: #154734;
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover, a:focus {
  color: #6BBF59;
  outline: none;
}

ul, ol {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  outline: none;
}

:focus-visible {
  outline: 2px solid #154734;
}


/* BRAND VARIABLES (as fallback for custom props) */
:root {
  --color-primary: #154734;
  --color-secondary: #6BBF59;
  --color-accent: #F5F7FA;
  --color-muted: #d0dad7;
  --color-grey: #b9bbb9;
  --color-white: #fff;
  --serif: 'Georgia', Times, 'Times New Roman', serif;
  --sans: 'Roboto', Arial, Helvetica, sans-serif;
}

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

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(21, 71, 52, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(21, 71, 52, 0.06);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  flex: 1 1 300px;
}

.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: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-muted);
  box-shadow: 0 2px 16px rgba(21, 71, 52, 0.10);
  border-radius: 14px;
  margin-bottom: 20px;
  max-width: 540px;
  color: #202624;
}

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

/* HERO SECTION */
.hero {
  background: var(--color-muted);
  color: var(--color-white);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
  border-bottom: 2px solid var(--color-secondary);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  margin-bottom: 0.5em;
  line-height: 1.1;
  letter-spacing: 1px;
}
.hero h2 {
  font-size: 1.4rem;
  font-weight: normal;
  font-family: var(--serif);
  margin-bottom: 1.2em;
  color: var(--color-accent);
}
.hero .cta-btn {
  margin-top: 18px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: var(--color-accent);
  border-bottom: 1px solid var(--color-muted);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow 0.25s;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  font-family: var(--serif);
}
nav a {
  color: var(--color-primary);
  padding: 10px 7px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
nav a:hover, nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.08rem;
  padding: 13px 34px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 1px 6px rgba(21, 71, 52, 0.10);
  cursor: pointer;
  text-align: center;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #377a50;
  box-shadow: 0 4px 18px rgba(21, 71, 52, 0.19);
  color: #fff;
  transform: translateY(-2px) scale(1.038);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 15px;
  z-index: 101;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.98);
  z-index: 2001;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.74,0.04,0.26,0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 28px 36px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  margin-bottom: 36px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  background: none;
  border-radius: 7px;
  padding: 12px 8px;
  font-family: var(--serif);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* HIDE ELEMENTS ON DESKTOP / MOBILE */
nav,
.cta-btn {
  display: flex;
}
.mobile-menu,
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1024px){
  nav {
    gap: 12px;
  }
}
@media (max-width: 900px){
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px){
  .mobile-menu {
    display: flex;
  }
}

/* TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--color-primary);
  margin-bottom: 0.35em;
  font-weight: 600;
  letter-spacing: 0.7px;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.7rem; margin-top: 20px; }
h3 { font-size: 1.22rem; }
h4, h5, h6 { font-size: 1.0rem; }

p, li {
  font-family: var(--sans);
  color: #222;
  font-size: 1rem;
}
strong {
  font-weight: bold;
  color: #1c2d23;
}

ul > li {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
ul > li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
}

hr {
  border: none;
  height: 1px;
  background: var(--color-muted);
  margin: 32px 0 25px 0;
}

/* BUTTONS & INPUTS */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--serif);
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 30px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.22s, box-shadow 0.15s, transform 0.12s;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:focus,
input[type="submit"]:focus {
  background: #377a50;
  box-shadow: 0 2px 14px rgba(21,71,52,0.13);
  transform: translateY(-2px) scale(1.035);
}

input[type="email"],
input[type="text"],
textarea {
  font-family: var(--sans);
  border: 1px solid var(--color-muted);
  border-radius: 7px;
  padding: 11px 14px;
  color: #154734;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 13px;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--color-secondary);
}

label {
  font-size: 1rem;
  font-family: var(--serif);
  margin-bottom: 7px;
  color: var(--color-primary);
}

/* NEWSLETTER FORM */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  margin-top: 12px;
}
.newsletter-form input[type="email"] {
  width: 230px;
  max-width: 100%;
}
.newsletter-form button[type="submit"] {
  margin-left: 0px;
}

/* CTA SECTIONS */
.cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 19px rgba(21, 71, 52, 0.16);
  margin-bottom: 46px;
  padding: 38px 0;
}
.cta .container {
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 20px;
}
.cta .cta-btn {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #8de5b1;
  box-shadow: 0 7px 24px rgba(255,255,255,0.09);
}
.cta .cta-btn:hover {
  background: #f2faf4;
  color: #377a50;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #202624;
  border-left: 5px solid var(--color-secondary);
  border-radius: 14px;
  font-size: 1.08rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(21,71,52,0.09);
  font-family: var(--serif);
  transition: box-shadow .18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 30px rgba(21,71,52,0.16);
  border-left: 5px solid #399952;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 26px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 13px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--serif);
}
.footer-nav a {
  color: #fff;
  opacity: 0.90;
  font-size: 1rem;
  transition: color .18s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.99rem;
  opacity: 0.95;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  width: 16px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: -3px;
  display: inline;
}

footer .newsletter-form label {
  color: #fff;
}
footer .newsletter-form input[type="email"]{
  background: #fff;
  color: #1a4228;
  border: 1px solid #8de5b1;
}
footer .newsletter-form button {
  color: var(--color-primary);
  background: var(--color-secondary);
  border: 1px solid #8de5b1;
}
footer .newsletter-form button:hover {
  background: #e3ffe8;
  color: #377a50;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

/* RESPONSIVE: SECTION LAYOUTS & FLEX ADJUSTMENTS */
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .hero, .cta {
    padding: 28px 6px;
  }
  .hero h1 { font-size: 1.4rem; }
  .hero h2 { font-size: 1.06rem; }
  .testimonial-card { font-size: 1rem; padding: 16px; }
  footer .newsletter-form input[type="email"] {
    width: 100%;
    min-width: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .hero, .cta {
    padding: 22px 2px;
  }
  .testimonial-card {
    border-left-width: 3px;
    padding: 13px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -1px 16px rgba(21,71,52,0.13);
  border-top: 2px solid var(--color-secondary);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 22px 14px;
  gap: 14px;
  animation: cookie-drop-in 0.7s cubic-bezier(0.72,0,0.25,1);
  font-family: var(--sans);
}
@keyframes cookie-drop-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #222;
  font-size: 1rem;
  margin-bottom: 7px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 18px;
  font-size: 0.99rem;
  font-family: var(--serif);
  font-weight: 600;
  transition: background 0.18s, transform 0.12s;
  cursor: pointer;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #377a50;
  transform: translateY(-1px) scale(1.035);
}
.cookie-banner .cookie-settings {
  background: #F5F7FA;
  color: #222;
  border: 1px solid #b9bbb9;
  font-weight: 500;
}
.cookie-banner .cookie-settings:hover {
  background: #e2efe8;
  color: #154734;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,71,52,0.27);
  z-index: 4000;
  animation: fade-in-modal 0.3s;
}
@keyframes fade-in-modal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 35px rgba(21,71,52,0.17);
  max-width: 98vw;
  width: 370px;
  padding: 34px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: pop-in-modal 0.32s;
}
@keyframes pop-in-modal {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 1rem;
  gap: 8px;
  margin-bottom: 11.5px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--color-secondary);
  margin: 0 7px 0 0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 8px;
}
.cookie-modal button {
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 0.99rem;
  font-family: var(--serif);
  font-weight: 600;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  transition: background 0.18s;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #399952;
}
.cookie-modal .cookie-modal-close {
  background: #F5F7FA;
  color: #154734;
  margin-left: auto;
  border: 1px solid #d0dad7;
  border-radius: 8px;
  font-size: 1.2rem;
  padding: 4px 12px;
}

/* ANIMATIONS: CTA BUTTON */
.cta-btn {
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}
.cta-btn:active {
  transform: scale(0.96);
}

/* SUBTLE SHADOWS & MICRO-INTERACTIONS */
.card, .testimonial-card, .section {
  transition: box-shadow .19s, transform 0.11s;
}
.card:hover, .section:hover {
  box-shadow: 0 8px 33px rgba(21,71,52,0.11);
  transform: translateY(-2px) scale(1.01);
}

/* UTILITIES */
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-20 { margin-bottom: 20px; }

/* Misc visually elegant elements */
hr {
  height: 1px;
  background: var(--color-muted);
  border: 0;
}
::-webkit-scrollbar {
  width: 8px;
  background: #e5eae9;
}
::-webkit-scrollbar-thumb {
  background: #bed6bf;
  border-radius: 12px;
}
::selection {
  background: #baedc4;
}

/* Print support */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cta { display: none!important; }
}
