/* =======================
 * CSS Reset & Normalize
 * ======================= */
html,body,div,span,applet,object,iframe,img,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,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-size:100%;
  font:inherit;
  vertical-align:baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #25322d;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img,video {
  max-width:100%;
  height:auto;
  display:block;
}
a {
  color: #205A47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #5CB85C;
  outline: none;
}
ul,ol {
  list-style: none;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* =======================
 * Brand Typography
 * ======================= */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17382b;
  margin-bottom: 18px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

p, li, dl, dd, dt, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #25322d;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

strong,b {
  color: #205A47;
}

/* =======================
 * Global Layout Containers
 * ======================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =======================
 * Common Section Spacing
 * ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding-top: 20px;
  }
}

/* Hero Section */
.hero {
  background: #F2F8F0;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32,90,71,0.04);
  margin-top: 36px;
  padding-bottom: 36px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #205A47;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.2rem;
  color: #205A47;
  margin-bottom: 16px;
}

/* =======================
 * Main Navigation
 * ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #EBEFED;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.main-nav > img {
  width: 148px;
  margin-right: 32px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #205A47;
  padding: 7px 12px;
  border-radius: 6px;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #F2F8F0;
  color: #178a51;
}
.main-nav > a.cta.primary {
  background: #205A47;
  color: #fff;
  font-weight: 600;
  margin-left: auto;
  padding: 8px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(32,90,71,0.05);
  transition: background 0.25s, box-shadow 0.2s;
}
.main-nav > a.cta.primary:hover, .main-nav > a.cta.primary:focus {
  background: #5CB85C;
  color: #fff;
  box-shadow: 0 4px 16px rgba(32,90,71,0.11);
}

/* Hide main nav and show burger on mobile */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 20px;
    padding-right: 36px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    color: #205A47;
    background: #F2F8F0;
    border-radius: 50%;
    border: none;
    z-index: 200;
    box-shadow: 0 1px 4px 0 rgba(32,90,71,0.06);
    transition: background 0.15s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #e4efe3;
    color: #178a51;
  }
}

