/* -------------------RESET & NORMALIZE------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(135deg,#f8f8f8 0%,#e9f7f6 40%,#e1eefa 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #202a33;
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

/* --------------------------------------
   TYPOGRAPHY
-------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #003366;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, li, blockquote, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #202a33;
}
blockquote {
  font-size: 1.15rem;
  color: #003366;
  background: #f3faff;
  border-left: 4px solid #22B573;
  padding: 16px 24px;
  margin: 0 0 12px 0;
  border-radius: 8px;
  font-style: italic;
}
strong { font-weight: 700; }
a {
  color: #22B573;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover, a:focus {
  color: #003366;
  outline: none;
}

/* --------------------------------------
   FLEX LAYOUTS & SPACING
-------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container, .features, .values-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(34,51,85,0.11);
  transition: box-shadow 0.24s cubic-bezier(.45,.04,.42,.8),transform 0.24s cubic-bezier(.45,.04,.42,.8);
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(34,51,85,0.16);
  transform: translateY(-3px) scale(1.017);
  z-index: 2;
}
.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;
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(0,51,102,.10), 0 0.5px 1.5px 0 rgba(34,181,115,.09);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 520px;
  flex: 1 1 280px;
}
.testimonial-card blockquote {
  color: #202a33;
  background: none;
  border: none;
  padding: 0;
  margin-right: 0;
}
.testimonial-card footer {
  font-size: 1rem;
  color: #003366;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-card {
  margin-bottom: 20px;
  background: linear-gradient(100deg, #f8f8f8 80%, #e1eefa 120%);
  border-radius: 16px;
  padding: 26px 22px;
  min-width: 230px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 14px 0 rgba(34, 51, 85, 0.08);
  transition: box-shadow .22s, transform .18s;
}
.service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,51,85,0.13);
  transform: translateY(-2px) scale(1.011);
}
.service-price {
  color: #fff;
  background: linear-gradient(92deg, #22B573 0%, #22d386 100%);
  padding: 6px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 16px;
  align-self: flex-end;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: linear-gradient(96deg, #003366 88%, #22B573 120%);
  box-shadow: 0 2px 14px 0 rgba(0,51,102,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 32px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #f8f8f8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -.3px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #22B573;
  color: #fff !important;
}
.btn-primary {
  border: none;
  outline: none;
  background: linear-gradient(95deg, #22B573 70%, #003366 160%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 13px 30px;
  border-radius: 99px;
  box-shadow: 0 2px 14px 0 rgba(34,181,115,0.10);
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s,box-shadow .19s,transform .18s;
  letter-spacing: 0.6px;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(95deg, #003366 60%, #22B573 150%);
  color: #fff !important;
  box-shadow: 0 8px 36px 0 rgba(34,181,115,0.19);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  padding: 8px;
  margin-left: 18px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 43, 93, 0.90);
  backdrop-filter: blur(3px);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.7,.15,.35,.95);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 32px 18px 18px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 30px;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #22B573;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 10px 12px 0;
  letter-spacing: 0.04em;
  border-radius: 6px;
  width: 100%;
  text-align: right;
  transition: background .19s, color .18s;
  touch-action: manipulation;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22B573;
  color: #fff !important;
}

/* ---------------------- MAIN CONTENT ---------------------- */
main {
  padding-top: 0;
}
.content-wrapper {
  padding: 0 0 0 0;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.content-wrapper > ul,
.text-section > ul {
  margin-bottom: 18px;
  margin-top: 4px;
}

.text-section {
  margin-bottom: 20px;
}
.values-grid {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.values-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(0,51,102,0.06);
  padding: 18px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  flex: 1 1 120px;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
}
.values-grid span {
  color: #22B573;
  font-weight: 600;
  font-size: 1.02rem;
}

/* =============== TABLES ============ */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 8px 0 rgba(34, 51, 85, 0.07);
}
th, td {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid #e1eefa;
}
th {
  background: #e1eefa;
  color: #003366;
  font-weight: bold;
  letter-spacing: .6px;
  font-size: 1.07rem;
}
tr:last-child td {
  border-bottom: none;
}

