/* CSS RESET & NORMALIZATION (mobile first) */
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, main, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F2F7EE;
  color: #23281a;
  font-family: 'Roboto', serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #005A43;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #247BA0;
}
ul, ol {
  padding-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* BRAND TYPOGRAPHY & SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #003E29;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
p {
  margin-bottom: 18px;
  color: #374030;
  font-size: 1.05rem;
}

/* CONTAINER & CLASSIC SECTION SPACING */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 20px;
}

/* FLEXBOX LAYOUTS */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.content-grid,
.feature-grid,
.services,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(44, 55, 40, 0.05);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* HERO SECTION */
.hero {
  background: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 32px rgba(0, 90, 67, 0.10);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero h1 {
  color: #005A43;
  font-size: 2.5rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', serif;
}
.hero p {
  color: #374030;
  max-width: 500px;
  font-size: 1.14rem;
}

/* FEATURES & SERVICES */
.feature-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 262px;
  background: #F6F9F4;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44, 55, 40, 0.03);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.24s, transform 0.2s;
}
.feature img {
  height: 36px;
  width: 36px;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 4px 16px rgba(36,123,160,0.11);
  transform: translateY(-4px) scale(1.03);
}
.services {
  gap: 24px;
  flex-wrap: wrap;
}
.service-listing {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(44, 55, 40, 0.04);
  padding: 24px 18px;
  flex: 1 1 320px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.20s, transform 0.14s;
}
.service-listing strong {
  color: #005A43;
}
.service-listing:hover {
  box-shadow: 0 4px 12px rgba(36,123,160,0.09);
  transform: translateY(-4px) scale(1.02);
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(36, 62, 130, 0.08);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  color: #23281a;
  position: relative;
  border-left: 4px solid #247BA0;
  transition: box-shadow 0.2s, border-color 0.2s;
  z-index: 1;
}
.testimonial-card:hover {
  border-color: #005A43;
  box-shadow: 0 6px 36px rgba(0, 90, 67, 0.17);
}
.testimonial-card .star-rating {
  color: #E2BF63;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.testimonial-card p {
  color: #2B2B2B;
  font-size: 1.07rem;
  line-height: 1.55;
}
.testimonial-card strong {
  color: #003E29;
}

/* BUTTONS & CTA */
.btn-primary {
  display: inline-block;
  background: #005A43;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 34px;
  font-size: 1rem;
  box-shadow: 0 1px 8px rgba(0,90,67,0.10);
  border: 2px solid #005A43;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border-color 0.18s, transform 0.14s;
  text-align: center;
  margin-right: 0.5em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #247BA0;
  border-color: #247BA0;
  color: #fff;
  box-shadow: 0 4px 16px rgba(36,123,160,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #E3EDE0;
  position: sticky;
  top: 0;
  z-index: 1008;
}
.nav-container nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-container nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #005A43;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.18s;
}
.nav-container nav a.active, .nav-container nav a:focus {
  border-bottom: 2px solid #247BA0;
  color: #247BA0;
}
.nav-container nav a:hover {
  color: #247BA0;
  border-color: #005A43;
}
/* Hide burger by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1.5px solid #E3EDE0;
  padding: 38px 0 18px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #003E29;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  transition: color 0.17s;
  opacity: 0.90;
}
.footer-nav a.active, .footer-nav a:hover { color: #247BA0; }
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: #9CA69F;
  font-size: 0.98rem;
  margin-top: 2px;
}
.footer-branding img {
  height: 28px;
}

/* INFORMATIONAL SECTIONS */
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 6px;
}
.text-section h2, .text-section h3 {
  margin-top: 22px;
}

/* SOCIAL LINKS / FAQS in Contact */
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.social-links span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #003E29;
  font-size: 1rem;
}
.faq-snippet, .customer-support {
  margin-bottom: 20px;
  background: #F6F9F4;
  padding: 18px 18px;
  border-radius: 10px;
}
.faq-snippet strong, .customer-support strong {
  color: #005A43;
}

