/* =========================
   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, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html, body {
  min-height: 100%;
  background: #F6F7F9;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #15375C;
  background: #F6F7F9;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #5C8D45;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #15375C;
  text-decoration: underline;
}

strong {
  font-weight: 700;
}

/* =========================
   Typography
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #15375C;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem; /* 22px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  color: #15375C;
  margin: 0 0 8px 0;
  border-left: 6px solid #5C8D45;
  padding-left: 17px;
  background: #fff;
  border-radius: 8px;
}
cite {
  font-size: 0.97rem;
  color: #5C8D45;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* =========================
   Container & Layout
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 22px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ====== Section Spacing ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
}

/* ====== Card and Flex Containers ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(21, 55, 92, 0.09);
  padding: 28px 26px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(92, 141, 69, 0.17);
  transform: translateY(-3px) scale(1.016);
  z-index: 2;
}
.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: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ====== Feature Grid & Feature Item ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(21, 55, 92, 0.07);
  padding: 24px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 5px;
}
.feature-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.feature-item:hover {
  box-shadow: 0 6px 20px 0 rgba(92, 141, 69, 0.14);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-item {
    flex-basis: 47%;
  }
}
@media (max-width: 620px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
}

/* =========================
   Buttons
   ========================= */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 32px;
  cursor: pointer;
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  margin-top: 6px;
  margin-right: 10px;
  min-width: 190px;
  min-height: 48px;
  box-shadow: 0 1px 2px rgba(21,55,92,0.07);
}
.btn-primary {
  background: #5C8D45;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(92, 141, 69, 0.12);
  border: 2px solid #5C8D45;
}
.btn-primary:hover, .btn-primary:focus {
  background: #15375C;
  border-color: #15375C;
  color: #fff;
  transform: scale(1.04);
}
.btn-secondary {
  background: #fff;
  color: #15375C;
  box-shadow: 0 4px 18px 0 rgba(21, 55, 92, 0.09);
  border: 2px solid #5C8D45;
  font-weight: 800;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #5C8D45;
  color: #fff;
  border-color: #5C8D45;
  transform: scale(1.03);
}

/* =========================
   Header & Navigation
   ========================= */
