/* ------------------------- CSS 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #161616;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: outside;
  padding-left: 24px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* ---------------------- FONT & TYPOGRAPHY ------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #161616;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
p, ul, ol, li, address, dl, dd {
  font-size: 1rem;
  color: #222;
  margin-bottom: 14px;
}
p strong, li strong {
  color: #111;
  font-weight: 700;
}
.text-section p:last-child, .text-section ul:last-child {
  margin-bottom: 0;
}

/* Typography for monochrome_sophisticated style */
h1, h2, h3 {
  color: #171717;
}

/* ---------------------- LAYOUT STRUCTURE ------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
.text-section {
  max-width: 760px;
  padding: 0;
}

/* Main Section Utility Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Feature Grid / Cards Flex */
.features-grid, .service-list, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-card, .blog-post-preview {
  background: #fff;
  color: #161616;
  border-radius: 18px;
  box-shadow: 0 2px 20px rgba(16,16,16,0.08);
  border: 1px solid #ededed;
  padding: 32px 28px 28px 28px;
  flex: 1 1 320px;
  min-width: 270px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.feature-card img {
  height: 48px;
  margin-bottom: 4px;
  filter: grayscale(1) contrast(1.2); /* monochrome icon effect */
}
.feature-card h2, .feature-card h3 {
  color: #161616;
}
.feature-card h2 span {
  display: inline-block;
  margin-left: 10px;
  font-size: 1rem;
  color: #777;
  font-weight: 400;
}
.feature-card:hover, .blog-post-preview:hover {
  box-shadow: 0 8px 32px rgba(16,16,16,0.16);
  border-color: #147845;
  z-index: 1;
}

/* Cards Utility Container */
.card-container, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
}

/* Content grid utility */
.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;
}

.impact-highlights ul {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  background: #f6f6f6;
  box-shadow: 0 1px 7px rgba(34,34,34, 0.07);
  border-radius: 14px;
  border: 1.5px solid #e6e6e6;
  position: relative;
  color: #202020;
  transition: box-shadow .20s, border-color .20s, background .18s;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-style: italic;
  color: #222;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #171717;
  opacity: 0.9;
  font-size: 1rem;
  margin-top: 0;
}
.testimonial-card:hover {
  background: #fff;
  box-shadow: 0 6px 28px rgba(16,16,16,0.14);
  border-color: #cfcfcf;
}

/* Feature Item Utility  */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.case-study-item {
  background: #f5f5f5;
  color: #171717;
  border-left: 3.5px solid #111;
  border-radius: 9px;
  padding: 26px 24px 18px 30px;
  margin-bottom: 22px;
  box-shadow: 0 1px 7px rgba(28,28,28,0.07);
  transition: box-shadow .22s, border-color .22s;
}
.case-study-item:hover {
  box-shadow: 0 6px 32px rgba(22,22,22,0.07);
  border-color: #147845;
}

.blog-post-list {
  flex-direction: column;
  gap: 28px;
}
.blog-post-preview {
  border-left: 4px solid #161616;
  background: #fff;
  padding: 32px 28px 20px 32px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.blog-post-preview h2 a {
  color: #161616;
  text-decoration: none;
  transition: color .14s;
  font-size: 1.3rem;
}
.blog-post-preview h2 a:hover {
  color: #147845;
  text-decoration: underline;
}

.faq-list {
  padding-left: 0;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}
.faq-list dd {
  margin-bottom: 18px;
  color: #262626;
  margin-left: 0;
}

/* ----------------- HEADER & NAVIGATION -------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 36px rgba(34,34,34,0.06);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 200;
}
header .container {
  min-height: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 46px;
  margin-right: 34px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-left: 8px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #171717;
  letter-spacing: -0.1px;
  font-size: 1.05rem;
  padding: 4px 9px;
  border-radius: 5px;
  transition: background .18s, color .16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7f7f7;
  color: #12623B;
}
.button-primary {
  background: #161616;
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: 1rem;
  padding: 12px 28px;
  margin-left: 14px;
  margin-right: 5px;
  box-shadow: none;
  letter-spacing: .03em;
  border: 1.5px solid #161616;
  display: inline-block;
  transition: background .18s, color .18s, border .18s, filter .18s;
}
.button-primary:hover, .button-primary:focus {
  background: #147845;
  color: #fff;
  border-color: #12623B;
  filter: brightness(.93) contrast(1.08);
}

/* Hamburger menu (mobile-menu-toggle) */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #111;
  font-size: 2.2rem;
  line-height: 1;
  padding: 6px 16px 4px 12px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  transition: background .12s, color .15s;
  z-index: 302;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #147845;
  background: #efefef;
}
/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  z-index: 301;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: rgba(22,22,22,0.98);
  color: #fff;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform .43s cubic-bezier(.77,.2,.2,1);
  box-shadow: -2px 0 32px 4px rgba(20,20,20,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  padding: 24px 24px 10px 10px;
  cursor: pointer;
  margin-right: 0;
  align-self: flex-end;
  transition: color .16s, background .12s;
  border-radius: 8px;
  z-index: 306;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #29b274;
  background: #212121;
}
.mobile-nav {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #f7f7f7;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 11px 0;
  display: block;
  transition: color .21s, background .13s;
  border-radius: 3px;
  width: 90vw;
  letter-spacing: .01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #59ffac;
  background: rgba(40, 130, 90, 0.09);
}

