/* 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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222e27;
  background-color: #f4f7f3;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
section {
  width: 100%;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 28px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
a {
  color: #18803a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23406e;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #23406e;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, .subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #30411c;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
strong {
  color: #18803a;
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #23406e;
  border-left: 4px solid #18803a;
  padding: 8px 20px;
  margin-bottom: 12px;
  background: #f3f7f1;
}
.table-section table {
  font-family: 'Open Sans';
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 22px rgba(60,70,45,0.04);
}
.cta-section {
  background: #e2e7ec;
  border: none;
  border-radius: 32px 32px 0 0/44px 44px 0 0;
  margin-bottom: 0;
}
.confirmation-section {
  margin-bottom: 60px;
  padding: 48px 20px 60px 20px;
  background: #f3fcf6;
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(61,85,35,0.05);
}

/***** FLEXBOX LAYOUT MODULES *****/
.features, .feature-grid, .card-container, .card-grid, .footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
}
.card-container {
  gap: 24px;
}
.card {
  background: #f7faf6;
  padding: 28px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(45,55,33,0.07);
  transition: box-shadow 0.2s, transform 0.17s;
  margin-bottom: 20px;
  position: relative;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(24,128,58,0.13);
  transform: translateY(-2px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  margin: 34px 0 12px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(24,128,58,0.06);
  min-height: 100px;
  border-left: 8px solid #18803a;
  position: relative;
  font-size: 1rem;
}
.testimonial-card blockquote {
  color: #23406e;
  margin-bottom: 0;
  padding: 0 18px 0 0;
  background: none;
  border: none;
}
.testimonial-card span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #23406e;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-left: auto;
}
.feature-item {
  background: #f3fcf6;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(24,128,58,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 270px;
  min-width: 250px;
  min-height: 240px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #e2e7ec;
  box-shadow: 0 1.5px 5px #d2ecc8;
  padding: 9px;
}
.feature-item:hover {
  box-shadow: 0 9px 30px rgba(24,128,58,0.11);
  transform: translateY(-3px) scale(1.03);
}
.text-section {
  margin-bottom: 18px;
}

/***** HEADER *****/
.header-bar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,64,110,0.06);
  padding: 10px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 10;
}
.logo {
  height: 46px;
  width: auto;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #23406e;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.cta-link {
  background: #18803a;
  color: #fff;
  padding: 7px 21px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(24,128,58,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a.cta-link:hover, .main-nav a.cta-link:focus {
  background: #23406e;
  color: #fff;
  box-shadow: 0 4px 16px rgba(35,64,110,0.09);
}
.main-nav a:hover, .main-nav a:focus {
  background: #f3fcf6;
  color: #18803a;
}

/****** MOBILE MENU ******/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #23406e;
  background: none;
  border: none;
  padding: 5px 12px;
  margin-left: 10px;
  cursor: pointer;
  z-index: 20;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f7faf6;
  box-shadow: 0 0 36px rgba(35,64,110,0.09);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.4,0.2,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #23406e;
  background: none;
  border: none;
  margin: 23px 25px 10px 8px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #18803a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 18px 16px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
  color: #23406e;
  background: none;
  margin: 6px 0;
  padding: 13px 10px;
  border-radius: 9px;
  width: 100%;
  font-weight: 700;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #18803a;
}

/****** HERO SECTION ******/
.hero {
  background: #f3fcf6 url('../assets/leaf-texture.png') repeat;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 4px 26px rgba(35,64,110,0.07);
  min-height: 290px;
  padding: 58px 0 38px 0;
  margin-bottom: 44px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: #18803a;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 0;
}
.hero .subheadline {
  color: #23406e;
  font-size: 1.2rem;
}

/****** CTA BUTTON ******/
.cta-button {
  display: inline-block;
  background: #18803a;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 13px 32px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 7px rgba(24,128,58,0.12);
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 5px;
  transition: background 0.22s, box-shadow 0.19s, transform 0.16s;
}
.cta-button:hover,
.cta-button:focus {
  background: #23406e;
  color: #fff;
  box-shadow: 0 5px 18px rgba(35,64,110,0.12);
  transform: translateY(-1.5px) scale(1.03);
}

/***** TABLES *****/
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(23,64,110,0.07);
  margin-bottom: 22px;
  font-family: 'Open Sans', Arial, sans-serif;
}
table thead tr {
  background: #e2e7ec;
}
table thead th {
  color: #23406e;
  font-size: 1.05rem;
  padding: 13px 12px;
  text-align: left;
  font-weight: 800;
  letter-spacing: .03em;
}
table tbody td {
  padding: 12px 11px;
  color: #30411c;
  border-bottom: 1px solid #e2e7ec;
  font-size: .98rem;
  background: #fafcfa;
}
table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width:600px) {
  table thead {
    display: none;
  }
  table, table tbody, table tr, table td {
    display: block;
    width: 100%;
  }
  table tr {
    margin-bottom: 25px;
    border-radius: 11px;
    box-shadow: 0 1px 5px rgba(24,128,58,.09);
    background: #fff;
  }
  table td {
    position: relative;
    padding-left: 48%;
    min-height: 24px;
    border-bottom: none;
    border-top: 1px solid #e2e7ec;
  }
  table td:before {
    position: absolute;
    top: 12px; left: 12px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    white-space: nowrap;
    color: #23406e;
    content: attr(data-label);
    font-size: 0.99rem;
    text-align: left;
  }
}

