/* ===================================================
   CSS RESET & BASELINE 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F6F6;
  color: #2C2C2C;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100%;
}
a {
  color: #416A59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2C2C2C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.7em;
}
img, svg {
  max-width: 100%;
  display: inline-block;
}
button, input[type=button], input[type=submit], .cta {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
input, textarea, select {
  font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2C2C2C;
  margin-bottom: 18px;
}
h1 { font-size: 2.3rem; margin-bottom: 22px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.05rem; margin-bottom: 10px; }
p { margin-bottom: 1.1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===============================
   FLEXBOX LAYOUTS
=============================== */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.07);
  padding: 24px 28px;
  margin-bottom: 24px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------------------
   GENERAL STRUCTURE & SPACING
------------------------------------- */
main {
  padding-top: 32px;
}
.content-wrapper {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}
.text-section ul,
.text-section ol {
  margin-left: 1.5em;
}
.text-section li {
  margin-bottom: 6px;
}

.section:last-of-type {
  margin-bottom: 0;
}

/* =========================
   HEADER & NAVIGATION
========================= */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(44,44,44,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px;
  min-height: 72px;
  position: relative;
}
header a img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2C2C2C;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #F6F6F6;
  color: #416A59;
}
header .cta.primary {
  margin-left: 28px;
}

/* =======================
   CTA / BUTTONS
======================= */
.cta.primary, .cta {
  display: inline-block;
  padding: 11px 32px;
  border-radius: 6px;
  background: #416A59;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(44,44,44,0.10);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  text-align: center;
  margin-top: 12px;
}
.cta.primary:hover, .cta.primary:focus, .cta:hover, .cta:focus {
  background: #2C2C2C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(65,106,89,0.12);
}

/* =======================
   HERO SECTIONS
======================= */
.hero {
  background: #f2f5f7;
  padding: 60px 0 40px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  text-align: left;
  max-width: 640px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #2C2C2C;
  margin-bottom: 18px;
  line-height: 1.1;
}
.hero p {
  font-size: 1.15rem;
  color: #3b3b3b;
  margin-bottom: 24px;
}

/* =========================
   FEATURES SECTION
========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 25px 0 8px 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 310px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(44,44,44,0.08);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 26px rgba(65,106,89,0.14);
  transform: translateY(-2px) scale(1.029);
}
.feature-grid img {
  height: 37px;
  width: auto;
  margin-bottom: 6px;
}
.feature-grid h3 {
  font-size: 1.17rem;
  margin-bottom: 5px;
}

/* =========================
   SERVICE LISTS, ABOUT UL
========================= */
.service-list {
  margin-bottom: 20px;
}
.service-list li strong {
  color: #416A59;
}

/* =========================
   TESTIMONIALS & CARDS
========================= */
#testimonials .testimonial-card, #testimonials-projects .testimonial-card {
  background: #f6fafe;
  color: #2C2C2C;
  border-left: 5px solid #416A59;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(44,44,44,0.10);
  padding: 20px 26px 18px 22px;
  border-radius: 10px;
  max-width: 490px;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #273043;
  margin-bottom: 11px;
}
.testimonial-card span {
  color: #416A59;
  font-weight: 600;
  font-size: .97rem;
}
#testimonials-projects .testimonial-card {
  background: #fff;
  border-left: 5px solid #416A59;
  color: #111;
}

/* =========================
   FAQ ACCORDION STYLE
========================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.faq-item {
  background: #f6fafe;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(44,44,44,0.08);
  padding: 18px 22px;
  transition: box-shadow 0.15s;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(65,106,89,0.10);
}
.faq-item h3 {
  margin-bottom: 8px;
  color: #416A59;
  font-size: 1.09rem;
  font-weight: 700;
}
.faq-item p {
  margin-bottom: 0;
  color: #273043;
}

/* =========================
   CARD, LEGAL, CONFIRMATION
========================= */
.legal, .confirmation {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 6px 28px rgba(44,44,44,0.10);
  padding: 36px 28px;
  margin: 40px 0;
}
.legal h1, .confirmation h1 {
  font-size: 2.05rem;
  margin-bottom: 20px;
}
.legal h2, .confirmation h2 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

