/* 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #F5F4EA 0%, #e2efe8 100%);
  min-height: 100vh;
  color: #2A3344;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  color: #2A3344;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #6B8866;
  outline-offset: 2px;
}
a:hover {
  color: #6B8866;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3344;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; letter-spacing: -1.5px; margin-bottom: 24px; }
h2 { font-size: 2rem; letter-spacing: -1px; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2A3344;
  font-size: 1rem;
  margin-bottom: 12px;
}

b, strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(42,51,68,0.08), 0 1.5px 6px rgba(42,51,68,0.06);
  position: relative;
  padding: 28px 32px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(42,51,68,0.09), 0 1px 4px rgba(107,136,102,0.07);
  margin-bottom: 20px;
  max-width: 500px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL CARD STYLES */
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* HERO STYLES */
main > section:first-of-type {
  background: linear-gradient(100deg, #F5F4EA 50%, #e2efe8 100%);
  border-radius: 0 0 32px 32px;
  min-height: 275px;
}
.subheadline {
  color: #6B8866;
  font-size: 1.25rem;
  margin-bottom: 32px;
  font-weight: 500;
}

/* BUTTONS & CALL TO ACTIONS */
.cta-primary, .cta-secondary, .cookie-accept, .cookie-reject, .cookie-settings {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: 0 1px 4px rgba(107,136,102,0.07);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  margin-right: 12px;
}
.cta-primary, .cookie-accept {
  background: linear-gradient(90deg, #6B8866 0%, #2A3344 120%);
  color: #fff;
  border: none;
}
.cta-primary:hover, .cookie-accept:hover,
.cta-primary:focus, .cookie-accept:focus {
  background: #2A3344;
  transform: translateY(-2px) scale(1.03);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42,51,68,0.13);
}
.cta-secondary, .cookie-settings {
  background: #fff;
  color: #2A3344;
  border: 2px solid #6B8866;
}
.cta-secondary:hover, .cta-secondary:focus, .cookie-settings:hover, .cookie-settings:focus {
  background: #6B8866;
  color: #fff;
  border-color: #6B8866;
  transform: translateY(-2px) scale(1.03);
}
.cookie-reject {
  background: #fff;
  color: #2A3344;
  border: 2px solid #c3c3c3;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #efebe8;
  color: #2A3344;
  border-color: #6B8866;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(42,51,68,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 16px 0 14px 0;
  font-size: 1rem;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3344;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
header nav a.cta-primary {
  background: linear-gradient(90deg, #6B8866 0%, #2A3344 120%);
  color: #fff;
  font-weight: 700;
  margin-left: auto;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #2A3344;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #F5F4EA;
  color: #6B8866;
}
header nav img {
  height: 44px;
  margin-right: 8px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg, #F5F4EA 0%, #6B8866 100%);
  box-shadow: 0 8px 24px rgba(42,51,68,0.11);
  transform: translateX(100%);
  transition: transform 0.30s cubic-bezier(.77,0,.18,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #2A3344;
  position: fixed;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 2002;
  padding: 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 70px 38px 20px 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3344;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  transition: color 0.20s, background 0.20s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #6B8866;
  outline: none;
}

/* MAIN CONTENT STYLES */
main {
  width: 100%;
  margin-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* SECTIONS GAP FIX */
section + section {
  margin-top: 0;
}

/* FEATURE LISTS */
ul, ol {
  padding-left: 0;
}
section ul {
  list-style: none;
  margin-top: 0;
  gap: 12px;
  display: flex;
  flex-direction: column;
}
section ul li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2A3344;
}
section ul li img {
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin-right: 8px;
  margin-top: 2px;
  filter: grayscale(15%) contrast(110%);
}
section ul li b {
  color: #6B8866;
}

/* FAQ & BLOG ENTRY STYLE */
ul > li > h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3344;
  margin-bottom: 4px;
  font-size: 1.15rem;
  font-weight: 600;
}
ul > li > p {
  font-size: 1rem;
  color: #2A3344;
}
ul > li h3 a {
  color: #6B8866;
  transition: color 0.14s;
}
ul > li h3 a:hover, ul > li h3 a:focus {
  color: #2A3344;
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #e2efe8 0%, #F5F4EA 100%);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 12px rgba(42,51,68,0.04);
  padding: 42px 0 18px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
footer nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #6B8866;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #2A3344;
}
footer p {
  font-size: 0.88rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer address {
  font-size: 0.97rem;
  color: #2A3344;
  font-style: normal;
}
footer address a {
  color: #6B8866;
}

/* TESTIMONIALS */
.testimonial-card {
  border-left: 5px solid #6B8866;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #2A3344;
}
.testimonial-card span {
  color: #6B8866;
  font-size: 1.01rem;
  font-weight: 600;
}

/* RESPONSIVENESS */
@media (max-width: 1100px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .card, .testimonial-card {
    min-width: 92vw;
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  h1 {
    font-size: 2.15rem;
  }
  h2 {
    font-size: 1.55rem;
  }
}
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }
  .content-wrapper, .text-section, .footer .container {
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 1100;
    background: #2A3344;
    color: #fff;
    font-size: 2.1rem;
    border: none;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(42,51,68,0.11);
    transition: background 0.18s;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: #6B8866;
    outline: none;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .testimonial-card, .card {
    font-size: 0.98rem;
    padding: 16px 9px;
  }
  .section {
    padding: 20px 4px;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer .container, .footer .container {
    gap: 6px;
    padding-top: 0px;
    padding-bottom: 0;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
}

@media (max-width:520px){
  .mobile-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
  .testimonial-card, .card {
    min-width: 97vw;
    max-width: 97vw;
    padding: 13px 3px;
  }
}

/* Miscellaneous Enhancements and Details */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F4EA;
}
::-webkit-scrollbar-thumb {
  background: #e2efe8;
  border-radius: 12px;
}

/* Animations */
.cta-primary, .cta-secondary, .cookie-accept, .cookie-settings, .cookie-reject {
  transition: background 0.24s, color 0.24s, box-shadow 0.22s, transform 0.20s;
}

.card, .testimonial-card {
  transition: box-shadow 0.20s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(42,51,68,0.17), 0 3px 9px rgba(107,136,102,0.14);
  transform: translateY(-5px) scale(1.018);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #2A3344;
  color: #fff;
  box-shadow: 0 -2px 8px rgba(42,51,68,0.09);
  z-index: 4050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: slideUpCookie 0.5s;
}
@keyframes slideUpCookie {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 0 0 4px;
  color: #fff;
  max-width: 85vw;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}

/* Cookie Modal (Preferences) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(42,51,68, 0.46);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.4s cubic-bezier(.86,0,.07,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #2A3344;
  border-radius: 22px;
  padding: 44px 36px 32px 36px;
  max-width: 370px;
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(42,51,68,0.21), 0 4px 16px rgba(107,136,102,0.12);
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: slideDownModal 0.4s cubic-bezier(.83,0,.17,1);
  position: relative;
}
@keyframes slideDownModal {
  from { transform: translateY(-80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #2A3344;
  margin-bottom: 10px;
  font-size: 1.13rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #2A3344;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #6B8866;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px;
  right: 14px;
  font-size: 1.55rem;
  background: transparent;
  border: none;
  color: #2A3344;
  cursor: pointer;
}

@media (max-width: 450px) {   
  .cookie-modal {
    padding: 28px 7px 22px 7px;
    max-width: 99vw;
  }
  .cookie-banner p {
    font-size: 0.92rem;
  }
}

/* Accessibility focus ring for keyboard nav on interactive elements */
button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-accept:focus, .cookie-settings:focus, .cookie-reject:focus, .mobile-menu-close:focus {
  outline: 2px solid #6B8866;
  outline-offset: 2px;
  z-index: 21;
}