/* LISTS & TABLES */
ul li, ol li {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 8px;
  color: #243025;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0;
}
th, td {
  border: 1px solid #E3EDE0;
  padding: 10px 14px;
  text-align: left;
}
th {
  background: #F2F7EE;
  color: #005A43;
  font-family: 'Montserrat', serif;
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 1024px) {
  .container { max-width: 90vw; }
  .feature, .service-listing, .testimonial-card {
    max-width: 100%;
  }
  .feature, .service-listing { flex:1 1 260px; }
  .testimonials { gap: 18px; }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .services {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .feature, .service-listing {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 46%;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .section, section {
    margin-bottom: 40px;
    padding: 24px 0;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .feature-grid,
  .content-grid,
  .services,
  .testimonials {
    flex-direction: column;
    gap: 20px;
  }
  .feature,
  .service-listing,
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    flex: 1 1 100%;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
    border-radius: 0 0 18px 18px;
  }
  .hero .content-wrapper { gap: 14px; }
  .text-image-section, .text-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  body { padding-bottom: 60px; }
  .section, section {
    padding: 20px 0;
  }
  .container { padding: 0 10px; }
  .footer-branding img { height: 22px; }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2rem;
  color: #005A43;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  margin-left: 8px;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  transition: color 0.15s, background 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #247BA0;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 62, 130, 0.98);
  z-index: 2014;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.85,.01,.17,1.07);
  will-change: transform;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 32px rgba(0,0,0,0.13);
}
.mobile-menu-close {
  margin: 32px 0 18px 22px;
  background: none;
  color: #FFF;
  font-size: 2.1rem;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 2015;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-left: 32px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.38rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1.5px solid transparent;
  width: fit-content;
  transition: color 0.19s, border-color 0.15s;
}
.mobile-nav a.active, .mobile-nav a:focus {
  color: #E2BF63;
  border-bottom: 1.5px solid #E2BF63;
}
.mobile-nav a:hover {
  color: #F2F7EE;
  border-bottom: 1.5px solid #FFF;
}
@media (max-width: 1100px) {
  .nav-container nav { gap: 14px; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .footer-nav { flex-direction: column; gap: 6px; }
}
@media (max-width: 800px) {
  .nav-container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    width: 100vw;
    min-width: 0;
  }
  .mobile-menu-close { margin-top: 18px; margin-left: 14px; }
  .mobile-nav { margin-left: 14px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #005A43;
  z-index: 3000;
  box-shadow: 0 -2px 20px rgba(34,44,30,0.09);
  border-top: 2.5px solid #005A43;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  animation: cookie-slide-up 0.5s cubic-bezier(.24,.68,.39,1.19) 1;
  font-family: 'Roboto', serif;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #005A43;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  background: #005A43;
  border: none;
  color: #fff;
  font-family: 'Montserrat', serif;
  border-radius: 7px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  outline: none;
  box-shadow: 0 1.5px 8px rgba(0,90,67,0.06);
}
.cookie-banner button:focus {
  background: #247BA0;
}
.cookie-banner .cookie-banner-settings-btn {
  background: #fff;
  color: #005A43;
  border: 2px solid #005A43;
}
.cookie-banner .cookie-banner-settings-btn:hover, .cookie-banner button:hover {
  background: #247BA0;
  color: #fff;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 62, 130, 0.34);
  z-index: 3010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-modal 0.33s ease;
}
@keyframes fade-in-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 95vw;
  min-width: 340px;
  max-width: 430px;
  box-shadow: 0 8px 48px rgba(36,123,160,0.21);
  padding: 34px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 3013;
  font-family: 'Roboto', serif;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  color: #005A43;
  font-size: 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3016;
}
.cookie-modal h3 {
  font-family: 'Montserrat', serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #23281a;
  font-family: 'Montserrat', serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #005A43;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.cookie-modal-cta {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-cta .btn-primary {
  padding: 9px 18px;
  font-size: 0.96rem;
}
@media (max-width: 550px) {
  .cookie-modal {
    min-width: 100vw;
    padding: 16px 8px 8px 8px;
    border-radius: 7px;
  }
}

/* FORM FIELDS (optional future use) */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #E3EDE0;
  border-radius: 7px;
  background: #FAFBF6;
  padding: 11px 14px;
  font-size: 1rem;
  width: 100%;
  color: #314134;
  margin-bottom: 18px;
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #005A43;
}

/* ANIMATION & MICRO-INTERACTIONS */
.card, .feature, .service-listing, .btn-primary {
  transition: box-shadow 0.19s, transform 0.15s, background 0.18s, color 0.18s;
}

/* Z-INDEX HANDLING */
header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, .cookie-modal { z-index: 1000; }

/* VISUAL BALANCE */
.next-steps {
  margin-top: 18px;
  display: flex;
  gap: 16px;
}

/* SEPARATORS & DETAILS */
hr {
  border: none;
  border-top: 1.5px solid #E3EDE0;
  margin: 32px 0 18px 0;
}

/* UTILITY */
.hide { display: none !important; }
.show { display: block !important; }
[hidden] { display: none !important; }

/* OVERRIDE BROWSER AUTO-FILL BG COLOR */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #FAFBF6 inset;
  box-shadow: 0 0 0 40px #FAFBF6 inset;
  -webkit-text-fill-color: #314134;
}

/*** CUSTOM SCROLLBARS (subtle and classic) ***/
::-webkit-scrollbar {
  width: 10px;
  background: #F2F7EE;
}
::-webkit-scrollbar-thumb {
  background: #D7DFD0;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C0CDBC;
}
