/* 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,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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* Set core body defaults */
body {
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #153134;
  min-height: 100vh;
  position: relative;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  color: #155649;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.24;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, li, blockquote {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #153134;
  font-weight: 500;
}
strong {
  font-weight: 700;
  color: #155649;
}
em {
  font-style: italic;
  color: #57d08c;
}
blockquote {
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #155649;
  border-left: 5px solid #57d08c;
  margin: 0 0 12px 0;
  padding-left: 16px;
  background: #f5f7fa;
}
cite {
  font-size: 1rem;
  color: #153134;
  font-style: normal;
  font-weight: 600;
}

/* BUTTONS */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background .26s, color .22s, transform .18s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.button-primary {
  background: #155649;
  color: #fff;
  box-shadow: 0 3px 18px 2px #1556492c;
  border: 2px solid #155649;
}
.button-primary:hover, .button-primary:focus {
  background: #57d08c;
  color: #155649;
  transform: translateY(-2px) scale(1.03);
  border-color: #57d08c;
}
.button-secondary {
  background: #fff;
  color: #155649;
  border: 2px solid #57d08c;
  font-weight: 800;
}
.button-secondary:hover, .button-secondary:focus {
  background: #57d08c;
  color: #fff;
  border-color: #155649;
  transform: translateY(-2px) scale(1.03);
}

/* LAYOUT CONTAINERS & PATTERNS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* MANDATORY: Critical spacing/alignment patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 #15313416;
  padding: 24px 20px;
}
.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: 18px;
  background: #fff;
  box-shadow: 0 6px 38px 0 #1556490d;
  margin-bottom: 24px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px #15564906;
  position: sticky;
  top: 0;
  z-index: 200;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  flex-wrap: wrap;
}
header nav img {
  height: 42px;
  margin-right: 28px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav ul li a {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #155649;
  border-radius: 6px;
  padding: 8px 18px;
  transition: background .17s, color .15s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #57d08c;
  color: #fff;
}
header nav .button-primary {
  margin-left: 16px;
  padding: 10px 28px;
}

/* HERO SECTIONS */
.hero {
  background: #155649;
  color: #fff;
  padding: 70px 0 60px 0;
  width: 100%;
  box-shadow: 0 8px 50px -24px #57d08ca6;
  margin-bottom: 32px;
}
.hero .content-wrapper {
  color: #fff;
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero p {
  color: #f5f7fa;
  font-size: 1.23rem;
  font-weight: 600;
}
.hero a.button-primary {
  box-shadow: 0 8px 26px #57d08c44;
  color: #155649;
  background: #57d08c;
  border: 2px solid #fff;
}
.hero a.button-primary:hover, .hero a.button-primary:focus {
  background: #fff;
  color: #155649;
  border-color: #57d08c;
}

/* FEATURE GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px #15564910;
  padding: 26px 22px 28px 22px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .26s, transform .19s;
  border: 2px solid transparent;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 8px 24px #57d08c33;
  border: 2px solid #57d08c;
  transform: translateY(-5px) scale(1.03);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: #155649;
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-weight: 800;
}
.feature-grid p {
  color: #153134;
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* SERVICE CARDS (on /services) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.service-cards li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 10px #15564914;
  padding: 30px 22px 26px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: box-shadow .22s, border-color .22s, transform .13s;
  border: 2px solid transparent;
}
.service-cards li strong {
  color: #57d08c;
  font-weight: 800;
  font-size: 1.05rem;
}
.service-cards li:hover, .service-cards li:focus-within {
  border: 2px solid #57d08c;
  box-shadow: 0 10px 26px #57d08c33;
  transform: translateY(-4px);
}
.service-cards h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #155649;
}

/* PROJECT CARDS (on /projects) */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 24px 0;
  width: 100%;
}
.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px #57d08c14;
  padding: 24px 20px;
  flex: 1 1 300px;
  min-width: 230px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 2px solid transparent;
  transition: box-shadow .19s, border-color .16s, transform .12s;
}
.project-card:hover, .project-card:focus-within {
  border: 2px solid #57d08c;
  box-shadow: 0 6px 26px #1556491b;
  transform: translateY(-6px) scale(1.02);
}
.project-card h3 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* BLOG TEASERS */
.blog-article-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.blog-article-teasers article {
  flex: 1 1 310px;
  min-width: 200px;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #15564912;
  padding: 20px 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  border: 2px solid transparent;
  transition: box-shadow .22s, transform .17s, border-color .15s;
}
.blog-article-teasers article:hover, .blog-article-teasers article:focus-within {
  border: 2px solid #57d08c;
  box-shadow: 0 8px 28px #57d08c2b;
  transform: translateY(-2px) scale(1.04);
}
.blog-article-teasers h3 {
  color: #155649;
  font-weight: 800;
}
.blog-article-teasers a {
  color: #57d08c;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: underline;
  font-size: 1.04rem;
  margin-top: 6px;
}
.blog-article-teasers a:hover {
  color: #155649;
}