/* ---------------------- FOOTER -------------------------- */
footer {
  background: #171717;
  color: #fff;
  padding: 46px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
footer img {
  width: 54px;
  margin-bottom: 10px;
}
footer .text-section {
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.footer-nav a {
  color: #c2c2c2;
  transition: color .17s;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer address {
  font-style: normal;
  color: #ededed;
  font-size: 0.99rem;
}
footer a {
  color: #aaf2c6;
  text-decoration: underline;
  transition: color .18s;
}
footer a:hover {
  color: #fff;
}

/* -------------------- COOKIE CONSENT BANNER ------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4003;
  background: rgba(22,22,22, 0.96);
  color: #fff;
  padding: 24px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 20px rgba(16,16,16,0.18);
  gap: 15px;
  transition: transform .47s, opacity .35s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #f8f8f8;
  max-width: 480px;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions button,
.cookie-actions .button-secondary {
  padding: 10px 20px;
  background: #fff;
  color: #161616;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid #bbb;
  min-width: 120px;
  cursor: pointer;
  margin-bottom: 2px;
  transition: background .17s, color .17s, border .16s;
}
.cookie-actions button:hover, .cookie-actions .button-secondary:hover  {
  background: #12623B;
  color: #fff;
  border-color: #12623B;
}
.cookie-actions .button-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-actions .button-secondary:hover {
  background: #111;
  border-color: #147845;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,22,22,0.81);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visible: visible;
  pointer-events: auto;
  transition: opacity .29s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  min-width: 310px;
  max-width: 92vw;
  padding: 34px 28px 24px 28px;
  box-shadow: 0 6px 34px rgba(30,30,30,0.2);
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-dialog h3 {
  color: #111;
  margin-bottom: 8px;
  font-size: 1.26rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 11px;
  background: none;
  color: #111;
  border: none;
  font-size: 1.55rem;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 8px;
  transition: background .12s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e9e9e9;
  color: #147845;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #161616;
  font-size: 1.01rem;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #12623B;
  border-radius: 3px;
  cursor: pointer;
}
.cookie-actions-modal {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 8px;
}

/* -------------------- NEWSLETTER SIGNUP PROMO ------------------- */
.newsletter-signup {
  background: #171717;
  color: #fff;
  border-radius: 12px;
  padding: 26px 20px 22px 22px;
  margin-top: 16px;
  margin-bottom: 0;
  box-shadow: 0 2px 20px rgba(34,34,34,0.10);
}

/* -------------------- CONTACT DETAILS BLOCKS -------------------- */
.contact-details {
  background: #f9f9f7;
  padding: 28px 22px;
  border-radius: 13px;
  box-shadow: 0 1px 10px rgba(20,20,20,0.06);
  border: 1.5px solid #ececec;
  margin-bottom: 18px;
  margin-top: 10px;
}
.contact-details h2 {
  margin-top: 0;
  margin-bottom: 9px;
  font-size: 1.1rem;
}

/* -------------------- FORM BUTTONS (if any) ---------------------- */
input[type='text'], input[type='email'], textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1.3px solid #d8d8d8;
  background: #fff;
  color: #222;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  transition: border .18s, box-shadow .15s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border-color: #147845;
  box-shadow: 0 1px 8px rgba(18,98,59,0.13);
}

/* -------------------- SPACING & FLEXBOX UTILITIES --------------- */
.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;
}

/* Ensure min spacing between all content cards/sections */
.card, .feature-card, .testimonial-card, .case-study-item, .blog-post-preview {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px;
}

/* -------------------- MEDIA QUERIES: RESPONSIVENESS ---------------- */
@media (max-width: 1180px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 960px) {
  .features-grid, .service-list {
    justify-content: center;
    gap: 16px;
  }
  .feature-card {
    max-width: 360px;
    min-width: 210px;
    flex: 1 1 260px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.10rem;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 50px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .main-nav {
    display: none;
  }
  .button-primary {
    padding: 11px 17px;
    margin-left: 3px;
    font-size: 0.97rem;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .features-grid, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .case-study-list {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-card, .testimonial-card, .case-study-item, .blog-post-preview {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .impact-highlights ul {
    gap: 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  section, .section {
    padding: 33px 8px 28px 8px;
  }
  .feature-card, .blog-post-preview {
    padding: 25px 10px 19px 14px;
  }
  .testimonial-card {
    padding: 14px 11px 12px 12px;
  }
  .newsletter-signup {
    padding: 13px 8px 13px 8px;
  }
  .case-study-item {
    padding: 15px 10px 9px 13px;
  }
}
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ---------------------- ACCESSIBILITY & INTERACTION --------------- */
a:focus-visible,
.button-primary:focus-visible,
footer .footer-nav a:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid #147845;
  outline-offset: 2px;
  background: #e8ffe5;
  color: #12623B;
}
button:focus-visible {
  outline: 2px solid #12623B;
  outline-offset: 1.5px;
}
/* Subtle transitions for all interactive elements */
.main-nav a, .footer-nav a, .button-primary, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background .17s, color .13s, border .13s, box-shadow .13s;
}

/* -------------- PRINT STYLES (minimal) ------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  section, .container {
    margin: 0;
    padding: 0;
    width: 100%;
  }
}
.newsletter-signup strong {
  color: #e9e9e9;
}
/* --------- END OF STYLE.CSS ----------- */
