/* CSS RESET & BASIC NORMALIZER */
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, caption, tbody, tfoot, thead, tr, th, td, main, 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 {
  font-size: 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #24463F;
  background-color: #F6F9F0;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  /* soft pastel background tint */
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #20603D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #63b67c;
  text-decoration: underline;
  outline: none;
}

ul, ol {
  margin-left: 1.3em;
  margin-bottom: 20px;
}

strong {
  font-weight: 600;
  color: #20603D;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* BRANDING & COLORS */
:root {
  --color-primary: #20603D;
  --color-secondary: #57BB8A;
  --color-accent: #F6F9F0;
  --color-pastel-pink: #FFE4EC;
  --color-pastel-blue: #E0F0FF;
  --color-pastel-yellow: #FFF6CE;
  --color-pastel-green: #D7F9EA;
  --color-neutral-900: #24463F;
  --color-neutral-700: #4F7E73;
  --color-neutral-100: #FCFEFA;
  --color-white: #FFFFFF;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: var(--color-primary);
  line-height: 1.2;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-neutral-900);
}
.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

/* SECTION GENERAL SPACING */
.section, .hero-section, .features-section, .services-section, .testimonials-section, .about-section, .cta-section, .projects-section, .resources-section, .faq-section, .confirmation-section, .legal-section, .contact-section, .team-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}

.hero-section {
  background: linear-gradient(135deg, var(--color-pastel-green) 60%, var(--color-pastel-blue) 100%);
  margin-bottom: 48px;
  box-shadow: 0 4px 24px 0 rgba(87,187,138,0.08);
}

.cta-section {
  background: linear-gradient(120deg, var(--color-pastel-pink) 30%, var(--color-accent) 90%);
  display: flex;
}

.about-section {
  background: var(--color-pastel-green);
}

.services-section {
  background: var(--color-pastel-yellow);
}

.features-section {
  background: var(--color-pastel-blue);
}

.projects-section, .resources-section {
  background: var(--color-accent);
}

.legal-section {
  background: var(--color-neutral-100);
}

.confirmation-section {
  background: var(--color-pastel-green);
  text-align: center;
}

/***** HEADER & NAVIGATION *****/
header {
  background-color: var(--color-white);
  border-bottom: 2px solid #EFF6ED;
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px 12px 20px;
  max-width: 1170px;
}

header img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--color-primary);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}

.cta-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: white;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 11px 32px;
  border-radius: 30px;
  margin-left: 10px;
  box-shadow: 0 2px 24px 0 rgba(87,187,138,0.10);
  transition: background 0.18s, box-shadow 0.20s, transform 0.18s;
  outline: none;
  border:none;
  cursor: pointer;
  text-align:center;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #FFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 36px 0 rgba(87,187,138,0.14);
}

/* Mobile Burger */
.mobile-menu-toggle {
  display: none;
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(87,187,138,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 1402;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

/***** MOBILE NAVIGATION OVERLAY *****/
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,249,240,0.96);
  box-shadow: 0 6px 40px rgba(32,96,61,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4,0.2,0.3,1.05);
  z-index: 1500;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  margin: 28px 24px 0 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 2.4rem;
  border: none;
  cursor: pointer;
  z-index: 1600;
  outline: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 32px 36px;
  width: 80vw;
  max-width: 320px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  background-color: transparent;
  padding: 12px 4px 12px 4px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.10s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-green);
  color: var(--color-secondary);
}

/***** HERO SECTION *****/
.hero-section .content-wrapper {
  align-items: flex-start;
  text-align: left;
  padding-top: 0;
  gap: 18px;
}
.hero-section h1 {
  font-size: 2.1rem;
  margin: 0 0 10px 0;
}
.hero-section .cta-btn {
  margin-top: 18px;
}

/***** FEATURED CARDS & LISTS *****/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(32,96,61,0.07);
  padding: 26px 20px 20px 20px;
  min-width: 230px;
  flex: 1 1 226px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.16s, transform 0.16s, background 0.16s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 28px 0 rgba(32,96,61,0.16);
  background: var(--color-pastel-green);
  transform: translateY(-5px) scale(1.025);
}

