/* === CSS RESET & NORMALIZATION === */
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, menu, 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;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #2d2b2b;
  background: #F5F2E7;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #205D7A;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #36A66B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li+li {
  margin-top: 0.75em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #205D7A;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
p { margin-bottom: 1.25em; }
strong, b { color: #205D7A; font-weight: 700; }
em, i { color: #36A66B; }

hr {
  border: none;
  border-top: 1px solid #e7e2d6;
  margin: 32px 0;
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 4px 18px rgba(32,93,122,0.07);
  border-radius: 0 0 18px 18px;
  padding: 0 0 0 0;
  z-index: 20;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #205D7A;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e8f7f2;
  color: #36A66B;
}
.main-nav img {
  height: 42px; width:auto;
  margin-right: 10px;
  display: block;
}

.mobile-menu-toggle {
  background: #205D7A;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  margin-left: auto;
  transition: background 0.18s;
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #36A66B;
  color: #fff;
}

/* === MOBILE NAVIGATION ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,93,122,0.98);
  z-index: 1001;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  display: flex;
  transition: transform 0.35s cubic-bezier(.7,0,.3,1), opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 18px 10px auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #36A66B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 12px;
  transition: background 0.2s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #36A66B;
  color: #F5F2E7;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 20px;
  }
  .main-nav a { font-size: 0.97rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }
}

/* ======================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(32,93,122,0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(54,166,107,0.10);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(54,166,107,0.16);
  transform: translateY(-3px) scale(1.01);
}

.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: flex-start;
  gap: 16px;
  padding: 20px;
  background: #F5F2E7;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(32,93,122,0.11);
  color: #2d2b2b;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(54,166,107,0.18);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.12rem;
  margin-bottom: 4px;
  color: #205D7A;
}
.testimonial-card span {
  color: #36A66B;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ========== HERO ====================== */
.hero {
  background: linear-gradient(120deg, #F5F2E7 80%, #36A66B 120%);
  padding: 70px 0 40px 0;
  margin-bottom: 48px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 6px 32px rgba(32,93,122,0.09);
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: #205D7A;
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
.hero p {
  font-size: 1.22rem;
  color: #444;
  margin-bottom: 22px;
}

/* ===== CTAs and BUTTONS ======================= */
.cta-section {
  background: #36A66B;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 28px rgba(32,93,122,.13);
  text-align: center;
  margin-bottom: 60px;
  padding: 52px 20px;
}
.cta-section h2 { color:#fff; font-size:2rem; }
.cta-section p { color:#fff; }
.cta {
  display: inline-block;
  background: #205D7A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 32px;
  font-size: 1.14rem;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.18s, transform 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 8px rgba(32,93,122,0.13);
}
.cta.primary {
  background: #205D7A;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #36A66B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(32,93,122,0.18);
}

/* ====== SECTIONS and PAGE SPACING ============ */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ========= FOOTER ==================== */
footer {
  width: 100%;
  background: #205D7A;
  color: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 18px rgba(32,93,122,0.08);
  padding: 32px 0 16px 0;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F5F2E7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #36A66B;
  color: #fff;
}
.footer-info {
  font-size: 0.98rem;
  color: #e5ddd1;
}

/* ============= FORM AND MAP SNIPPETS =============== */
.map-snippet {
  background: #e8f7f2;
  border-radius: 16px;
  padding: 22px 18px;
  margin: 20px 0;
  color: #205D7A;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 12px rgba(32,93,122,0.07);
}

/* ============= TABLES (if any) =============== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 12px rgba(54,166,107, 0.10);
}
th, td {
  padding: 14px 18px;
  border-bottom: 1px solid #e6e1d6;
  color: #205D7A;
}
th { background: #e8f7f2; }

/* ==== MANDATORY FLEX UTILITY CLASSES ==== */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
.card-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.card-content { display: flex; flex-direction: column; justify-content: center; }

/* ===== RESPONSIVE DESIGN ========= */
@media (max-width: 1100px) {
  .container { padding: 0 12px; }
}
@media (max-width: 900px) {
  .footer-nav { gap: 10px; font-size: 0.91rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .hero { padding: 40px 0 22px 0; border-radius: 0 0 22px 22px; }
  .hero h1 { font-size:2rem; }
  section, .section { padding:22px 0; border-radius: 16px; }
  .cta-section { border-radius: 20px; padding: 35px 4px; }
  .testimonial-card { padding: 14px; border-radius: 14px; }
  .card-container, .card-grid, .features { gap: 12px; }
  .card { padding: 18px 8px; border-radius: 12px; }
  .footer-nav { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer-info { font-size: .92rem; }
  .main-nav { display: none; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  .cta { padding:10px 18px; font-size: 1rem; }
  footer { padding: 24px 0 8px 0; }
}

/* === INTERACTIVE MICRO-INTERACTIONS === */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: background 0.17s, color 0.16s, box-shadow 0.13s;
}
button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 3px #36A66B88;
}

/* ================ COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0; right:0; bottom: 0;
  width: 100vw;
  background: #fffdf8;
  color: #205D7A;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 18px rgba(32,93,122,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.24s, transform 0.25s cubic-bezier(.7,0,.3,1);
  font-size: 1rem;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 510px;
  font-size: 1rem;
}
.cookie-actions {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.13s;
  background: #205D7A;
  color: #fff;
}
.cookie-btn.settings {
  background: #e8f7f2;
  color: #205D7A;
}
.cookie-btn.reject {
  background: #fff;
  color: #36A66B;
  border: 1.5px solid #36A66B;
}
.cookie-btn.accept {
  background: #36A66B;
  color: #fff;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #205D7A;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ece8d3;
  color: #205D7A;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #36A66B;
  color: #fff;
}
@media (max-width:600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap:18px; padding: 16px 10px; }
  .cookie-actions { width: 100%; flex-direction:row; justify-content: flex-end; }
}

/* === COOKIE PREFERENCES MODAL ================ */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32,93,122,0.55);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-54%) scale(0.94);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 42px rgba(32,93,122,0.15);
  max-width: 97vw;
  width: 370px;
  padding: 38px 28px 28px 28px;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.28s cubic-bezier(.7,0,.3,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-51%) scale(1);
}
.cookie-modal h2 {
  color: #205D7A;
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8f7f2;
  font-size: 1.04rem;
}
.cookie-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.cookie-toggle input[type="checkbox"] {
  accent-color: #36A66B;
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #205D7A;
  font-size: 1.7rem;
  margin-left: auto;
  cursor: pointer;
  position: absolute;
  top: 10px; right: 12px;
  border-radius: 7px;
  padding: 0 4px;
  line-height: 1;
}
.cookie-modal .close-modal:hover { color: #36A66B; background: #e8f7f2; }
@media (max-width: 420px) {
  .cookie-modal { padding: 18px 8px 16px 8px; width:95vw; }
}

/* ========== MISC ========================== */
::-webkit-scrollbar {
  width: 7px;
  background: #ece8d3;
}
::-webkit-scrollbar-thumb {
  background: #e6e5ec;
  border-radius: 5px;
}

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

/* Animation for elements on hover/focus for friendliness */
.card, .testimonial-card, .cta-section, .cta {
  transition: box-shadow 0.18s, transform 0.11s;
}

/* Ensure no flex items overlap and have minimum spacing */
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child), .section:not(:last-child) {
  margin-bottom: 20px !important;
}

/* Mandatory: Prevent overlaps by adjusting margins & gaps */
.card-container, .content-grid, .features, .footer-nav {
  gap: 20px !important;
}

/* END GlimmerConstruct Warm Friendly CSS */
