/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #121212;
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* FONTS & TYPOGRAPHY -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #121212;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  color: #454545;
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232323;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* CONTAINERS & LAYOUTS (flexbox only!) ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* HEADER & NAVIGATION -------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
  gap: 18px;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: #181818;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #206039;
}
.btn-primary {
  background: #121212;
  color: #fff;
  border-radius: 28px;
  border: none;
  padding: 0.75em 2em;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(25,25,25,0.05);
  letter-spacing: 0.5px;
  margin-left: 16px;
  text-decoration: none;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #206039;
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,96,57,0.09);
}

/* HAMBURGER MENU (mobile) ---------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 120;
  background: #161616;
  color: #fff;
  border: none;
  border-radius: 32px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(20,20,20,0.13);
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-toggle:hover {
  background: #206039;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(18,18,18,0.96);
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1610;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #206039;
}
.mobile-nav {
  margin-top: 80px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
  padding: 8px 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #4894A6;
}

/* HERO SECTION & CALLS ------------------- */
.hero {
  background: #fff;
  margin-bottom: 60px;
  padding: 60px 0 70px 0;
  border-bottom: 1px solid #E3E3E3;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #121212;
  margin-bottom: 15px;
  letter-spacing: -1px;
}
.hero .subheadline {
  margin-bottom: 34px;
  line-height: 1.45;
  color: #494949;
  font-size: 1.22rem;
}

/* FEATURE CARDS & FLEX LAYOUTS ----------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.feature-item {
  background: #f8f8f8;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(20,20,20,0.04);
  flex: 1 1 260px;
  min-width: 245px;
  max-width: 310px;
  padding: 30px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid #ececec;
  transition: box-shadow 0.27s, transform 0.15s;
}
.feature-item img {
  height: 38px;
  width: 38px;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.85;
}
.feature-item h3,
.feature-item h2 {
  font-size: 1.3rem;
  color: #181818;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 1rem;
  color: #444;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(70,70,70,0.14);
  transform: translateY(-3px) scale(1.011);
  background: #fff;
}

/* CARDS, LISTS, TESTIMONIALS, SERVICES --- */
.service-list,
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card,
.project-summary {
  flex: 1 1 310px;
  min-width: 270px;
  background: #fcfcfc;
  border-radius: 16px;
  box-shadow: 0 2px 13px rgba(30,30,30,0.04);
  padding: 26px 22px 22px 22px;
  margin-bottom: 20px;
  border: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.23s, border 0.23s, background 0.16s;
  position: relative;
}
.service-card h2,
.project-summary h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}
.service-card .service-price {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #206039;
  font-size: 1.05rem;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-card:hover,
.project-summary:hover {
  box-shadow: 0 8px 26px rgba(38,38,38,0.09);
  border: 1.5px solid #206039;
  background: #fff;
}
.benefit-highlight {
  background: #222;
  color: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  margin: 24px 0 10px 0;
  font-size: 1.1rem;
}
.benefit-highlight ul {
  margin: 0;
  color: #fff;
  list-style: disc inside;
}
.benefit-highlight li {
  margin-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #f6f6f6;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(8,8,8,0.04);
  padding: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 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 CARDS ---------------------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 16px 28px;
  background: #fff;
  color: #161616;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(40,40,40,0.07);
  border: 1.5px solid #e9e9e9;
  white-space: normal;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 450px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.21s, border 0.21s, background 0.14s;
}
.testimonial-card:hover {
  background: #fafbfb;
  border: 1.5px solid #206039;
  box-shadow: 0 8px 28px rgba(44,44,44,0.13);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.08rem;
  color: #222;
}
.testimonial-author {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #236080;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 7px;
}

.faq-section {
  margin: 30px 0 0 0;
  background: #fafbfc;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(30,30,30,0.03);
  padding: 22px 16px;
}
.faq-section h3 {
  margin-bottom: 10px;
  color: #121212;
}
.faq-section ul li {
  margin-bottom: 10px;
}

/* ADDRESS & CONTACT DETAILS -------------- */
.contact-details {
  background: #f6f6f6;
  border-radius: 11px;
  padding: 22px 17px;
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #232323;
}
.address-map {
  margin-bottom: 12px;
}
.address-map p {
  font-size: 1.02rem;
}

/* FOOTER --------------------------------- */
footer {
  background: #161616;
  color: #fafafa;
  width: 100%;
  border-top: 1.5px solid #e2e2e2;
  padding: 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 20px 18px 20px;
}
.footer-logo img {
  height: 45px;
  opacity: 0.93;
}
.footer-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
  color: #fafafa;
  margin-bottom: 3px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #fafafa;
  text-decoration: none;
  transition: color 0.21s;
}
.footer-nav a:hover {
  color: #4894A6;
}
.footer-contact {
  color: #bababa;
  font-size: 0.98rem;
  text-align: center;
  margin-top: 0;
}
.brand-tagline {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #236080;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 5px;
  text-align: center;
}

