/* =========================================================
   CSS Reset & Normalization for Cross-Browser Consistency
   ========================================================= */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F3EFE6;
  color: #223127;
  font-family: 'Roboto', Georgia, Times, serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #186881;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #125B34;
  text-decoration: none;
}

/* ================================
   Brand Font & Elegant Classic Typography
   ================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #174733;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}
p, ul, ol, address {
  color: #223127;
  font-size: 1rem;
}
strong{
  font-weight: 600;
  color: #154434;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
}
.text-section ul {
  margin-bottom: 24px;
}

/* TYPOGRAPHY SCALE */
.section h1, .content-wrapper h1 { font-size: 2.25rem; }
.section h2, .content-wrapper h2 { font-size: 1.7rem; }
.section h3, .content-wrapper h3 { font-size: 1.2rem; font-weight: 600; }

@media (max-width: 600px) {
  h1   { font-size: 1.45rem; }
  h2   { font-size: 1.15rem; }
}

/* =========================================
   Layout: Container, Section, Flex Patterns
   ========================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(34,49,39,0.07);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border: 1.5px solid #E5E2DD;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,49,39,0.06);
  padding: 32px 26px;
  flex: 1 1 315px;
  min-width: 270px;
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 25px 0 rgba(34,49,39,0.13);
  z-index: 1;
}

.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;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #FAF9F5;
  border: 1.5px solid #E2DED9;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(18,91,52,0.04);
  max-width: 620px;
  color: #1C2F20;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: #125B34;
  font-size: 1.2rem;
  font-family: 'Montserrat', serif;
  letter-spacing: 2px;
}
.testimonial-card div {
  color: #5D625B;
  font-size: 0.98rem;
  font-style: italic;
}

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

/* Main CTA Button Style */
.cta-btn {
  display: inline-block;
  background: #125B34;
  color: #fff;
  border-radius: 25px;
  padding: 13px 32px;
  font-family: 'Montserrat', serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 4px 16px 0 rgba(18,91,52,0.07);
  transition: background 0.20s, color 0.18s, box-shadow 0.24s, transform 0.18s;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #186881;
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(24,104,129,0.19);
  transform: translateY(-2px) scale(1.02);
}

/* =============================
   HEADER / NAVIGATION STYLES
   ============================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #E7E4E1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 99;
  min-height: 64px;
}
header img {
  height: 56px;
  width: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
header nav a {
  color: #174733;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 4px;
  padding: 5px 9px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #F3EFE6;
  color: #186881;
}
header .cta-btn {
  margin-left: 30px;
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #125B34;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.18s;
  z-index: 101;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  color: #186881;
}

@media (max-width: 980px) {
  header nav {
    gap: 9px;
  }
  header img {
    height: 45px;
  }
}
@media (max-width: 760px) {
  header nav, header .cta-btn {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 390px;
  height: 100vh;
  background: #FAF9F4;
  box-shadow: -5px 0 18px 0 rgba(16,32,23,0.12);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0.2,0.05,1.0);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  gap: 25px;
  /* By default, hidden off canvas */
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #125B34;
  cursor: pointer;
  margin-bottom: 8px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #186881;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.mobile-nav a {
  color: #154434;
  font-family: 'Montserrat', serif;
  font-size: 1.17rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 7px;
  padding: 12px 14px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4F4EC;
  color: #186881;
}

@media (min-width: 761px) {
  .mobile-menu, .mobile-menu-close {
    display: none;
  }
}