/***** SERVICES LIST *****/
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 6px;
}
.service-card {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(87,187,138,0.08);
  padding: 22px 18px 18px 18px;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.14s, background 0.15s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 30px rgba(32,96,61,0.14);
  background: var(--color-pastel-green);
  transform: translateY(-4px) scale(1.022);
}
.service-card strong {
  color: var(--color-secondary);
}

/***** TESTIMONIALS *****/
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(32, 96, 61, 0.13);
  padding: 20px 27px 20px 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  max-width: 375px;
  min-width: 210px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(87,187,138,0.16);
  transform: translateY(-5px) scale(1.03);
}
.testimonial-card p {
  font-size: 1.04rem;
  color: var(--color-neutral-900);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 6px;
}

/***** ABOUT & TEAM SECTION *****/
.text-section ul {
  margin-bottom: 0;
}
.team-section ul li {
  padding-bottom: 14px;
  margin-bottom: 0px;
  border-left: 4px solid var(--color-pastel-blue);
  padding-left: 14px;
}

/***** PROJECTS & LISTS *****/
.projects-section ul,
 .resources-section ul,
 .faq-section ul {
  margin-left: 1.5em;
  margin-bottom: 21px;
}
.projects-section li,
.resources-section li,
.faq-section ul li {
  padding-bottom: 13px;
  line-height: 1.65;
}
.projects-section strong {
  color: var(--color-secondary);
}

ol {
  margin-left: 1.5em;
  margin-bottom: 14px;
}

/***** LEGAL SECTION *****/
.legal-section {
  border: 2px solid var(--color-pastel-blue);
  border-radius: 18px;
}
.legal-section h1 {
  font-size: 2rem;
}
.legal-section h2 {
  font-size: 1.22rem;
  margin-top: 22px;
}
.legal-section ul li {
  padding-bottom: 8px;
}

/***** FOOTER *****/
footer {
  background: linear-gradient(90deg, var(--color-accent) 60%, var(--color-pastel-pink) 100%);
  border-top: 1px solid #E6F0E8;
  padding: 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px 30px 20px;
}
.footer-logo img {
  width: 66px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 165px;
}
.footer-nav a {
  font-size: 0.99rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 5px 0;
  border-radius: 5px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-pastel-green);
}
.footer-contact p, .footer-contact a {
  font-size: 0.99rem;
  color: var(--color-neutral-900);
}
.footer-contact a {
  text-decoration: underline;
}

/***** SPACING UTILITIES for FLEXBOX LAYOUTS *****/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/***** BUTTONS and INTERACTIVE ELEMENTS *****/
button, .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.18s, color 0.18s, transform 0.13s;
}

button:active, .cta-btn:active {
  transform: scale(0.97);
}

/* Make native buttons visually fit */
button {
  background: var(--color-secondary);
  color: #FFF;
  border-radius: 12px;
  padding: 9px 20px;
  font-size: 1rem;
}
button:hover, button:focus {
  background: var(--color-primary);
  color: #FFF;
}

/***** COOKIE CONSENT BANNER *****/
#cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--color-pastel-blue) 60%, var(--color-pastel-pink) 100%);
  color: var(--color-neutral-900);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 0 20px 0 rgba(32,96,61,0.10);
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 2000;
  animation: cookie-banner-slidein 0.7s cubic-bezier(0.32, 0.72, 0.36, 1.1);
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(100%); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-consent-banner p {
  flex: 1;
  font-size: 1rem;
  color: var(--color-neutral-900);
}
#cookie-consent-banner .cookie-btn {
  background: var(--color-primary);
  color: #FFF;
  border-radius: 9px;
  padding: 10px 20px;
  margin: 0 5px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  min-width: 118px;
  transition: background 0.18s, color 0.17s, transform 0.12s;
  border: none;
  outline: none;
}
#cookie-consent-banner .cookie-btn.accept {
  background: var(--color-secondary);
}
#cookie-consent-banner .cookie-btn.reject {
  background: #F57C8A;
}
#cookie-consent-banner .cookie-btn.settings {
  background: var(--color-primary);
}
#cookie-consent-banner .cookie-btn:hover, #cookie-consent-banner .cookie-btn:focus {
  background: var(--color-pastel-green);
  color: var(--color-primary);
  transform: scale(1.04);
}