/* =========================
   FOOTER STYLES
========================= */
footer {
  background: #222B32;
  color: #eef2f3;
  padding-top: 38px;
  padding-bottom: 18px;
  margin-top: 46px;
  font-size: 1rem;
  box-shadow: 0 -2px 15px rgba(44,44,44,0.06);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1.5px solid #384049;
  padding-bottom: 20px;
  margin-bottom: 12px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-top nav a {
  color: #b9c6ce;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-top img {
  height: 36px;
  width: auto;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.footer-bottom div {
  font-size: 0.97rem;
  color: #eaf4fe;
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  filter: grayscale(0.25);
  transition: filter 0.14s, transform 0.12s;
}
.social-links a:hover img {
  filter: grayscale(0) brightness(1.13);
  transform: scale(1.08) translateY(-2px);
}
.legal-notice {
  text-align: center;
  font-size: .98rem;
  color: #9ab7c1;
  margin-top: 20px;
}

/* =========================
   MOBILE MENU OVERLAY
========================= */
.mobile-menu-toggle {
  display: none;
  background: #416A59;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2C2C2C;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,44,44, 0.97);
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.42,.27,.46,1.24);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  padding: 17px 19px 12px 11px;
  align-self: flex-end;
  margin: 5px 12px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #96d6ac;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 38px 0 0 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 11px 0 7px 0;
  width: 100%;
  border-radius: 5px;
  min-width: 0;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #416A59;
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #273043;
  box-shadow: 0 -2px 16px rgba(44,44,44,0.17);
  z-index: 99999;
  padding: 1.5em 2em 1em 2em;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  transition: transform 0.34s cubic-bezier(.45,1,.42,1), opacity 0.19s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-consent-text {
  font-size: 1rem;
  max-width: 630px;
  margin-bottom: 9px;
}
.cookie-consent-banner .cookie-consent-buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  padding: 9px 22px;
  border-radius: 5px;
  background: #416A59;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  outline: none;
  transition: background 0.18s, transform 0.13s;
  margin-top: 2px;
}
.cookie-consent-banner .cookie-btn-secondary {
  background: #F6F6F6;
  color: #416A59;
  border: 1px solid #416A59;
}
.cookie-consent-banner .cookie-btn-secondary:hover {
  background: #eee;
  color: #2C2C2C;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #273043;
  color: #fff;
  transform: scale(1.05);
}

/* =========================
   COOKIE MODAL
========================= */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 94vw;
  max-width: 420px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(44,44,44,0.21);
  border-radius: 13px;
  z-index: 100010;
  padding: 34px 28px 26px 28px;
  transform: translate(-50%, -53%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.01);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 9px;
  color: #416A59;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 9px;
}
.cookie-modal .cookie-category:last-of-type {
  border: none;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d0dbe2;
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #416A59;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  transition: transform 0.19s cubic-bezier(.84,0,.16,1.29);
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-action-buttons {
  display: flex;
  gap: 18px;
  margin-top: 19px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 9px 22px;
  border-radius: 5px;
  background: #416A59;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  outline: none;
  transition: background 0.18s, transform 0.13s;
}
.cookie-modal button.cookie-btn-secondary {
  background: #F6F6F6;
  color: #416A59;
  border: 1px solid #416A59;
}
.cookie-modal button.cookie-btn-secondary:hover {
  background: #eee;
  color: #2C2C2C;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #273043;
  color: #fff;
  transform: scale(1.06);
}

/* =========================
  RESPONSIVENESS (MOBILE-FIRST)
========================= */
@media (max-width: 900px) {
  .feature-grid {
    gap: 17px;
  }
  .feature-grid li {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 210px;
  }
  .container { max-width: 99vw; }
}
@media (max-width: 768px) {
  .hero, .section {
    padding: 34px 6px 30px 6px;
  }
  .hero .container {
    padding: 0 6px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  footer {
    padding-top: 22px;
    margin-top: 32px;
  }
  .footer-bottom,
  .footer-top {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  header .cta.primary {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .legal, .confirmation {
    padding: 24px 5px;
  }
  .testimonial-card {
    padding: 15px 8px;
  }
}
@media (max-width: 460px) {
  html { font-size: 14px; }
  .container { padding: 0 3px; }
  .hero h1 { font-size: 1.52rem; }
}

/* =========================
  SCROLLBAR DESIGN
========================= */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F6F6;
}
::-webkit-scrollbar-thumb {
  background: #d0dbe2;
  border-radius: 6px;
}

/* ===============
   MISC
================ */
hr {
  border: none;
  border-top: 1px solid #DEE5F2;
  margin: 28px 0;
}
blockquote {
  border-left: 4px solid #416A59;
  background: #f9fefe;
  margin: 19px 0;
  padding: 16px 28px;
  border-radius: 7px;
  color: #273043;
  font-style: italic;
}

/* ===============
   Z-INDEXS
================ */
header { z-index: 90; }
.mobile-menu { z-index: 9999; }
.cookie-consent-banner { z-index: 99999; }
.cookie-modal { z-index: 100010; }

/* ===============
   FORM (if used)
================ */
input, textarea, select {
  border: 1px solid #dbe3ec;
  border-radius: 5px;
  padding: 10px;
  background: #fff;
  color: #2C2C2C;
  margin-bottom: 18px;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 1px 5px rgba(44,44,44,0.03);
}
input:focus, textarea:focus, select:focus {
  border-color: #416A59;
  box-shadow: 0 2px 8px rgba(65,106,89,0.09);
  outline: none;
}

/* ===============
   PRINT SUPPORT
================ */
@media print {
  header, footer, .cta, .cookie-consent-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
  main, .container, .section {
    padding: 0 !important;
    margin: 0 !important;
    color: #000;
    background: #fff;
  }
}
