/* ----------------------------------------- */
/* CSS 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,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; }
*, *:before, *:after { box-sizing: inherit; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block; }
body {
  line-height:1.45; 
  background:#FAFAFA;
  color:#232323;
  min-height:100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size:16px;
}
a { color:inherit; text-decoration:none; transition: color 0.2s; }
ul,ol { list-style-position: outside; margin-left:22px; }
img { max-width:100%; display:block; }
:focus { outline: 2px solid #6EC72D; outline-offset:2px; }

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


/* ----------------------------------------- */
/* COLORS & BRAND VARIABLES                 */
/* ----------------------------------------- */
:root {
  --clr-primary: #255D27;
  --clr-secondary: #6EC72D;
  --clr-accent: #FAFAFA;
  --clr-grey-dark: #232323;
  --clr-grey-light: #E6EDD5;
  --clr-error: #B00020;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 7px;

  --transition: 0.21s cubic-bezier(.43,.75,.49,1.06);
  --shadow-xl: 0 8px 32px 0 rgba(37,93,39,0.08);
  --shadow-lg: 0 4px 16px 0 rgba(37,93,39,0.10);
  --shadow-md: 0 2px 8px 0 rgba(37,93,39,0.09);
}

/* ----------------------------------------- */
/* TYPOGRAPHY                               */
/* ----------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--clr-primary);
  letter-spacing:-2px;
  line-height:1.13;
  margin-bottom:18px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight:800;
  font-size:2rem;
  color: var(--clr-secondary);
  line-height:1.15;
  margin-bottom:16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.25rem;
  color: var(--clr-primary);
  line-height:1.17;
  margin-bottom:12px;
}
h4,h5,h6 {
  font-family: var(--font-display);
  font-weight:700; color:var(--clr-primary);
}
p,ul,li {
  font-family: var(--font-body);
  font-size:1rem;
  font-weight:400;
  color: var(--clr-grey-dark);
  margin-bottom:10px;
}
strong {
  font-weight:700;
  color:var(--clr-primary);
}
blockquote {
  border-left:5px solid var(--clr-secondary);
  padding-left:20px; color:var(--clr-primary);
  margin:20px 0 20px 0;
  font-family:var(--font-display);
  font-weight:700;
}

/* Typography spacing scale (8,16,24,32,48,64) */
.section, .content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Remove extra margin from last sections */
.section:last-child, .content-wrapper:last-child { margin-bottom:0; }

/* ----------------------------------------- */
/* LAYOUT BASICS                            */
/* ----------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
  padding-left: 16px; padding-right: 16px;
  display:flex;
  flex-direction:column;
  gap:0;
}
.content-wrapper {
  max-width: 950px;
  margin-left: auto; margin-right: auto;
  display:flex;
  flex-direction: column;
  gap: 32px;
}
/* ----------------------------------------- */
/* HEADER / NAVIGATION                      */
/* ----------------------------------------- */
header {
  width:100%;
  background: var(--clr-accent);
  box-shadow: var(--shadow-md);
  z-index:22;
  position:sticky; top:0; left:0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap:24px;
  min-height:80px;
}
.logo img {
  height: 42px; max-width:220px; display:inline-block;
}
.main-nav {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  align-items:center;
  margin-left:24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-primary);
  font-size:1.09rem;
  letter-spacing:0.5px;
  position:relative;
  padding:10px 3px;
  border-radius:var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--clr-secondary);
  background: rgba(110,199,45,0.11);
}
.cta-button {
  display:inline-block;
  font-family:var(--font-display);
  background: var(--clr-secondary);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  padding:13px 32px;
  letter-spacing:0.5px;
  box-shadow: 0 2px 13px 0 rgba(110,199,45,0.16);
  border: none;
  margin-left: 18px;
  cursor: pointer;
  transition:transform var(--transition), box-shadow var(--transition),background var(--transition),color var(--transition);
  position:relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--clr-primary);
  color: var(--clr-secondary) !important;
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 6px 20px 0 rgba(37,93,39,0.14);
}