/* FAQ Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 0 0;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #15564909;
  padding: 18px 18px 16px 18px;
  border-left: 4px solid #57d08c;
  transition: box-shadow .18s;
}
.faq-accordion > div:hover, .faq-accordion > div:focus-within {
  box-shadow: 0 4px 18px #57d08c1a;
}
.faq-accordion h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #155649;
}

/* TEXT SECTIONS (paragraph layouts) */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.06rem;
}
.text-section h3 {
  margin-top: 20px;
  font-size: 1.04rem;
  color: #57d08c;
  font-weight: 800;
}
.text-section ul, .text-section ol {
  padding-left: 22px;
  margin-bottom: 8px;
  list-style-type: disc;
}
.text-section li {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  background: #155649;
  color: #fff;
  padding: 32px 0 18px 0;
  margin-top: 80px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background .15s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  background: #57d08c;
  color: #155649;
}
footer p {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 400;
}

/* MOBILE ONLY: Burger menu styles */
.mobile-menu-toggle {
  display: none;
  background: #57d08c;
  color: #155649;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 450;
  cursor: pointer;
  transition: background .18s;
  box-shadow: 0 2px 8px #15564918;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #155649;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #155649;
  color: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.8,-0.2,.2,1.2);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #57d08c;
  color: #155649;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin: 28px 0 0 28px;
  align-self: flex-start;
  cursor: pointer;
  transition: background .18s, color .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff;
  color: #57d08c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 48px;
  padding: 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 10px 0;
  border-bottom: 2px solid #57d08c10;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #57d08c;
  background: #fff;
  border-radius: 8px;
  padding-left: 10px;
  transition: padding .15s, background .14s;
}