/* =============== MAIN =============== */
main {
  min-height: 65vh;
  margin-bottom: 0;
  width: 100%;
  display: block;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ================================
   Footer
   ================================ */
footer {
  background: #fff;
  padding: 36px 0 16px 0;
  border-top: 1.4px solid #E2DED9;
  margin-top: 64px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #174733;
  font-family: 'Montserrat', serif;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.14s, color 0.15s;
  padding: 6px 13px;
}
footer nav a:hover, footer nav a:focus {
  background: #F3EFE6;
  color: #186881;
}
footer .text-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer address {
  display: block;
  font-style: normal;
  color: #5D625B;
  font-size: 0.97rem;
  margin-top: 2px;
}

/* ================================
   Cookie Consent Banner & Modal
   ================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FAF9F4;
  border-top: 2px solid #E2DED9;
  box-shadow: 0 -3px 14px 0 rgba(34,49,39,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 18px 16px;
  z-index: 1600;
  gap: 10px;
  transition: transform 0.22s cubic-bezier(0.72,0.2,0.05,1);
  font-family: 'Roboto', serif;
}
#cookie-banner .cookie-banner-text {
  color: #223127;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1rem;
  max-width: 550px;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-consent-btn, .cookie-settings-btn {
  border-radius: 18px;
  padding: 10px 28px;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.20s, transform 0.15s;
  box-shadow: 0 2px 8px 0 rgba(18,91,52,0.09);
}
.cookie-consent-btn.accept {
  background: #125B34;
  color: #fff;
}
.cookie-consent-btn.accept:hover,
.cookie-consent-btn.accept:focus {
  background: #186881;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
}
.cookie-consent-btn.reject {
  background: #E1E6E4;
  color: #174733;
}
.cookie-consent-btn.reject:hover,
.cookie-consent-btn.reject:focus {
  background: #E4A7A0;
  color: #fff;
}
.cookie-settings-btn {
  background: #2999B8;
  color: #fff;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #125B34;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33, 41, 35, 0.36);
  z-index: 2002;
  transition: background 0.22s;
  align-items: center;
  justify-content: center;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 15px;
  max-width: 96vw;
  width: 410px;
  padding: 32px 25px 24px 25px;
  box-shadow: 0 7px 28px 0 rgba(34,49,39,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  font-family: 'Roboto', serif;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3EFE6;
  border-radius: 10px;
  margin-bottom: 13px;
  padding: 12px 20px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox']:not(:disabled) {
  accent-color: #125B34;
}
.cookie-category input[disabled] {
  opacity: 0.5;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.55rem;
  border: none;
  background: none;
  color: #186881;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E05858;
}

/* ================================
   Miscellaneous Elements
   ================================ */
hr {
  border: 0;
  height: 1.5px;
  background: #E2DED9;
  border-radius: 1px;
  margin: 30px 0;
}

blockquote {
  border-left: 5px solid #125B34;
  background: #FBF7F2;
  padding: 18px 22px;
  font-style: italic;
  color: #2D4836;
  margin-bottom: 22px;
  border-radius: 10px;
}

/* Responsive Images inside Cards & Sections */
.text-section img,
.card img,
.feature-item img,
ul img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
ul img {
  margin-right: 7px;
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
    min-width: 0;
  }
  .section {
    padding: 30px 7px;
  }
}

@media (max-width: 600px) {
  html, body {
    font-size: 15px;
  }
  .section {
    padding: 16px 2px;
    border-radius: 10px;
  }
  .card {
    padding: 22px 10px;
    min-width: 98vw;
    border-radius: 8px;
  }
  .content-wrapper, .text-section {
    gap: 15px;
  }
  .testimonial-card {
    padding: 14px 6px;
    border-radius: 8px;
  }
}

/* ==========================
   Animations & Transitions
   ========================== */
.section, .card, .testimonial-card, .cta-btn, .card:hover, .card:focus-within {
  transition: all 0.22s cubic-bezier(0.72,0.2,0.05,1.0);
}
@media (hover: hover) {
  .section:hover {
    box-shadow: 0 6px 28px 0 rgba(18,91,52,0.09);
    transform: translateY(-2px) scale(1.01);
  }
}

/* Utility spacing */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }

/* =========== Accessibility ============= */
:focus {
  outline: 2px solid #2999B8;
  outline-offset: 2px;
}

/* === Scrollbar Styling (Elegant Classic) === */
::-webkit-scrollbar {
  width: 13px;
  background: #E9E5DF;
}
::-webkit-scrollbar-thumb {
  background: #C0C8C2;
  border-radius: 7px;
}

/* ========== Custom for Cookie Banner Integration ========== */
@media (max-width: 700px) {
  #cookie-banner {
    padding: 14px 6px 10px 7px;
    font-size: 0.95rem;
  }
  .cookie-modal-content {
    padding: 18px 7px 15px 10px;
    width: 97vw;
    min-width: unset;
  }
}

/* =====================
   End of Styles
   ===================== */