/* --- CSS RESET / NORMALIZE (Mobile-first) --- */
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%; vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #222;
  background: #F6F6F2;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%; height: auto; display: block;
}
a { color: #236285; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #82A82C; outline: none; }
strong { font-weight: 600; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #236285;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }
p, ul, ol { font-size: 16px; margin-bottom: 16px; }
.subheadline {
  font-size: 1.2rem;
  color: #236285;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* --- CONTAINERS & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
main {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(35,98,133,0.06);
  position: relative;
}
.section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
}
/* --- FLEXBOX LAYOUT COMPONENTS --- */
.feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F6F2;
  border: 2px solid #23628510;
  border-radius: 16px;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 2px 8px rgba(35,98,133,0.04);
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 360px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 44px; height: 44px; margin-bottom: 8px;
}
.card-container {
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border: 2px solid #23628510;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(35,98,133,0.06);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- HERO AREA --- */
.hero {
  background: #236285;
  color: #fff;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding: 48px 0 60px 0;
  box-shadow: 0 6px 32px rgba(35,98,133,0.10);
}
.hero .container {display: flex; align-items: center; justify-content: center;}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1, .hero .subheadline, .hero .cta-button { color: #fff !important; }

/* --- HEADER / NAVIGATION --- */
header {
  width: 100%; background: #fff;
  border-bottom: 3px solid #23628510;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(35,98,133,0.08);
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 16px;
  height: 74px;
  position: relative;
}
header nav > a img {
  height: 40px;
  width: auto;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #236285;
  font-weight: 500;
  letter-spacing: 0.4px;
  border-radius: 10px;
  padding: 8px 12px;
  transition: background .2s, color .2s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #82A82C25;
  color: #82A82C;
  outline: none;
}
.cta-button {
  background: #82A82C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(35,98,133,0.08);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #236285;
  color: #fff;
  box-shadow: 0 4px 16px rgba(35,98,133,0.18);
  outline: none;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #236285;
  color: #fff;
  font-size: 2rem;
  padding: 10px 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 201;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #236285ee;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.5, 1.35, .68, 1);
  opacity: 1;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 28px 10px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #82A82C;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 16px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid #fff2;
  border-radius: 0;
  transition: color 0.2s;
  outline: none;
  margin-bottom: 10px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus { color: #82A82C; background: none; outline: none; }

@media (max-width: 1100px) {
  header nav ul { gap: 12px; }
  .feature-grid {gap: 16px;}
  .card-container, .card-grid, .content-grid {gap: 12px;}
}
@media (max-width: 900px) {
  .container {max-width: 96vw;}
  section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 800px) {
  .container {max-width: 99vw;}
}
@media (max-width: 768px) {
  header nav ul,
  .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container { padding: 0 8px; }
}

/* --- TABLE STYLE --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px 0;
  font-size: 16px;
  background: #F6F6F2;
  border-radius: 14px;
  overflow-x: auto;
}
thead th {
  background: #236285;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 12px 10px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 2px solid #82A82C55;
}
tbody td {
  padding: 11px 10px;
  border-bottom: 1.5px solid #23628515;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) td {
  background-color: #f0f9fa; 
}
table th, table td { text-align: left; }

/* --- LISTS --- */
ul, ol {
  margin-bottom: 14px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.service-list {
  list-style: none;
  padding-left: 0;
}
.service-list li {
  margin-bottom: 14px;
  padding-left: 0;
  position: relative;
}
.service-list li:before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: #82A82C;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}

/* --- FOOTER --- */
footer {
  background: #236285;
  color: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px rgba(35,98,133,0.11);
  margin: 42px 0 0 0;
  padding: 34px 0;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: color .2s;
}
footer nav a:hover, footer nav a:focus { color: #82A82C; outline: none;}
footer address {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  font-style: normal;
}
footer address img {
  width: 18px; height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  opacity: .95;
}
@media (max-width: 700px) {
  footer {
    padding: 18px 0;
  }
  footer .container {
    gap: 20px;
  }
}

/* --- TESTIMONIAL CARD --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F6F2;
  color: #222;
  border-left: 8px solid #236285;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,98,133,0.03);
  position: relative;
  font-size: 1.1rem;
}
.testimonial-card p {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.testimonial-meta {
  font-size: 1rem;
  color: #236285;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    padding: 12px;
  }
}

.methodology-teaser {
  background: #e8f7eb;
  color: #236285;
  border-radius: 8px;
  padding: 24px 18px;
  margin-top: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(35,98,133,0.04);
}
.methodology-teaser h3 {
  color: #82A82C;
  font-weight: 700; margin-bottom: 12px; font-size: 1.17rem;
}
.methodology-teaser ul { padding-left: 16px; }
.methodology-teaser li {
  margin-bottom: 6px; font-weight: 400;
  list-style-type: square;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #eaf3fc;
  border: 1.7px dashed #23628577;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: #236285;
  margin: 26px 0 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

/* --- BUTTONS & FORMS --- */
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: background .18s, color .15s, box-shadow .18s;
  cursor: pointer;
  outline: none;
}
button:active, .cta-button:active { box-shadow: 0 1px 6px #23628533; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #2E4150;
  box-shadow: 0 -4px 28px rgba(35,98,133,0.11), 0 -1.5px 0 #23628522;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 14px 18px 14px;
  gap: 16px;
  z-index: 9999;
  will-change: transform, opacity;
  animation: cookieBannerSlideIn 0.7s cubic-bezier(0.1,1,0.1,1);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-banner-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #236285;
  margin: 0 2px;
  transition: background .17s, color .17s, box-shadow .12s;
  border: none;
}
.cookie-banner .cookie-banner-btn.cookie-btn-accept {
  background: #82A82C;
  color: #fff;
}
.cookie-banner .cookie-banner-btn.cookie-btn-settings {
  background: #236285;
  color: #fff;
}
.cookie-banner .cookie-banner-btn.cookie-btn-reject {
  background: #A63E41;
  color: #fff;
}
.cookie-banner .cookie-banner-btn:hover, .cookie-banner .cookie-banner-btn:focus {
  filter: brightness(1.07) contrast(1.15);
  box-shadow: 0 2px 10px #23628533;
  outline: none;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,98,133,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(35,98,133,0.17);
  padding: 40px 24px 18px 24px;
  min-width: 320px;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalPopIn .66s cubic-bezier(.41,1.5,.44,1.03);
}
@keyframes cookieModalPopIn {
  from { transform: scale(0.82) translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-close {
  background: none;
  color: #236285;
  align-self: flex-end;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin: -16px -16px 4px 0;
  transition: color .2s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #82A82C;
  outline: none;
}
.cookie-modal h2 {
  color: #236285;
  font-size: 1.46rem;
  margin-bottom: 10px;
  margin-top: 0;
}
.cookie-modal ul {
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.cookie-modal label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  margin-left: 12px;
  color: #222;
  user-select: none;
  cursor: pointer;
}
.cookie-category-toggle {
  margin-left: auto;
  /* Custom switch */
  width: 34px; height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-category-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-switch {
  display: block;
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e3ecfa;
  border-radius: 20px;
  transition: background .2s;
  width: 34px; height: 22px;
}
.cookie-category-toggle input:checked + .cookie-switch {
  background: #236285;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 2px #23628518;
}
.cookie-category-toggle input:checked + .cookie-switch::before {
  transform: translateX(12px);
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-btns button {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #236285;
  border: none;
  margin: 0 2px;
  transition: background .17s, color .17s, box-shadow .12s;
}
.cookie-modal-btns button.cookie-modal-accept {
  background: #82A82C;
}
.cookie-modal-btns button.cookie-modal-reject {
  background: #A63E41;
}
.cookie-modal-btns button:hover, .cookie-modal-btns button:focus {
  filter: brightness(1.07);
  box-shadow: 0 2px 12px #23628526;
  outline: none;
}

/* --- GEOMETRIC STRUCTURED DECORATIVE ELEMENTS --- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: 8px; right: 30px;
  width: 68px; height: 68px;
  background: url('../assets/geo-shape.svg') no-repeat center/contain;
  opacity: .13;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  section:before { display: none; }
}

.feature-item, .card, .testimonial-card, .methodology-teaser {
  /* Geometric shadows and slightly angular corners */
  border-radius: 12px 26px 16px 8px;
}

/* --- RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 500px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .cta-button, button { font-size: 0.97rem; padding: 10px 16px; }
  section { padding: 22px 2px; }
  .card, .feature-item { padding: 16px 7px; }
}

/* --- MISC UTILS --- */
::-webkit-input-placeholder { color: #7c8699; }
::-moz-placeholder { color: #7c8699; }
:-ms-input-placeholder { color: #7c8699; }
::placeholder { color: #7c8699; }

.hide {
  display: none !important;
}

/* --- VISUAL HIERARCHY & SPACING --- */
.card-container > * { margin-bottom: 20px; }
.card:not(:last-child), .feature-item:not(:last-child) {
  margin-right: 0; /* Since gap is set in parent */
}
.content-grid > *:not(:last-child) { margin-right: 0; }

/* --- FORMS (if present) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f6faff;
  border: 1.8px solid #b2cadc;
  border-radius: 8px;
  padding: 12px 8px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.17s, box-shadow 0.15s;
  color: #222;
  box-shadow: 0 1px 2px #23628509;
}
input:focus, textarea:focus, select:focus {
  border-color: #236285;
  box-shadow: 0 1px 7px #23628516;
  outline: none;
}
label {
  display: block;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #236285;
}

/* --- ACCESSIBILITY HIGHLIGHT --- */
:focus-visible {
  outline: 2.5px solid #82A82C;
  outline-offset: 2px;
}

/* --- Miscellaneous Styles --- */
hr {border: none; border-top: 1px solid #23628529; margin: 24px 0;}

/* --- END OF CSS --- */