/***** COOKIE PREFERENCES MODAL *****/
#cookie-preferences-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,70,63,0.17);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
}
#cookie-preferences-modal .modal-dialog {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 4px 44px 0 rgba(32,96,61,0.21);
  width: 98%;
  max-width: 400px;
  padding: 28px 25px 21px 25px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: modal-fadein 0.6s;
}
@keyframes modal-fadein {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
#cookie-preferences-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-neutral-900);
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--color-primary);
  accent-color: var(--color-secondary);
}
.cookie-category input[type='checkbox']:disabled {
  filter: grayscale(1); opacity: 0.5;
}
#cookie-preferences-modal .close-modal {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 10px;
  outline: none;
}
#cookie-preferences-modal .close-modal:hover, #cookie-preferences-modal .close-modal:focus {
  color: var(--color-secondary);
}
#cookie-preferences-modal .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
#cookie-preferences-modal .cookie-modal-btn {
  background: var(--color-secondary);
  color: #FFF;
  border-radius: 9px;
  padding: 10px 20px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.12s, transform 0.11s;
  outline: none;
  border: none;
}
#cookie-preferences-modal .cookie-modal-btn:hover, #cookie-preferences-modal .cookie-modal-btn:focus {
  background: var(--color-primary);
  color: #FFF;
  transform: scale(1.03);
}

/***** MEDIA QUERIES: RESPONSIVE DESIGN *****/
@media (max-width: 1250px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1100px) {
  .features-grid, .services-list, .card-container, .testimonials-list {
    justify-content: flex-start;
    gap: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 33px;
    padding: 27px 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .features-grid, .services-list, .testimonials-list {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .service-card, .feature-item, .testimonial-card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  /* NAV - show burger */
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 11px 18px;
    font-size: 1.04rem;
  }
  header .container {
    padding: 9px 12px;
  }

  .features-grid, .services-list, .testimonials-list, .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .service-card, .feature-item, .testimonial-card {
    max-width: none;
    min-width: 140px;
    width: 100%;
  }

  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .cta-section, .hero-section, .about-section, .features-section, .services-section, .testimonials-section,
  .confirmation-section, .projects-section, .resources-section, .legal-section, .contact-section, .team-section {
    padding: 26px 6vw;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 19px;
    align-items: stretch;
    text-align: left;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .hero-section .content-wrapper {
    align-items: stretch;
    text-align: left;
    gap: 14px;
  }
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 15px 10px 15px 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 505px) {
  .container {
    padding: 0 6px;
  }
  .section, .hero-section, .cta-section, .features-section,
  .services-section, .testimonials-section,
  .about-section, .confirmation-section,
  .projects-section, .resources-section, .legal-section,
  .contact-section, .team-section {
    padding: 12px 2vw;
    margin-bottom: 18px;
    border-radius: 8px;
  }
  h1 {
    font-size: 1.25rem;
    margin-bottom: 7px;
  }
  h2 {
    font-size: 1.11rem;
    margin-bottom: 7px;
  }
}

/***** SMOOTH TRANSITIONS FOR INTERACTIVE UI ******/
.card, .service-card, .feature-item, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.18s, background 0.18s, color 0.17s, transform 0.15s;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ----------- Miscellaneous Utility Styles ----------- */
::-webkit-scrollbar {
  width: 7px;
  background: var(--color-neutral-100);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pastel-green);
  border-radius: 5px;
}

/* Hide visually, show to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Helper Classes */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }

/***** PREVENT ABSOLUTE POS for CARDS - ensure spacing using only margins, paddings, flex *****/
