/* ========== CSS RESET & NORMALIZE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #2e3642;
  background: #F8F7F3;
  min-height: 100vh;
  line-height: 1.6;
  /* prevent horizontal scroll on mobile aesthetics */
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #215532;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #215532;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #215532;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 8px; }

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.75rem; }
}

p, li, address, span {
  font-size: 1rem;
  color: #2e3642;
}
strong { color: #215532; font-weight: 700; }

/* ========== CONTAINER & SECTION LAYOUTS ========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0 32px 0;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 12px;
  }
}

/* ========== FLEXBOX LAYOUTS, GAP & CARD PATTERNS ========== */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin-bottom: 18px;
}

/* For testimonial area & CTA cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(33,85,50,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 500px;
  border: 1px solid #e4e8ec;
}
.testimonial-card p {
  color: #215532;
  font-size: 1.025rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #878e99;
  font-style: italic;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(33,85,50,0.07);
  padding: 20px 20px 16px 20px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 26px 0 rgba(33,85,50,0.12);
}

.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) {
  .content-wrapper, .text-image-section, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* ========== NAVIGATION & BRAND HEADER ========== */
header {
  background: #FFF;
  box-shadow: 0 2px 10px rgba(38,78,90,.04);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
nav a img {
  height: 42px;
  width: auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  color: #2e3642;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background .18s, color .18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #2155320e;
  color: #215532;
}
.btn-primary {
  background: #215532;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 11px 28px;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 6px 0 rgba(38,78,90,0.08);
  transition: background .18s, box-shadow .23s, color 0.15s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #CE9751;
  color: #215532;
  box-shadow: 0 4px 14px 0 rgba(33,85,50,0.13);
  outline: none;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #215532;
  font-size: 2rem;
  padding: 8px 12px;
  margin-left: 0;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus { outline: 2px solid #CE9751; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF;
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.37s cubic-bezier(.53,.03,.32,1.2);
  overflow-y: auto;
  box-shadow: 0 0 40px 0 rgba(33,85,50,0.11);
  padding: 28px 22px 0 22px;
}
.mobile-menu.open {
  transform: translateX(0px);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #215532;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 30px;
  transition: color 0.15s;
}
.mobile-menu-close:focus {outline: 2px solid #B37524;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #215532;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background .15s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #2155320a;
  color: #CE9751;
}
@media (max-width: 1024px) {
  .btn-primary { margin-left: 10px; }
  nav ul { gap: 7px 10px; }
}
@media (max-width: 900px) {
  nav ul { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* ========== FOOTER STYLE ========== */
footer {
  background: #215532;
  color: #FFF;
  width: 100%;
  padding: 0;
  font-size: 1rem;
}
footer section {
  padding: 32px 0 16px 0;
  margin-bottom: 0 !important;
}
footer a {
  color: #FFF;
  font-weight: 500;
  transition: color 0.19s;
}
footer a:hover, footer a:focus {
  color: #CE9751;
  text-decoration: underline;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
footer address, footer span {
  font-size: 0.98rem;
  color: #fdd;
}
footer .content-wrapper {
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
footer img {
  max-height: 38px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  footer .content-wrapper {flex-direction: column; gap: 16px; align-items: flex-start;}
  footer ul {flex-direction: column; gap: 4px;}
}

/* ========== LIST & ICON ALIGNMENTS ========== */
ul li, ol li {
  margin-bottom: 14px;
  padding-left: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-right: 4px;
}
ul li:last-child { margin-bottom: 0; }

/* ========== SPECIAL CARDS AND SECTION SPACING ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FORM ELEMENTS & INPUTS ========== */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border: 1px solid #D4DDE7;
  border-radius: 6px;
  background: #fff;
  color: #2e3642;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color .17s;
}
input:focus, select:focus, textarea:focus {
  border-color: #215532;
  outline: none;
}
label {
  font-weight: 500;
  color: #215532;
  margin-bottom: 8px;
  display: inline-block;
}

/* ========== CTA & PROMO SECTIONS ========== */
.text-section a.btn-primary {
  margin-top: 14px;
}
.section .text-section {
  align-items: flex-start;
  gap: 16px;
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #2e3642;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 -2px 20px 0 rgba(33,85,50, 0.14);
  padding: 12px 8px 18px 8px;
  transition: transform 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-controls {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Helvetica, Arial, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  padding: 8px 20px;
  font-size: 1rem;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #215532;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #CE9751;
  color: #215532;
}
.cookie-banner .reject {
  background: #eaeaea;
  color: #215532;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #B37524;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #CE9751;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #CE9751;
  color: #215532;
  border-color: #CE9751;
}

/* Cookie modal/popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2030;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44, 55, 72, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s both;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2e3642;
  padding: 32px 24px 24px 24px;
  border-radius: 17px;
  width: 95%;
  max-width: 410px;
  box-shadow: 0 4px 32px 0 rgba(33,85,50,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  animation: popIn .21s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popIn {
  from { transform: scale(0.96) translateY(28px); opacity: 0;}
  to   { transform: scale(1) translateY(0);    opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #215532;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.15rem;
  color: #215532;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: #215532;
  width: 19px;
  height: 19px;
}
.cookie-category label {
  font-size: 1rem;
  color: #215532;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal .cookie-modal-controls {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-controls button {
  padding: 9px 16px;
  font-size: 0.98rem;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.cookie-modal .accept {
  background: #215532;
  color: #FFF;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #CE9751;
  color: #215532;
}
.cookie-modal .reject {
  background: #B37524;
  color: #FFF;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: #eaeaea;
  color: #215532;
}

/* ========== UTILITIES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hide { display: none !important; }

/* ========== MEDIA QUERIES: MOBILE FIRST ========== */
@media (max-width: 768px) {
  nav { padding: 0 11px; }
  .header .container { padding: 0 10px; }
  .container { max-width: none; }
  section { padding: 18px 0 24px 0; }
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card, .card, .text-section { max-width: 100%; }
  .testimonial-card, .card {
    padding: 16px 12px;
    min-width: unset;
  }
  /* cookie modal overlay fits any screen */
  .cookie-modal { max-width: 98vw; }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.btn-primary, .cookie-banner button, .cookie-modal .cookie-modal-controls button {
  transition: background .17s, color .17s, box-shadow .20s, border-color .12s, transform .09s;
}
.btn-primary:active, .cookie-banner button:active, .cookie-modal .cookie-modal-controls button:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 1px 2px 0 rgba(33,85,50,0.07);
}
.cookie-banner button:focus, .cookie-modal .cookie-modal-controls button:focus {
  outline: 2px solid #215532;
}

/* ========== CUSTOM SCROLLBAR (for large modals/menus) ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #ecf0f7;
}
::-webkit-scrollbar-thumb {
  background: #dce3db;
  border-radius: 5px;
}

/* ========== A11Y OUTLINE ========== */
:focus-visible {
  outline: 2px solid #CE9751 !important;
  outline-offset: 2px;
}

/* ========== BRAND COLOR BACKGROUNDS FOR BADGES/LABELS (Optional) ========== */
.badge-primary {
  background: #CE9751;
  color: #fff;
  border-radius: 14px;
  padding: 3px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ========== END CSS ========== */