/* RESPONSIVE DESIGN: Mobile first */
@media (max-width: 1050px) {
  .container {
    max-width: 930px;
  }
  header nav ul {
    gap: 10px;
  }
  .blog-article-teasers,.feature-grid,.service-cards,.project-cards{gap:20px;}
}
@media (max-width: 900px) {
  .container {
    max-width: 670px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid li,
  .service-cards li,
  .project-card,
  .blog-article-teasers article {
    max-width: 100%;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  h1 {font-size:2rem;}
  h2 {font-size:1.3rem;}
  .container {padding:0 8px;}
  
  header nav ul,
  header nav .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 40px 0 28px 0;
  }
  .section {
    padding:28px 6px;
    margin-bottom:40px;
  }
  .feature-grid, .service-cards, .content-grid, .project-cards, .blog-article-teasers {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .mobile-menu-close {margin:22px 0 0 15px;}
  .mobile-nav {padding:0 18px;}
}
@media (max-width: 520px) {
  h1 {font-size:1.25rem;}
  h2 {font-size:1.07rem;}
  p,li,blockquote {font-size:.98rem;}
  .hero {padding:16px 0 10px 0;margin-bottom:24px;}
  .container {padding:0 2px;}
  .feature-grid li, .service-cards li, .project-card, .blog-article-teasers article {
    padding: 13px 7px 14px 10px;
  }
}

/* CTA & INTERACTION EFFECTS */
.card-container .card:hover,
.content-grid .card:hover,
.service-cards li:focus-within,
.feature-grid li:focus-within,
.project-card:focus-within {
  box-shadow: 0 6px 24px #57d08c33;
  border-color: #57d08c;
  transform: translateY(-3px) scale(1.02);
}

/* Miscellaneous effects */
*:focus {
  outline: 2px solid #57d08c;
  outline-offset: 0px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #153134;
  color: #fff;
  box-shadow: 0 -4px 24px #15313466;
  padding: 20px 8px 20px 20px;
  z-index: 3000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1.02rem;
  animation: cookieslideup .7s cubic-bezier(.7,0,.3,1.4);
}
@keyframes cookieslideup {
  from {transform: translateY(60px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .button-cookie {
  background: #57d08c;
  color: #155649;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 8px 24px;
  font-size: .98rem;
  cursor: pointer;
  transition: background .16s, color .15s, transform .16s;
}
.cookie-banner .button-cookie:hover, .cookie-banner .button-cookie:focus {
  background: #fff;
  color: #57d08c;
  transform: scale(1.06);
}
.cookie-banner .button-cookie-alt {
  background: #fff;
  color: #57d08c;
  border: 2px solid #57d08c;
  padding: 7px 18px;
}
.cookie-banner .button-cookie-alt:hover, .button-cookie-alt:focus {
  background: #155649;
  color: #fff;
  border-color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 270px;
  max-width: 98vw;
  width: 350px;
  background: #fff;
  color: #153134;
  border-radius: 17px;
  box-shadow: 0 8px 58px #15564934;
  transform: translate(-50%, -50%) scale(0.98);
  z-index: 4020;
  animation: cookiepop .3s cubic-bezier(.6,-0.8,.7,1.7);
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px 24px;
  gap: 16px;
}
@keyframes cookiepop {
  from {opacity:0;transform:translate(-50%, -46%) scale(0.90);}
  to {opacity:1;transform:translate(-50%, -50%) scale(1);}
}
.cookie-modal h2 {
  color: #155649;
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 700;
  color: #155649;
}
.cookie-category input[type="checkbox"] {
  accent-color: #57d08c;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .button-cookie-modal {
  background: #57d08c;
  color: #155649;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 8px 24px;
  font-size: .97rem;
  cursor: pointer;
  transition: background .18s, color .15s, transform .13s;
}
.cookie-modal .button-cookie-modal:hover, .cookie-modal .button-cookie-modal:focus {
  background: #155649;
  color: #fff;
  transform: scale(1.06);
}
.cookie-modal .button-cookie-modal-alt {
  background: #fff;
  color: #57d08c;
  border: 2px solid #57d08c;
}
.cookie-modal .button-cookie-modal-alt:hover, .button-cookie-modal-alt:focus {
  background: #155649;
  color: #fff;
  border-color: #fff;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #155649;
  font-size: 1.9rem;
  margin-right: -11px;
  cursor: pointer;
  transition: color .12s;
  line-height: 1;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #57d08c;
}
@media (max-width:480px) {
  .cookie-modal{ width:95vw;min-width:0;padding:12px 6px 10px 8px;}
}
/* Accessibility for cookie modal overlay */
.cookie-modal-backdrop {
  position:fixed;
  top:0;left:0;width:100vw;height:100vh;
  background:rgba(21,86,73,0.74);
  z-index:4010;
  animation:cookiefadein .37s;
}
@keyframes cookiefadein {
  from {opacity:0;}
  to {opacity:1;}
}

/* Util: visually hidden class */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ACCESSIBLE SKIP LINK (optional): hidden by default, visible when focused */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #57d08c;
  color: #fff;
  padding: 8px 18px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 10px 10px;
  font-size: 1.1rem;
  transition: top .28s;
}
.skip-link:focus {
  top: 0;
}

/* GEOMETRIC/Modern Shapes (can be hooked up with CSS classes if needed) */
.shape-accent {
  position: absolute;
  z-index: 1;
  background: #57d08c;
  opacity: 0.10;
  border-radius: 50%;
  pointer-events: none;
}

/* Hide modal, banner base (JS to toggle .open/.show as needed) */
.cookie-banner { display:none; }
.cookie-banner.show { display:flex; }
.cookie-modal, .cookie-modal-backdrop { display:none; }
.cookie-modal.open, .cookie-modal-backdrop.open { display:block; }

/* Prevent overlapping and content cutting off at all times */
.card, .testimonial-card, .feature-grid li, .service-cards li, .project-card, .blog-article-teasers article, .faq-accordion > div {
  min-width: 0;
  word-break: break-word;
}

/* END STYLE */
