/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F3F3F3;
  color: #173C53;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #173C53;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5CC247;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #173C53;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.1rem;
  line-height: 1.3;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #173C53;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #173C53;
}

/* LAYOUT STRUCTURE */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px rgba(23,60,83,0.07), 0 1.5px 5px rgba(92,194,71,0.07);
}
.hero {
  background: #173C53;
  color: #fff;
  padding: 64px 0 48px 0;
}
.hero h1, .hero h2, .hero h3, .hero p {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 28px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,60,83,0.07);
  position: relative;
  z-index: 1000;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #5CC24722;
  color: #5CC247;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.16rem;
  background: #5CC247;
  color: #fff;
  border-radius: 13px;
  padding: 13px 32px;
  margin: 6px 0;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(23,60,83,0.06);
  transition: background 0.22s, transform 0.13s, color 0.13s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #173C53;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: #5CC247;
  border: 2px solid #5CC247;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background: #5CC247;
}

/* FLEX SPACING, CARDS & LAYOUT */
.features ul, .services ul, .about ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}
.features ul li, .services ul li, .about ul li {
  background: #F3F3F3;
  color: #173C53;
  padding: 20px 26px 20px 22px;
  border-radius: 12px;
  font-size: 1.07rem;
  font-weight: 600;
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2.5px 10px rgba(23,60,83,0.07);
  margin-bottom: 20px;
}
.features ul li img, .services ul li img, .about ul li img {
  width: 32px;
  height: 32px;
  margin-right: 13px;
  flex-shrink: 0;
}

.community-highlight, .customer-success {
  background: #5CC24711;
  color: #173C53;
  padding: 18px 26px;
  border-radius: 11px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2.5px 10px rgba(23,60,83,0.06);
  padding: 32px 22px;
  flex: 1 1 285px;
  min-width: 270px;
}

.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: 12px;
  padding: 20px;
  background: #F3F3F3;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(23,60,83,0.10);
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #173C53;
  font-size: 1.09rem;
}
.testimonial-card strong {
  color: #173C53;
}
.testimonial-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.12rem;
  margin-top: 24px;
  font-weight: 700;
  color: #173C53;
}
.testimonial-summary img {
  width: 28px;
  height: 28px;
}

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

.policy ul {
  flex-direction: column;
  gap: 15px;
}

.about-preview, .services-preview, .about, .services, .contact {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2.5px 10px rgba(23,60,83,0.06);
  margin-bottom: 40px;
  padding: 32px 20px;
}

.map {
  margin-top: 10px;
  background: #F3F3F3;
  padding: 20px 16px;
  border-radius: 9px;
  color: #173C53;
  font-size: 1rem;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #5CC247;
  background: #173C53;
  border-left: 8px solid #5CC247;
  padding: 24px 34px;
  margin: 32px 0 8px 0;
  border-radius: 11px;
  box-shadow: 0 2.5px 8px rgba(23,60,83,0.09);
}

.cta {
  margin-bottom: 32px;
  padding: 40px 20px;
  background: #5CC247;
  color: #fff;
  border-radius: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 16px;
}
.cta .btn-primary {
  background: #fff;
  color: #173C53;
  box-shadow: 0 4px 16px rgba(23,60,83,0.06);
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #F3F3F3;
  color: #5CC247;
}

