/* ===============================================================
   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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  background: #F2F7EB;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F2F7EB;
  color: #164B37;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #388C6E;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover,
a:focus {
  color: #164B37;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ===============================================================
   GEOMETRIC_STRUCTURED STYLE GLOBALS
================================================================ */
:root {
  --primary: #164B37;
  --secondary: #388C6E;
  --accent: #F2F7EB;
  --white: #fff;
  --black: #222;
  --shadow: 0 6px 18px rgba(22,75,55,0.09);
  --radius: 12px;
  --radius-xs: 4px;
  --border: 2px solid #164B37;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--accent);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 13px;
  letter-spacing: 0.03em;
}
p {
  font-size: 1.063rem;
  color: var(--primary);
  margin-bottom: 18px;
}

/* Typography scale (responsive) */
@media (min-width: 540px) {
  h1   { font-size: 3.2rem; }
  h2   { font-size: 2.2rem; }
  h3   { font-size: 1.3rem; }
  p    { font-size: 1.13rem; }
}
@media (min-width: 980px) {
  h1   { font-size: 3.4rem; }
  h2   { font-size: 2.5rem; }
  h3   { font-size: 1.37rem; }
}

/* ===============================================================
   HEADER & NAVIGATION
================================================================ */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  gap: 20px;
}
header img {
  height: 52px;
  max-height: 52px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 7px 10px;
  border-radius: var(--radius-xs);
  transition: color .18s, background .18s;
  position: relative;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--primary);
  padding: 12px;
  font-size: 2rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.18s;
  z-index: 70;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--white);
}


@media (min-width: 980px) {
  .mobile-menu-toggle { display: none; }
  nav { display: flex !important; }
}
@media (max-width: 979px) {
  nav {
    display: none;
  }
}

/* ===============================================================
   MOBILE MENU OVERLAY
================================================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.60,.01,0,1);
  box-shadow: 0 12px 50px rgba(0,0,0,0.08);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.5rem;
  padding: 22px 22px 8px 18px;
  align-self: flex-end;
  margin-bottom: 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 210;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 12px;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 16px 2px 7px 0;
  border-bottom: 2.5px solid var(--accent);
  transition: color .18s, border .22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  border-color: var(--secondary);
}

@media (min-width: 980px) {
  .mobile-menu { display: none !important; }
}


/* ===============================================================
   FOOTER
================================================================ */
footer {
  background: var(--white);
  border-top: 2px solid var(--secondary);
  margin-top: 64px;
  padding: 0;
  font-size: 1rem;
  color: var(--primary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 16px 16px 16px;
}
footer img {
  max-height: 54px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1rem;
  padding-left: 0;
  letter-spacing: 0.01em;
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
}
footer > .container > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--primary);
  margin-top: 0;
  min-width: 200px;
}
footer a img {
  max-width: 36px;
  margin-right: 13px;
  opacity: 0.98;
  transition: opacity .18s;
}
footer a img:hover {
  opacity: 0.66;
}
footer .copyright {
  margin-top: 22px;
  font-size: 0.93rem;
  color: #555;
  opacity: 0.8;
  width: 100%;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer > .container > div {
    min-width: inherit;
    width: 100%;
  }
  footer img {
    margin-bottom: 14px;
  }
}


/* ===============================================================
   SECTIONS & LAYOUTS
================================================================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 540px) {
  section, .section {
    padding: 28px 4px;
    margin-bottom: 34px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--accent);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 270px;
  transition: box-shadow .21s cubic-bezier(.4,0,.2,1), border-color .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 36px 0 rgba(56,140,110,0.13);
  border-color: var(--secondary);
}

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

.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;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.quick-info-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.quick-info-boxes .box {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 18px;
  margin-bottom: 10px;
  min-width: 160px;
}
.quick-info-boxes .box img {
  height: 24px;
  width: 24px;
}

/* List Styles */
ul, ol {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
}
.content-wrapper ul, .text-section ul {
  padding-left: 0;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper ul li, .text-section ul li {
  background: var(--white);
  border-radius: var(--radius-xs);
  padding: 15px 16px;
  box-shadow: 0 2px 8px rgba(22,75,55,0.08);
  margin-bottom: 4px;
  font-size: 1.07rem;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}
.content-wrapper ul li img, .text-section ul li img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  border-radius: 4px;
}

/* ===============================================================
   CTA BUTTONS
================================================================ */
.cta, .main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  text-transform: uppercase;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(56,140,110,0.10);
  padding: 13px 32px;
  border: 2.2px solid var(--secondary);
  letter-spacing: 0.06em;
  margin-top: 18px;
  margin-bottom: 6px;
  transition: background 0.22s, color 0.22s, border 0.22s, transform .12s;
  cursor: pointer;
}
.cta:hover, .main-cta:hover,
.cta:focus, .main-cta:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.032);
}