/* ----------------------------------------- */
/* MOBILE MENU                              */
/* ----------------------------------------- */
.mobile-menu-toggle {
  background: var(--clr-secondary);
  color:#fff;
  border:none;
  border-radius: var(--radius-md);
  font-size: 2.3rem;
  padding: 6px 16px 7px 16px;
  margin-left:18px;
  cursor:pointer;
  display:none;
  z-index:1003;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: var(--clr-primary);
  color:var(--clr-secondary);
}
.mobile-menu {
  position:fixed;
  top:0; left:0; right:0;
  bottom:0;
  background:rgba(250,250,250,0.98);
  z-index:1002;
  transform:translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.62,.02,.32,1.02);
  display:flex;
  flex-direction:column;
  padding:0 32px 32px 32px;
  box-shadow:0 10px 40px 0 rgba(37,93,39,0.16);
}
.mobile-menu.open {
  transform:translateX(0);
}
.mobile-menu-close {
  background:none;
  border:none;
  font-size:2.3rem;
  color:var(--clr-primary);
  align-self:flex-end;
  margin-top:22px;
  margin-bottom:18px;
  cursor:pointer;
  transition:color var(--transition); 
  z-index:1003;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color:var(--clr-secondary);
}
.mobile-nav {
  display:flex;
  flex-direction:column;
  gap: 28px;
  margin-top: 8px;
}
.mobile-nav a {
  color:var(--clr-primary);
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.22rem;
  padding:17px 8px;
  border-radius:var(--radius-md);
  transition:background var(--transition),color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-secondary);
  color:#fff;
}
/* Overlay when menu open */
body.menu-open {
  overflow:hidden;
}

/* ----------------------------------------- */
/* HERO SECTIONS                            */
/* ----------------------------------------- */
.hero {
  background: linear-gradient(100deg, var(--clr-secondary) 6%, #E6EDD5 100%);
  border-bottom-left-radius:var(--radius-xl);
  border-bottom-right-radius:var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  padding:60px 0 24px 0;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero .content-wrapper {
  gap:20px;
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: var(--clr-primary);
  font-size:2.2rem;
  font-weight:900;
  line-height: 1.06;
}
.hero p {
  color: var(--clr-grey-dark);
  font-size: 1.16rem;
  font-weight:500;
  margin-bottom:18px;
}

/* ----------------------------------------- */
/* SECTIONS, FLEX SPACING, CARDS            */
/* ----------------------------------------- */
.section { margin-bottom: 60px; padding:40px 20px; }
.card-container, .feature-grid, .post-preview-grid, .client-logos {
  display:flex; flex-wrap:wrap;
  gap:24px;
}
.card { margin-bottom: 20px; position: relative;
  display:flex; flex-direction:column;
  background: #fff;
  border-radius:var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
  transform: scale(1.018) translateY(-3px);
}
.card-content {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.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:flex-start;
  gap:20px;
  padding:20px 30px 20px 26px;
  background:#fff;
  border-radius:var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom:20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.009);
}
.testimonial-card p {
  font-family:var(--font-body);
  font-size:1.04rem;
  color: #232323;
}
.testimonial-details {
  font-size:1rem;
  color:var(--clr-secondary);
  font-weight:700;
  font-family:var(--font-display);
  margin-left:10px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  padding:18px 0;
}
.feature-grid > div {
  background:#fff;
  border-radius:var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding:28px 22px;
  flex:1 1 220px;
  min-width: 220px;
  max-width:340px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform:translateY(-2px) scale(1.025);
}
.feature-grid h3 {
  font-size:1.12rem; margin-bottom:4px; color:var(--clr-primary);
}
.feature-grid img { height:44px; margin-bottom: 14px; }

/******** Impact/statistics, benefits, project lists ********/
.impact-statistics, .benefits, .case-studies, .project-overviews, .next-steps {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  margin-top:22px;
}
.impact-statistics ul, .benefits ul, .case-studies ul, .project-overviews ul, .next-steps ul {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}

/******** Blog grid ********/
.blog-list { margin-bottom: 60px; }
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom:18px;
}
.blog-preview {
  background:#fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex:1 1 250px;
  max-width:350px;
  min-width:220px;
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap:14px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.blog-preview:hover, .blog-preview:focus-within {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.017);
}
.blog-preview h3 a { font-family:var(--font-display); color:var(--clr-primary); font-weight:800; font-size:1.14rem; }
.blog-preview h3 a:hover { color:var(--clr-secondary); }
.blog-preview span { font-size:0.98rem; color:var(--clr-secondary); font-weight:500; }

/******** Team, timeline, about values/tags ******/
.timeline, .mission-vision, .team-intro, .commitment-statement {
  background:#fff;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-md);
  padding: 20px 18px;
  margin:12px 0 10px 0;
}
.timeline ul, .values ul {
  gap:8px; display:flex; flex-direction:column;
}
.values ul li {
  position:relative;
  padding-left:14px;
}
.values ul li:before {
  content:'';
  display:inline-block;
  width:7px;height:7px;
  background:var(--clr-secondary);
  border-radius:3px;
  position:absolute; top:10px; left:0;
}