/* BUTTONS - secondary, links ------------- */
.button, .btn-secondary {
  display: inline-block;
  background: #fff;
  color: #206039;
  border-radius: 24px;
  border: 1px solid #206039;
  padding: 0.6em 1.7em;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  margin: 8px 0 8px 0;
  text-decoration: none;
  outline: none;
}
.button:hover,
.btn-secondary:hover,
.button:focus,
.btn-secondary:focus {
  background: #206039;
  color: #fff;
  border: 1px solid #206039;
}

/* OL/UL ------------------------------- */
ul, ol {
  margin-bottom: 16px;
  padding-left: 18px;
}
li {
  margin-bottom: 12px;
}
.text-section ul, .faq-section ul {
  padding-left: 24px;
}

/* MODALS & OVERLAYS --------------------- */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,18,18,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.27s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(40,40,40,0.18);
  padding: 36px 30px 32px 30px;
  position: relative;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleUp 0.19s cubic-bezier(.9,0,.18,1);
}
@keyframes scaleUp {
  from { transform: scale(0.93); opacity: 0.74; }
  to { transform: scale(1); opacity: 1; }
}
.modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.modal .close-modal {
  position: absolute;
  right: 12px;
  top: 10px;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: #181818;
  cursor: pointer;
  z-index: 10012;
}

/* COOKIE CONSENT BANNER ------------------ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181818;
  color: #fafafa;
  box-shadow: 0 -2px 22px rgba(20,20,20,0.21);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 22px 18px 22px 18px;
  z-index: 1200;
  font-size: 1rem;
  animation: slideUpBanner 0.35s;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-consent-banner .cookie-message {
  color: #fafafa;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-consent-banner .btn-cookie-accept {
  background: #206039;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 0.5em 1.6em;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(40,40,40,0.06);
  transition: background 0.15s;
}
.cookie-consent-banner .btn-cookie-accept:hover {
  background: #4894A6;
}
.cookie-consent-banner .btn-cookie-reject,
.cookie-consent-banner .btn-cookie-settings {
  background: transparent;
  color: #236080;
  border-radius: 22px;
  padding: 0.5em 1.6em;
  border: 1.5px solid #236080;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s, color 0.17s;
}
.cookie-consent-banner .btn-cookie-reject:hover,
.cookie-consent-banner .btn-cookie-settings:hover {
  background: #236080;
  color: #fff;
}

/* COOKIE MODAL --------------------------- */
.cookie-modal {
  min-width: 340px;
  max-width: 98vw;
  background: #fff;
  color: #181818;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(40,40,40,0.14);
  padding: 32px 26px 28px 26px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1210;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scaleUp 0.22s cubic-bezier(.77,0,.175,1);
}
.cookie-modal h2 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #206039;
  width: 20px;
  height: 20px;
  margin-right: 9px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #206039;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  color: #181818;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10021;
}

/* RESPONSIVE DESIGN --------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .service-list, .project-list, .testimonials {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .project-list, .testimonials {
    gap: 16px;
  }
  .section {
    padding: 40px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 0 11px;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-list, .project-list, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .project-summary, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 8px 14px 8px;
    font-size: 0.99rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .hero { padding: 35px 0 40px 0; }
  .container { padding: 0 4px; }
  .section { padding: 28px 4px; }
  .footer-contact, .brand-tagline {
    font-size: 0.99rem;
  }
}

/* ACCESSIBILITY FOCUSED STATES ----------- */
a:focus, .btn-primary:focus, .button:focus, .btn-secondary:focus {
  outline: 2px solid #4894A6;
  outline-offset: 3px;
}

/* MISC --------------------------- */
::-webkit-input-placeholder { color: #555; opacity: 0.82; }
::-moz-placeholder { color: #555; opacity: 0.82; }
:-ms-input-placeholder { color: #555; opacity: 0.82; }
::placeholder { color: #555; opacity: 0.82; }


/* Ensure minimum spacing between all card elements */
.feature-item, .service-card, .project-summary, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* Minimal scrollbar styling for extra UX polish */
body {
  scrollbar-color: #206039 #eaeaea;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #eaeaea;
}
::-webkit-scrollbar-thumb {
  background: #206039;
  border-radius: 4px;
}

/* Typography fallback fonts */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular');
}