/* ------------------- FOOTER ------------------- */
footer {
  background: #003366;
  color: #fff;
  padding: 40px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #e1eefa;
  font-size: 1rem;
  transition: color 0.14s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #22B573;
}
footer .text-section {
  margin-top: 8px;
  color: #f8f8f8;
  font-size: 0.97rem;
}
footer .text-section a { color: #22B573; word-break: break-all; }
footer .text-section a:hover { color: #fff; }

/* ------- Cookie Consent Banner ----------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(93deg, #fff 88%, #e9f7f6 160%);
  border-top: 2.5px solid #22B573;
  box-shadow: 0 -2px 12px 0 rgba(0, 51, 102, 0.09);
  z-index: 2999;
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 68px;
  font-size: 1rem;
  animation: fadeInUp 0.65s cubic-bezier(.62,-0.01,.89,.01);
}
@keyframes fadeInUp {
  0% { opacity:0; transform:translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  flex: 1 1 290px;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background .19s;
}
.cookie-btn.accept {
  background: linear-gradient(93deg, #22B573 70%, #003366 160%);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(93deg, #003366 60%, #22B573 150%);
  color: #fff;
}
.cookie-btn.reject {
  background: #e1eefa;
  color: #003366;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #22B573;
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: #22B573;
  text-decoration: underline;
  padding: 7px 10px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #003366;
}

/* --- Cookie preferences modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,33,65,0.65);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .22s;
}
@keyframes fadeIn {
  from {opacity:0}
  to {opacity:1}
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 34px 0 rgba(0,51,102,0.18);
  max-width: 410px;
  width: 98vw;
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  animation: modalBounceIn .38s cubic-bezier(.45,.03,.38,1.01);
  position: relative;
}
@keyframes modalBounceIn {
  0% {opacity:0;transform:scale(0.90) translateY(40px);}
  80%{transform:scale(1.03) translateY(-6px);}
  100% {opacity: 1;transform:scale(1) translateY(0);}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #22B573;
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #003366;
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------- BUTTONS & INTERACTIONS ------------- */
button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
button:focus {
  outline: 2px solid #22B573;
  outline-offset: 2px;
}

/* ------------- RESPONSIVE DESIGN ------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
  }
  header .container, footer .container {
    gap: 12px;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .card-container, .features, .values-grid, .content-grid, .card-grid, footer .container {
    gap: 16px;
  }
  .testimonial-card, .service-card, .values-grid > div {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container, .content-wrapper {
    padding: 0 6px;
  }

  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 12px 16px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section, .card-container, .values-grid, .features, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}
@media (max-width: 510px) {
  header .container {
    padding: 0 3vw;
  }
  .section {
    padding: 18px 2px;
  }
}

/* -------- INDICATE ACTIVE NAV LINK -------- */
header nav a.active, .mobile-nav a.active, footer nav a.active {
  background: #22B573;
  color: #fff !important;
}

/* ----- ICONS ----- */
li img, .feature-item img, .values-grid img, .text-section img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

/* ---- MISC ---- */
hr {
  border: none;
  border-top: 2px solid #22B573;
  margin: 32px 0;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e1eefa;
}
::-webkit-scrollbar-thumb {
  background: #22B573;
  border-radius: 16px;
}

/* Accessibility focus outline for links & buttons */
a:focus, button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #22B573;
  outline-offset: 2px;
}

/* VISUAL HIERARCHY: SPACING */
.card-container, .card-grid, .features, .values-grid, .content-grid {
  margin-bottom: 20px;
}
.service-card + .service-card {
  margin-left: 0;
}
.text-section + .text-section {
  margin-top: 12px;
}
/* END CSS */
