/* RESET & BASELINE ---------------------------- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #E8F6E2;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #E8F6E2;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #124036;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
a {
  color: #22743A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #17e5ae;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY SCALE ----------------------------- */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  color: #124036;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #22743A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #124036;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
  color: #124036;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #124036;
}
strong {
  font-weight: 700;
}

/* CONTAINER & LAYOUT --------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX PATTERNS ----------------------------- */
.feature-grid, .service-cards, .team-members, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div, .service-cards > div, .team-members > div, .faq-list > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #B3D8B3CC,
              0 0 0 1.5px #E8F6E2;
  flex: 1 1 220px;
  padding: 32px 24px 28px 24px;
  margin-bottom: 0;
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  z-index: 1;
}
.feature-grid > div:hover, .service-cards > div:hover, .team-members > div:hover, .faq-list > div:hover {
  box-shadow: 0 6px 36px 0 #90f8c544, 0 2px 16px 0 #07ffa120;
  transform: translateY(-3px) scale(1.025);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #b3d8b390;
  overflow: hidden;
  padding: 24px;
}
.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: #ffffffee;
  color: #124036;
  border-radius: 16px;
  box-shadow: 0 2px 16px #B3D8B350, 0 0 0 1.5px #22743A09;
  font-size: 1.08rem;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, background 0.22s;
  min-width: 220px;
  width: 100%;
  max-width: 500px;
}
.testimonial-card p {
  color: #124036;
  font-size: 1.1rem;
  text-align: center;
}
.testimonial-card strong {
  color: #22743A;
  letter-spacing: 0.01em;
  font-size: 1.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS & CTA -------------------------------- */
.primary-cta {
  background: linear-gradient(90deg, #22743A 55%, #17e5ae 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  display: inline-block;
  border-radius: 36px;
  padding: 14px 38px;
  border: none;
  box-shadow: 0 2px 12px #22743A25;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.22s, box-shadow 0.18s, transform 0.18s;
  text-shadow: 0 0 8px #17e5ae80;
  margin-top: 0;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(90deg, #17e5ae 60%, #22743A 100%);
  color: #124036;
  box-shadow: 0 6px 24px #17e5ae50, 0 0 0 3px #22743A25;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.button, .secondary-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 32px;
  background: #fff;
  border: 2px solid #22743A;
  color: #22743A;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin: 0 6px 0 0;
}
.button:hover, .secondary-btn:hover {
  background: #22743A;
  color: #fff;
}

/* HEADER & NAVIGATION -------------------------- */
header {
  background: #F6FBF5;
  box-shadow: 0 2px 18px 0 #12403620;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  min-height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: #124036;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #22743A;
  border-bottom: 2px solid #17e5ae;
}
header .primary-cta {
  margin-left: auto;
  margin-right: 18px;
  font-size: 1rem;
}
.button.mobile-menu-toggle {
  display: none;
}
.mobile-menu-toggle {
  background: #fff;
  color: #22743A;
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  padding: 6px 13px 6px 13px;
  margin-left: 3px;
  box-shadow: 0 2px 8px #12403625;
  cursor: pointer;
  display: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #17e5ae;
  color: #fff;
}

/* MOBILE MENU ---------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 64, 54, 0.98);
  box-shadow: 0 2px 18px #22743A80;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.6,.22,.23,1.05);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #22743A;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  padding: 8px 15px;
  margin: 28px 18px 0 0;
  box-shadow: 0 2px 8px #17e5ae44;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 130;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #17e5ae;
  color: #22743A;
}
.mobile-nav {
  margin-top: 56px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1.5px solid #22743A40;
  width: 100%;
  transition: color 0.18s;
  margin: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #17e5ae;
}

/* FOOTER --------------------------------------- */
footer {
  background: #124036;
  color: #fff;
  padding: 40px 0 16px 0;
  box-shadow: 0 -4px 24px #22743A18;
  width: 100%;
  margin-top: 72px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-left: 12px;
}
.footer-nav a {
  color: #E8F6E2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.17s;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #17e5ae;
  border-bottom: 1.5px solid #17e5ae;
}
footer p {
  color: #E8F6E2;
  font-size: 0.98rem;
  margin-left: 10px;
  margin-top: 8px;
}

/* SPECIAL SECTIONS ----------------------------- */
.map-placeholder {
  background: #FAFFFA;
  border-radius: 14px;
  box-shadow: 0 1px 8px #22743A10;
  padding: 16px 18px;
  margin-top: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.map-placeholder img {
  width: 42px;
  height: 42px;
}
.contact-details p {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

/* TABLES, FORMS, MISC. ------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
th, td {
  border: 1.5px solid #22743A18;
  padding: 10px;
  text-align: left;
}
th {
  background: #22743A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* COOKIES BANNER ------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18,64,54,0.98);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 22px 28px;
  box-shadow: 0 -2px 18px #22743A40;
  font-size: 1.07rem;
  animation: cookieSlideIn 0.6s ease;
}
@keyframes cookieSlideIn {
  from { bottom: -120px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner-content {
  flex: 1;
  margin-right: 30px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-banner .button, .cookie-banner .secondary-btn {
  font-size: 1rem;
  padding: 11px 26px;
  margin: 0;
  border-radius: 36px;
  box-shadow: 0 2px 8px #17e5ae33;
}
.cookie-banner .button.accept {
  background: #22743A;
  color: #fff;
  border: none;
  transition: background 0.2s;
}
.cookie-banner .button.accept:hover, .cookie-banner .button.accept:focus {
  background: #17e5ae;
  color: #124036;
}
.cookie-banner .button.reject {
  background: #fff;
  color: #22743A;
  border: 2px solid #22743A;
}
.cookie-banner .button.reject:hover {
  background: #22743A;
  color: #fff;
}
.cookie-banner .secondary-btn.settings {
  background: #124036;
  color: #E8F6E2;
  border: none;
  margin-left: 4px;
}
.cookie-banner .secondary-btn.settings:hover {
  background: #17e5ae;
  color: #124036;
}

/* COOKIE SETTINGS MODAL ------------------------ */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,64,54,0.92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
  overflow: auto;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 30px 32px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 6px 32px #12403655, 0 0 0 2.5px #17e5ae30;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: #124036;
  animation: modalPop 0.33s cubic-bezier(.6,.22,.23,1.05);
}
@keyframes modalPop {
  from { transform: scale(0.93); opacity: 0.3; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  color: #22743A;
  font-size: 1.275rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #E8F6E2;
  padding: 6px 0 9px 0;
  font-size: 1rem;
}
.cookie-modal-category label {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #124036;
}
.cookie-modal-toggle {
  margin-left: 10px;
}
.cookie-modal .button-group {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .button {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 28px;
}
.cookie-modal .modal-close {
  background: transparent;
  border: none;
  color: #22743A;
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .modal-close:hover { color: #17e5ae; }

/* TOGGLE SWITCH BUTTONS (COOKIES MODAL)--------- */
.toggle-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
  margin-left: 8px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E8F6E2;
  border-radius: 26px;
  transition: background 0.17s;
  box-shadow: 0 1px 6px #22743A25;
}
.toggle-switch input:checked + .toggle-slider {
  background: #17e5ae;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.17s;
  box-shadow: 0 2px 6px #17e5ae44;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background: #22743A;
}
.toggle-switch input[disabled] + .toggle-slider {
  background: #b8e2cc;
  opacity: 0.7;
}
.toggle-switch input[disabled] + .toggle-slider:before {
  background: #accab5;
}

/* GENERAL ANIMATION FOR ELEMENTS --------------- */
@media (prefers-reduced-motion: no-preference) {
  .feature-grid > div, .team-members > div, .service-cards > div, .card, .testimonial-card {
    transition: box-shadow 0.24s, transform 0.22s, background 0.18s;
  }
  .primary-cta, .button, .secondary-btn {
    transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.18s;
  }
}

/* RESPONSIVE DESIGN ---------------------------- */
@media (max-width: 1150px) {
  .container {
    max-width: 99vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .service-cards > div, .team-members > div, .faq-list > div {
    min-width: 210px;
    padding: 22px 12px 20px 12px;
  }
}
@media (max-width: 860px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { flex-direction: column; gap: 9px; margin: 0; }
}
@media (max-width: 820px) {
  html { font-size: 15px; }
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.39rem; }
  .content-wrapper { max-width: 97vw; }
  .feature-grid, .service-cards, .team-members, .faq-list, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .container, .content-wrapper {
    max-width: 100vw;
    padding: 0 4px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
}
@media (max-width: 768px) {
  header .container {
    min-height: 78px;
    flex-direction: row;
    gap: 6px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  header .primary-cta {
    margin-left: 0;
    margin-right: 0;
    font-size: 0.97rem; 
    padding: 10px 22px;
  }
  .feature-grid, .service-cards, .team-members, .faq-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonials-wrap { align-items: center; }
  .testimonial-card {
    width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .footer-nav{
    flex-direction: column;
    gap: 9px;
    padding: 0;
  }
  .cookie-banner{
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 16px 16px;
    font-size: 0.98rem;
  }
  .cookie-banner-content {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }
  .map-placeholder {
    flex-direction: column;
    gap: 6px;
    padding: 9px 7px;
  }
}
@media (max-width: 480px) {
  .feature-grid > div, .service-cards > div, .team-members > div, .faq-list > div {
    min-width: unset;
    width: 100%;
    padding: 15px 4px 12px 4px;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: 1rem; 
  }
  .primary-cta,
  .button, .secondary-btn, .cookie-banner .button, .cookie-banner .secondary-btn {
    font-size: 0.93rem;
    padding: 10px 16px;
  }
  .cookie-modal-content {
    min-width: 80vw; max-width: 99vw; padding: 18px 5px;
  }
}

/* ACCESSIBILITY & FOCUS STYLES ----------------- */
a, button, .button, .primary-cta, .secondary-btn {
  outline: none;
}
a:focus-visible, button:focus-visible, .button:focus-visible, .primary-cta:focus-visible, .secondary-btn:focus-visible {
  outline: 2px solid #17e5ae;
  outline-offset: 2px;
}

/* FUTURISTIC/NEON/TECH ACCENTS ----------------- */
.primary-cta, .feature-grid > div:hover, .service-cards > div:hover, .team-members > div:hover {
  box-shadow: 0 0 10px #17e5ae99, 0 2px 8px #22743A44;
}
.feature-grid > div img, .service-cards > div img, .team-members > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px #17e5ae8a);
}
/* Tagline effect */
h1, h2 {
  text-shadow: 0 0 18px #accab57a, 0 0 8px #17e5ae4b;
}

/* SPACING AND CARD DESIGN ---------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
[class*="cards"], .feature-grid, .faq-list, .testimonial-card, .card-container, .team-members {
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px !important;
}

/* Z-INDEX/STACKING ----------------------------- */
.mobile-menu,
.mobile-menu.open,
.cookie-banner,
.cookie-modal,
.cookie-modal.open {
  z-index: 300 !important;
}

/* END CSS */