/* =======================
 * Mobile Navigation Menu
 * ======================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 82vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -2px 0 32px rgba(32,90,71,0.09);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(0.76,0.07,0.38,0.91);
  padding: 35px 26px 18px 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #205A47;
  background: none;
  border: none;
  margin-bottom: 30px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #178a51;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  color: #205A47;
  padding: 11px 6px;
  border-radius: 7px;
  transition: background 0.14s, color 0.18s;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F8F0;
  color: #178a51;
}

/* Overlay for mobile menu */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,90,71,0.13);
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-close,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =======================
 * Layout Flex & Spacing
 * ======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  padding: 24px 20px;
  border-radius: 14px;
  min-width: 0;
  box-shadow: 0 2px 10px rgba(32,90,71,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(32,90,71,0.11);
  transform: translateY(-2px) 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #F2F8F0;
  box-shadow: 0 2px 10px rgba(32,90,71,0.048);
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
  border: 1px solid #e3eade;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(32,90,71,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom Grids (for homepage/service/feature overviews) */
.feature-grid,
.service-cards,
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div,
.service-cards > div,
.blog-list > div {
  flex: 1 1 240px;
  min-width: 240px;
  background: #fff;
  padding: 24px 18px 18px 18px;
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(32,90,71,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-grid > div:hover,
.service-cards > div:hover,
.blog-list > div:hover {
  box-shadow: 0 5px 18px rgba(32,90,71,0.10);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* =======================
 * Testimonial/Review Style
 * ======================= */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  font-style: italic;
  color: #205A47;
  line-height: 1.4;
  border-left: 3px solid #5CB85C;
  padding-left: 18px;
  margin: 0;
}
.testimonial-card span {
  color: #25322d;
  font-size: 0.98rem;
  font-style: normal;
  align-self: flex-end;
  margin-left: 12px;
}

/* =======================
 * CTA Button Styles
 * ======================= */
.cta.primary {
  display: inline-block;
  background: #205A47;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  margin-top: 10px;
  box-shadow: 0 2px 10px rgba(32,90,71,0.05);
  transition: background 0.19s, box-shadow 0.19s, transform 0.12s;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #5CB85C;
  color: #fff;
  box-shadow: 0 6px 20px rgba(32,90,71,0.12);
  transform: translateY(-1px) scale(1.012);
}

/* =======================
 * Lists and Text Sections
 * ======================= */
.text-section ul, ul.service-list, ul.project-list {
  margin-bottom: 12px;
  list-style: disc inside;
  margin-left: 20px;
}
.text-section ul li, ul.service-list li, ul.project-list li, ul li {
  margin-bottom: 8px;
  color: #25322d;
}
.text-section h3 {
  margin-top: 18px;
}

dt {
  font-weight: 600;
  color: #205A47;
  margin-top: 12px;
}
dd {
  margin-bottom: 8px;
  margin-left: 0;
}
dd a {
  text-decoration: underline;
}

/* =======================
 * Footer
 * ======================= */
footer {
  padding: 32px 0 18px 0;
  background: #fff;
  border-top: 1px solid #EAEEEC;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #205A47;
  font-size: 0.97rem;
  padding: 7px 9px;
  border-radius: 3px;
  transition: background 0.14s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2F8F0;
  color: #178a51;
}
.footer-info {
  text-align: center;
  color: #69756f;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-info a {
  color: #205A47;
  text-decoration: underline;
  margin: 0 3px;
}
.brand-copy {
  text-align: center;
  color: #a1b0a9;
  font-size: 0.92rem;
  margin-top: 10px;
}

/* =======================
 * Cookie Consent Banner
 * ======================= */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fff;
  border-top: 1.5px solid #d8e2da;
  box-shadow: 0 -3px 28px rgba(32,90,71,0.09);
  padding: 18px 16px 16px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.25s cubic-bezier(0.7,0.2,0.35,1.05);
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  color: #215844;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  margin: 0;
  background: #F2F8F0;
  color: #205A47;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
  box-shadow: 0 1.5px 6px rgba(32,90,71,0.04);
}
.cookie-btn.accept {
  background: #5CB85C;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #205A47;
  color: #fff;
}
.cookie-btn.reject {
  background: #e9efea;
  color: #205A47;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #d8e2da;
  color: #178a51;
}
.cookie-btn.settings {
  background: #F2F8F0;
  color: #205A47;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #e1efe0;
  color: #178a51;
}

/* Cookie Modal Popup */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2500;
  background: rgba(32,90,71,0.12);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#cookie-modal.open {
  display: flex !important;
}
.cookie-modal__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(32,90,71,0.16);
  padding: 32px 26px 28px 26px;
  min-width: 305px;
  max-width: 93vw;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #205A47;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category .toggle {
  appearance: none;
  width: 36px;
  height: 19px;
  border-radius: 10px;
  background: #e5f3ea;
  position: relative;
  outline: none;
  transition: background 0.12s;
  margin-left: 9px;
}
.cookie-category .toggle:checked {
  background: #5CB85C;
}
.cookie-category .toggle::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(32,90,71,0.08);
  transition: left 0.14s;
}
.cookie-category .toggle:checked::after {
  left: 19px;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.6rem;
  color: #205A47;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #5CB85C;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.52;
}
.cookie-category[aria-disabled="true"] .toggle {
  background: #dce4dd;
  pointer-events: none;
}

/* =======================
 * Responsive Layouts
 * ======================= */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 11px;
  }
  .main-nav > img {
    margin-right: 16px;
    width: 120px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-cards,
  .testimonials,
  .blog-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .service-cards,
  .testimonials,
  .blog-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div,
  .service-cards > div,
  .blog-list > div {
    min-width: unset;
    margin-right: 0;
    margin-bottom: 12px;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 8px 17px 12px;
  }
  .container {
    max-width: 100vw;  
  }
  .hero {
    padding-bottom: 20px;
    border-radius: 7px;
    margin-top: 16px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .card, .feature-grid > div, .service-cards > div, .blog-list > div {
    padding: 16px 11px;
  }
  .footer-nav {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  .hero h1 { font-size: 1.3rem; }
  .card, .feature-grid > div, .service-cards > div, .blog-list > div {
    padding: 11px 7px;
  }
}

/* =======================
 * Micro-Interactions & Transitions
 * ======================= */
.card, .feature-grid > div, .service-cards > div, .blog-list > div, .testimonial-card, .cta.primary {
  transition: box-shadow 0.17s, transform 0.13s;
}
nav a, .main-nav a, .footer-nav a {
  transition: background 0.14s, color 0.18s;
}

input, .cookie-btn, .cta.primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal__close {
  transition: background 0.13s, color 0.13s, box-shadow 0.1s, border-color 0.13s;
}

/* =======================
 * Accessibility & Focus Styles
 * ======================= */
a:focus, button:focus, .cta.primary:focus, .mobile-menu-toggle:focus, .cookie-btn:focus {
  outline: 2px solid #205A47;
  outline-offset: 1.5px;
}

/* =======================
 * Misc Utility Classes
 * ======================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Hide visually for a11y (screen-reader only) */
.sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =======================
 * End CSS
 * ======================= */