/* FOOTER */
footer {
  background: #173C53;
  color: #fff;
  padding: 32px 0 12px 0;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.12s;
  text-decoration: none;
}
footer nav a:hover, footer nav a:focus {
  color: #5CC247;
  opacity: 1;
}
.footer-contact {
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
footer p {
  font-size: 0.95rem;
  color: #6FCF97;
  text-align: left;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-details a {
  color: #5CC247;
  font-weight: 700;
  text-decoration: underline;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #173C53;
  color: #fff;
  font-size: 2rem;
  border-radius: 9px;
  padding: 8px 15px;
  border: none;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, transform 0.13s;
  z-index: 2003;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #5CC247;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #173C53;
  color: #fff;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  transform: translateX(-112vw);
  transition: transform 0.33s cubic-bezier(.56,1.37,.53,1.01);
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #5CC247;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 23px 0 19px 0;
  cursor: pointer;
  transition: color 0.16s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 12px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.37rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 18px 0;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5CC247;
  color: #173C53;
}

@media (max-width: 1050px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
  }
  .hero {
    padding: 44px 0 36px 0;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .features ul li, .services ul li, .about ul li {
    font-size: 0.98rem;
    padding: 16px 14px 16px 12px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 5px;
    height: auto;
  }
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .about-preview, .services-preview, .about, .services, .contact, .cta, .section {
    padding: 24px 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    margin-bottom: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .features ul, .services ul, .about ul {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  header .container {
    flex-direction: row;
    gap: 2px;
    height: auto;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.97rem;
    padding: 11px 9px;
    min-width: 130px;
  }
  .testimonial-summary img {
    width: 22px;
    height: 22px;
  }
}

/* ANIMATIONS & TRANSITIONS */
.section, .about-preview, .services-preview, .about, .services, .contact, .card, .testimonial-card, .cta, .card-container, .content-grid {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover, .testimonial-card:hover, .about-preview:hover, .services-preview:hover, .about:hover, .services:hover {
  box-shadow: 0 8px 32px rgba(23, 60, 83, 0.13), 0 3px 10px rgba(92, 194, 71, 0.09);
  transform: translateY(-2px) scale(1.01);
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #173C53;
  color: #fff;
  box-shadow: 0 -4px 28px rgba(23,60,83,0.14);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 10px 24px 10px;
  gap: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.36s, opacity 0.19s;
  opacity: 1;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-left: 30px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  border-radius: 8px;
  padding: 8px 19px;
  margin: 2px 3px;
  cursor: pointer;
  border: none;
  box-shadow: 0 1.5px 6px rgba(92, 194, 71, 0.09);
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cookie-banner .cookie-accept {
  background: #5CC247;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #fff;
  color: #5CC247;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #173C53;
  border: 1.5px solid #5CC247;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #5CC247;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #5CC247;
  border: 1.5px solid #5CC247;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #5CC247;
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  background: rgba(23,60,83,0.36);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #173C53;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(23,60,83,0.17);
  padding: 40px 28px;
  min-width: 320px;
  max-width: 97vw;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalScale 0.25s ease-out;
}
@keyframes cookieModalScale {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 17px;
  background: none;
  color: #5CC247;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color 0.15s, transform 0.11s;
}
.cookie-modal .cookie-modal-close:hover,.cookie-modal .cookie-modal-close:focus {
  color: #173C53;
  transform: rotate(18deg) scale(1.09);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0 11px 0;
  border-bottom: 1px solid #F3F3F3;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-label {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 21px;
  background: #bcc9d1;
  border-radius: 14px;
  position: relative;
  transition: background 0.12s;
  margin-left: 7px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s, background 0.16s;
  box-shadow: 0 1.5px 6px rgba(23,60,83,0.11);
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 19px;
  background: #5CC247;
}
.cookie-switch input:checked ~ .cookie-switch {
  background: #5CC247;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-actions button {
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-actions .cookie-save {
  background: #5CC247;
  color: #fff;
}
.cookie-modal-actions .cookie-cancel {
  background: #fff;
  color: #173C53;
  border: 1.5px solid #5CC247;
}
.cookie-modal-actions .cookie-cancel:hover {
  background: #5CC247;
  color: #fff;
}

/* UTILITY CLASSES */
.d-none { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-60 { margin-bottom: 60px; }
.w-100 { width: 100%; }

/* GEOMETRIC/DECORATIVE BOLD EFFECTS */
.section, .about, .about-preview, .services, .services-preview,
.policy, .card, .testimonial-card, .cta, .footer-contact, .community-highlight, .customer-success {
  border-radius: 18px;
  border-top-right-radius: 60px 40px;
}

/* ACCESSIBILITY: FOCUS VISIBLE */
:focus-visible {
  outline: 2.2px solid #5CC247;
  outline-offset: 2px;
}

/* Hide scrollbar in mobile menu */
.mobile-menu {
  overflow-y: auto;
}

/* Hide cookie modal on small screens if not open */
@media (max-width: 540px) {
  .cookie-modal {
    padding: 26px 7px 20px 7px;
    min-width: unset;
  }
}