/******** Client logos ********/
.client-logos {
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.client-logos img {
  height:44px; filter: grayscale(30%) contrast(140%);
  background:#E6EDD5; border-radius:var(--radius-sm);
  padding:2px 7px;
}

/********* Contact Info *********/
.contact-form .text-section, .contact-info .text-section {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 25px 22px;
  margin-top:12px;
  display:flex;
  flex-direction: column;
  gap:10px;
}
.contact-info img { height:19px; width:19px; display:inline-block; vertical-align:middle; margin-right:7px; }

/********* Footer **************/
footer {
  width:100%;
  background: var(--clr-primary);
  color:#fff;
  padding:36px 0 16px 0;
  border-top-left-radius:var(--radius-xl);
  border-top-right-radius:var(--radius-xl);
  margin-top:64px;
}
footer .container {
  flex-direction:row; flex-wrap:wrap; align-items: flex-start; justify-content:space-between; gap:50px;
}
.footer-menu {
  display:flex; flex-direction:column; gap:13px;
}
.footer-menu a { color:#fff; font-family:var(--font-display); font-weight:700; font-size:1rem; transition:color var(--transition); }
.footer-menu a:hover { color:var(--clr-secondary); }

.footer-brand img { height: 44px; margin-bottom:12px; }
.footer-contact { 
  display:flex; flex-direction:column; gap:7px; font-size:0.98rem;
  color:#fff;
}
.footer-contact img { height:17px; width:17px; display:inline-block; vertical-align:middle; margin-right:7px; }
.social-links { display:flex; gap:16px; align-items:center; margin-top: 10px; }
.social-links a img { height:34px; transition:filter var(--transition),transform var(--transition); }
.social-links a:hover img { filter: brightness(1.15) saturate(2); transform: scale(1.12); }

/********* Legal page **************/
.legal h1 { margin-bottom:16px; }
.legal h2 { margin-top:24px; margin-bottom:11px; font-size:1.44rem; }
.legal p, .legal ul { font-size:1rem; }

/* ----------------------------------------- */
/* COOKIE BANNER & CONSENT MODAL             */
/* ----------------------------------------- */
.cookie-consent-banner {
  position:fixed;
  left:0; right:0; bottom:0;
  background: #fff;
  color:var(--clr-primary);
  box-shadow:0 -4px 20px 0 rgba(37,93,39,0.11);
  border-top:5px solid var(--clr-secondary);
  padding:16px 20px;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-family:var(--font-display);
  transition:transform 0.28s var(--transition);
  transform:translateY(0);
}
.cookie-consent-banner.closed {
  transform:translateY(120%);
  pointer-events:none;
}
.cookie-consent-banner .cookie-message {
  flex:1;
  color:var(--clr-primary);
  font-size:1.06rem; font-weight:700;
}
.cookie-consent-banner .cookie-actions {
  display:flex; flex-wrap:wrap; gap:12px;
}
.cookie-button {
  padding:9px 22px;
  border:none;
  border-radius:var(--radius-md);
  font-family:var(--font-display);
  font-weight:800;
  font-size:1rem;
  cursor:pointer;
  box-shadow:0 1px 5px 0 rgba(110,199,45,0.08);
  transition:background var(--transition),color var(--transition),transform var(--transition);
}
.cookie-button.accept {
  background:var(--clr-secondary);
  color:#fff;
}
.cookie-button.accept:hover { background:var(--clr-primary); color:var(--clr-secondary); }
.cookie-button.reject {
  background:var(--clr-grey-light);
  color:var(--clr-primary);
}
.cookie-button.reject:hover { background:var(--clr-error); color:#fff; }
.cookie-button.settings {
  background:#fff;
  color:var(--clr-secondary);
  border:1.2px solid var(--clr-secondary);
}
.cookie-button.settings:hover{ background:var(--clr-secondary); color:#fff; }

/* Cookie Modal */
.cookie-modal {
  position:fixed;
  left:0; top:0; right:0; bottom:0;
  background:rgba(40,97,42,0.36);
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.24s var(--transition);
}
.cookie-modal.open {
  opacity:1; pointer-events:auto;
}
.cookie-modal-content {
  background:#fff;
  border-radius:var(--radius-xl);
  box-shadow: 0 10px 70px 0 rgba(37,93,39,0.18);
  padding:34px 36px;
  min-width:320px; max-width:95vw;
  display:flex;
  flex-direction:column;
  gap:28px;
  font-family:var(--font-body);
  position:relative;
  animation: modalIn 0.25s cubic-bezier(.77,.06,.66,1.03);
}
@keyframes modalIn {
  from { transform: scale(0.92) translateY(60px); opacity:.23; }
  to   { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-close {
  position:absolute; top:12px; right:18px;
  background:none; border:none;
  font-size:1.8rem;
  color:var(--clr-primary);
  cursor:pointer;
  transition:color var(--transition);
}
.cookie-modal-close:hover { color:var(--clr-secondary); }
.cookie-category {
  display:flex; align-items:center; gap:18px;
  font-size:1.07rem;
}
.cookie-category-toggle {
  appearance: none;
  width:42px;height:22px;
  border-radius:22px;
  background:var(--clr-grey-light);
  position:relative;
  outline:none;
  transition:background 0.18s;
  cursor:pointer;
}
.cookie-category-toggle:checked {
  background:var(--clr-secondary);
}
.cookie-category-toggle:after {
  content:'';
  display:block;
  width:19px;height:19px;
  border-radius:50%;
  background:#fff;
  position:absolute;
  left:2px; top:1.5px;
  box-shadow:0 .5px 3px 0 rgba(0,0,0,0.05);
  transition:left 0.16s;
}
.cookie-category-toggle:checked:after {
  left:21px;
}
.cookie-category.disabled {
  opacity:.44; pointer-events:none;
}

/* Modal action bar */
.cookie-modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:14px;
  margin-top:10px;
}

/* ----------------------------------------- */
/* RESPONSIVE DESIGN                        */
/* ----------------------------------------- */
@media (max-width: 1024px) {
  h1, .h1 { font-size:2.05rem; }
  h2, .h2 { font-size:1.44rem; }
}
@media (max-width: 900px) {
  .footer-brand img, .logo img { height:38px; }
  .testimonial-card, .feature-grid > div, .card { padding: 18px 14px; }
  .content-wrapper, .section { padding:24px 10px; }
  .impact-statistics, .benefits, .case-studies, .project-overviews, .next-steps {
    padding:16px 8px;
  }
}
@media (max-width: 768px) {
  header .container, footer .container {
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding-bottom:8px;
    padding-top:12px;
  }
  .main-nav { display:none; }
  .mobile-menu-toggle { display:block; }
  .logo img { height:34px; }
  .hero {
    border-bottom-left-radius:20px;
    border-bottom-right-radius:20px;
    padding:30px 0 10px 0; min-height:140px;
  }
  .hero .content-wrapper { gap:14px; }
  .section,.content-wrapper { padding:18px 2vw; }
  .testimonial-card { flex-direction:column; gap:7px; padding:16px 10px; }
  .feature-grid { gap:12px; }
  .feature-grid > div { min-width:130px; }
  .post-preview-grid { gap:12px; }
  .blog-preview { min-width:unset; max-width:100%; }
  .client-logos { gap:14px; }
  .contact-form .text-section, .contact-info .text-section { padding:14px 8px; }
  .impact-statistics,.benefits,.case-studies,.project-overviews,.next-steps{ padding:9px 5px; }
  .timeline,.mission-vision,.team-intro,.commitment-statement{ padding:12px 8px; }
}
@media (max-width: 560px) {
  h1, .h1 { font-size:1.28rem; }
  h2, .h2 { font-size:1.07rem; }
  .hero { border-radius:10px; margin-bottom:28px; }
  .footer-brand img, .logo img { height:28px; }
  .social-links { margin-top:0; }
  footer .container { gap:22px; }
  .cookie-modal-content { min-width:95vw; padding:20px 7px; }
}
@media (max-width:420px) {
  .cookie-consent-banner {flex-direction:column; gap:12px; align-items:flex-start;}
  .cookie-consent-banner .cookie-actions { gap:8px; }
}

/**** Utilities ****/
.mt2 { margin-top:16px !important; }
.mb2 { margin-bottom:16px !important; }
.mt4 { margin-top:32px !important; }
.mb4 { margin-bottom:32px !important; }
.text-center { text-align:center !important; }
.text-secondary { color:var(--clr-secondary)!important; }
.text-primary { color:var(--clr-primary)!important; }

/**** Misc fixes and enhancements ****/
ul li { margin-bottom:6px; }
ul li:last-child { margin-bottom:0; }


/**** GEOMETRIC/DECORATIVE SHAPES ****/
.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -35px; right: 28px;
  width: 110px; height: 110px;
  background: rgba(110,199,45,0.08);
  border-radius: 50%;
  z-index:0;
}
.hero .container, .hero .content-wrapper, .hero .cta-button, .hero h1, .hero p {
  position:relative; z-index:1;
}

/* Hide geometric shapes for mobile */
@media (max-width:768px) {
  .hero::after { display:none; }
}