/* ===============================================================
   TESTIMONIALS & QUOTES
================================================================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1.5px 14px 0 rgba(56,140,110,0.10);
  border: 2px solid var(--secondary);
  padding: 20px;
  margin-bottom: 22px;
  position: relative;
  min-width: 0;
  max-width: 580px;
  margin-right: 30px;
  margin-top: 18px;
  flex: 1 1 350px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.07rem;
  line-height: 1.7;
  color: var(--primary);
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card blockquote:before,
.testimonial-card blockquote:after {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.3rem;
  vertical-align: bottom;
}
.testimonial-card blockquote:before {
  content: '\201C';
}
.testimonial-card blockquote:after {
  content: '\201D';
}
.testimonial-card cite {
  font-size: 0.98rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 18px;
  align-self: flex-end;
}
@media (max-width: 820px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin-right: 0;
  }
  .testimonial-card cite {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Ensure at least 20px between all testimonial cards */
.container .testimonial-card + .testimonial-card {
  margin-left: 24px;
}
@media (max-width: 820px) {
  .container .testimonial-card + .testimonial-card {
    margin-left: 0;
    margin-top: 20px;
  }
}

/* ===============================================================
   COOKIE CONSENT BANNER & MODAL
================================================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: var(--primary);
  color: var(--white);
  padding: 18px 24px;
  box-shadow: 0 -3px 24px rgba(22,75,55,0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  animation: cookieSlideIn .72s cubic-bezier(.68,-0.55,.21,1.2);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  flex: 1 0 180px;
  margin-bottom: 0;
  color: var(--white);
}
.cookie-consent-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  padding: 9px 24px;
  margin: 3px 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  border: 2px solid var(--secondary);
  background: var(--secondary);
  color: var(--white);
}
.cookie-consent-btn.reject {
  background: none;
  color: var(--white);
  border-color: var(--white);
}
.cookie-consent-btn.settings {
  background: var(--white);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-consent-btn:hover,
.cookie-consent-btn:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--primary);
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,75,55,0.29);
  z-index: 2600;
  align-items: center;
  justify-content: center;
  transition: opacity .26s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: var(--white);
  max-width: 370px;
  width: 92vw;
  padding: 32px 22px 24px 22px;
  border-radius: var(--radius);
  color: var(--primary);
  box-shadow: 0 2px 16px rgba(56,140,110,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookiePopupFadeIn .5s cubic-bezier(.6,.01,.2,1);
}
@keyframes cookiePopupFadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--secondary);
}
.cookie-modal-close {
  margin-top: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  align-self: flex-end;
}
.cookie-modal-close:hover { color: var(--primary); text-decoration: underline; }

/* ===============================================================
   MEDIA, RESPONSIVENESS, FLEX LAYOUT
================================================================ */
@media (max-width: 980px) {
  .container {
    max-width: 95vw;
    padding: 0 6vw;
  }
  section {
    padding: 28px 0;
  }
}
@media (max-width: 700px) {
  .footer .container, .content-wrapper, .card-container, .card-grid, .content-grid, .quick-info-boxes {
    flex-direction: column !important;
    gap: 18px !important;
    padding: 0 !important;
    width: 100%;
  }
  .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 18px;
    padding: 18px 12px;
  }
  .testimonial-card {
    max-width: 100%;
    margin: 0 0 22px 0;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .cta, .main-cta { width: 100%; padding: 12px 8px; font-size: 1rem; }
  .quick-info-boxes .box { font-size: 0.98rem; min-width: 0; width: 100%; }
}

/* ===============================================================
   GEOMETRIC/STRUCTURED DECORATIVE ELEMENTS
================================================================ */
/* Angular header underline for hero */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: "";
  display: block;
  height: 4px;
  width: 54px;
  background: var(--secondary);
  border-radius: 2.5px;
  margin-top: 7px;
}
@media (max-width: 540px) {
  h1:after, h2:after { width: 28px; }
}

/* Diagonal highlight for .cta */
.cta, .main-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 5px 26px -5px rgba(56,140,110,0.15);
}
.cta:before, .main-cta:before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 60%; height: 11px;
  background: rgba(56,140,110,0.13);
  clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Card geometric accent */
.card:before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(56,140,110,0.03) 55%, rgba(22,75,55,0.11) 100%);
  border-top-left-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}

/* Button shadow geometric accent */
.cta:after, .main-cta:after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 25px; height: 100%;
  background: rgba(22,75,55,0.10);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

/* ===============================================================
   FORM ELEMENTS (If Needed)
================================================================ */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  box-shadow: 0 1.5px 6px 0 rgba(22,75,55,0.08);
  background-color: var(--white);
  color: var(--primary);
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* ===============================================================
   SCROLLBAR STYLES
================================================================ */
::-webkit-scrollbar { width: 10px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

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

/* ===============================================================
   END OF STYLES
================================================================ */