/**** CONTACT INFO & MAP ****/
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: #f3fcf6;
  border-radius: 18px;
  padding: 24px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 9px rgba(24,128,58,0.07);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #23406e;
  min-width: 220px;
}
.contact-details h3 {
  color: #18803a;
  font-size: 1.05rem;
  margin: 8px 0 0 0;
  font-family: 'Roboto Slab', serif;
}
.address-map {
  background: #e2e7ec;
  padding: 18px;
  border-radius: 16px;
  color: #23406e;
  margin-bottom: 17px;
}

/**** FOOTER ****/
footer {
  margin-top: 48px;
  background: #f3fcf6;
  border-radius: 42px 42px 0 0/64px 64px 0 0;
  box-shadow: 0 -2px 24px rgba(23,64,110,0.06);
  padding: 34px 0 18px 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: 0 28px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #18803a;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e2e7ec;
  color: #23406e;
}
.brand-signature {
  color: #23406e;
  font-size: 0.98rem;
  line-height: 1.35;
  font-family: 'Roboto Slab', Georgia, serif;
}

/**** COOKIE CONSENT BANNER & MODAL ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23406e;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 18px;
  box-shadow: 0 -2px 22px rgba(24,128,58,0.10);
  z-index: 1400;
  font-size: 1rem;
  animation: fadeInUp 0.5s cubic-bezier(.39,.34,.41,1.2);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: 8px;
}
.cookie-btn {
  background: #fff;
  color: #18803a;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 14px;
  margin-right: 2px;
  box-shadow: 0 1.5px 6px rgba(24,128,58,0.09);
  cursor: pointer;
  transition: background .16s, color .14s, box-shadow .17s;
}
.cookie-btn.accept {
  background: #18803a;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #23406e;
  color: #fff;
}
.cookie-btn.reject {
  background: #e2e7ec;
  color: #23406e;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #18803a;
}
.cookie-btn.settings {
  background: #f3fcf6;
  color: #23406e;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e2e7ec;
  color: #18803a;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(43,52,41,0.24);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .33s cubic-bezier(.28,.53,.45,1.22);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23406e;
  width: 94vw;
  max-width: 440px;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(24,128,58,0.13);
  padding: 26px 27px 20px 27px;
  position: relative;
  z-index: 1510;
  animation: slideDown .34s cubic-bezier(.28, .53, .4, 1.19);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 10px;
  background: none;
  border: none;
  color: #23406e;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #18803a;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 14px;
}
.cookie-category {
  margin-bottom: 13px;
  padding: 12px 8px;
  background: #f3fcf6;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
}
.cookie-category .toggle {
  font-size: 1.3rem;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #18803a;
}
.cookie-essential {
  color: #888a81;
  font-size: 0.95rem;
  font-style: italic;
  margin-left: 5px;
}

/**** UTILITY CLASSES ****/
.hide {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.m-t-lg {
  margin-top: 36px;
}
.m-b-lg {
  margin-bottom: 36px;
}
.green {
  color: #18803a;
}

/**** RESPONSIVE DESIGN ****/
@media (max-width: 1140px) {
  .container { max-width: 98vw; }
  .footer-wrapper { flex-direction: column; gap: 19px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .footer-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { gap: 11px; }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .header-bar {
    flex-direction: row;
    gap: 0;
    padding: 12px 0px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero { padding: 39px 0 32px 0; }
  .section, .confirmation-section, .cta-section {
    padding: 22px 5px;
    border-radius: 18px;
    margin-bottom: 38px;
  }
  .feature-item {
    min-width: 95%;
    min-height: 140px;
    padding: 18px 7px;
  }
  .card, .testimonial-card {
    padding: 15px 8px;
    border-radius: 11px;
  }
  .content-wrapper { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
  }
  .card-container, .content-grid, .footer-wrapper {
    gap: 13px;
  }
}
@media (max-width: 480px) {
  .logo {
    height: 34px;
  }
  .cta-button {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 12px 0;
  }
  .cookie-modal {
    padding: 13px 7px 10px 9px;
    min-width: 85vw;
  }
}

/**** ORGANIC SHAPE DECORATION (for aesthetic) ****/
.section, .cta-section, .confirmation-section, .card, .feature-item, .testimonial-card {
  border-radius: 38px 12px 24px 22px/23px 32px 32px 18px;
}

/* Organic divider demo, can extend as .divider or svg decoration */
.organic-divider {
  width: 100%;
  height: 34px;
  background: url('../assets/organic-divider.svg') repeat-x;
  margin: 22px 0;
}

/**** SCROLLBAR STYLES ****/
::-webkit-scrollbar {
  width: 8px; background: #f3fcf6;
}
::-webkit-scrollbar-thumb {
  background: #d9e3d1; border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c7dac1;
}
/* For Firefox */
body {
  scrollbar-color: #d9e3d1 #f3fcf6;
}

/* INPUTS & FORMS (for future) */
input, select, textarea {
  border-radius: 8px;
  border: 1px solid #dbe7db;
  font-family: 'Open Sans', sans-serif;
  padding: 8px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fafcfa;
  color: #23406e;
  transition: border-color 0.18s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #18803a;
  outline: none;
  box-shadow: 0 2px 8px rgba(24,128,58,0.07);
}
::placeholder {
  color: #a5b79d;
}

/* Accessibility: Focused elements visible */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2px solid #18803a;
  outline-offset: 1.5px;
}

/* Micro-interactions for cards, features, CTA (subtle up) */
.card:active, .feature-item:active, .cta-button:active {
  transform: scale(0.97);
}

/**** CUSTOM FONT Fallbacks ****/
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Slab'), local('RobotoSlab'),
      url('https://fonts.gstatic.com/s/robotoslab/v20/BngRUcU7raCjA3bPZnI.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'),
      url('https://fonts.gstatic.com/s/opensans/v24/mem8YaGs126MiZpBA-UFVZ0e.woff2') format('woff2');
}