header {
  background: #15375C;
  color: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 5px 30px rgba(21, 55, 92, 0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 80px;
  min-height: 65px;
}
header img {
  height: 36px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 24px;
}
.main-nav a {
  color: #F6F7F9;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 11px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #5C8D45;
  color: #FFF;
}
header .btn-primary {
  margin-left: 30px;
  min-width: 156px;
  font-size: 1rem;
}

@media (max-width: 1020px) {
  header .main-nav {
    gap: 12px;
    font-size: 0.95rem;
  }
  header .container {
    padding: 0 6px;
  }
}
@media (max-width: 900px) {
  header .btn-primary {
    display: none;
  }
  header .main-nav {
    display: none;
  }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
    z-index: 102;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    transition: background 0.16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: rgba(92, 141, 69, 0.17);
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #15375C;
  color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 48px;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.86,0,.07,1);
  box-shadow: 4px 0 26px 0 rgba(21,55,92,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 13px;
  right: 21px;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 105;
  transition: background 0.15s;
  border-radius: 9px;
  padding: 3px 10px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(92, 141, 69, 0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 26px 0 36px;
  width: 100%;
  margin-bottom: 22px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 6px 12px 6px;
  border-radius: 7px;
  transition: background 0.1s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5C8D45;
  color: #FFF;
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* =========================
   Main Content General
   ========================= */
main {
  width: 100%;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

@media (max-width: 768px) {
  .text-section {
    gap: 9px;
  }
}

/* =========================
   Testimonials
   ========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #15375C;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(21, 55, 92, 0.11);
  min-height: 60px;
  font-size: 1.1rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.testimonial-card blockquote {
  background: none;
  border-left: none;
  padding: 0;
  margin: 0 0 0 0;
  font-style: italic;
  color: #15375C;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
}
.testimonial-card cite {
  margin-left: 7px;
  font-style: normal;
  color: #5C8D45;
  font-weight: 800;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(92, 141, 69, 0.13);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 10px;
  }
}

/* =========================
   Footer
   ========================= */
footer {
  width: 100%;
  background: #15375C;
  color: #fff;
  padding: 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 22px 22px 22px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 40px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.90;
  transition: color 0.2s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5C8D45;
  opacity: 1;
}
footer address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  color: #F6F7F9;
  opacity: 0.87;
}
footer a {
  color: #5C8D45;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
footer a:hover, footer a:focus {
  color: #9AD499;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 10px;
    gap: 15px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-right: 0;
    margin-bottom: 7px;
  }
}

/* =========================
   Cookie Consent Banner
   ========================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 18px 22px;
  background: #15375C;
  color: #fff;
  font-size: 1.09rem;
  z-index: 1200;
  box-shadow: 0 -4px 18px 0 rgba(21,55,92,0.15);
  transition: transform 0.8s;
  gap: 24px;
  flex-wrap: wrap;
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 1rem;
}
.cookie-btn-group {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: #5C8D45;
  color: #fff;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 28px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, transform 0.13s;
  box-shadow: 0 2px 8px 0 rgba(92, 141, 69, 0.11);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #15375C;
  color: #fff;
  transform: scale(1.03);
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #15375C;
  border: 2px solid #5C8D45;
  font-weight: 800;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #5C8D45;
  color: #fff;
}

/*--- Cookie modal ---*/
#cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21, 55, 92, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 36px 34px 28px 34px;
  min-width: 320px;
  max-width: 94vw;
  color: #15375C;
  display: flex;
  flex-direction: column;
  gap: 21px;
  box-shadow: 0 10px 44px 0 rgba(21,55,92,0.17);
}
.cookie-modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}
.cookie-category label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #F6F7F9;
  border-radius: 13px;
  position: relative;
  margin-right: 7px;
  border: 2px solid #5C8D45;
  cursor: pointer;
  transition: background 0.17s;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  left: 2px;
  top: 1px;
  background: #5C8D45;
  transition: left 0.16s, background 0.17s;
}
.cookie-toggle input:not(:checked) + .toggle-slider {
  background: #d1dde3;
  left: 2px;
}
.cookie-toggle input:checked + .toggle-slider {
  background: #5C8D45;
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #15375C;
  font-size: 1.6rem;
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
  padding: 3px 9px;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F6F7F9;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 18px 7vw 15px 7vw;
    min-width: 0;
    font-size: 0.95rem;
  }
}

/* =========================
   Miscellaneous & Utilities
   ========================= */
::-webkit-input-placeholder { color:#aaa; }
::-moz-placeholder { color:#aaa; }
::-ms-input-placeholder { color:#aaa; }
::placeholder { color:#aaa; }

hr {
  border: none;
  height: 1px;
  background: #d0d5d8;
  margin: 38px 0 32px 0;
}

/* Icon inside text-section for contact page */
.text-section img {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}


/* =========================
   Responsive Utilities
   ========================= */
@media (max-width: 650px) {
  .container {
    padding: 0 2vw;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .btn-primary, .btn-secondary {
    min-width: 130px;
    font-size: 0.98rem;
    padding: 10px 2vw;
  }
  .cookie-btn {
    padding: 9px 12px;
    font-size: 0.97rem;
  }
}

/* =========================
   Modern Bold Visual Details
   ========================= */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(21,55,92,0.09);
}
@media (max-width: 850px) {
  section {
    border-radius: 14px;
  }
}

/* Geometric decorative shapes */
.section::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
}

/* ===============
   Animation for interactions
   =============== */
.btn-primary, .btn-secondary, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.18s;
}

/* Focus states for accessibility */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px dashed #5C8D45;
  outline-offset: 3px;
}

/* Hide visually, keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END OF STYLE.CSS */
