/* ====================
   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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F3F4F7;
  color: #1E3269;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #17605A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1E3269;
  text-decoration: underline;
}

/* =========================
   BRAND FONTS AND TYPOGRAPHY
   ========================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #1E3269;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #17605A;
  line-height: 1.25;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h2, .h2 {
    font-size: 1.5rem;
  }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1E3269;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1E3269;
}

p, ul li, ol li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.875em;
}


/* ===================
   CONTAINER & GLOBAL STRUCTURE
   =================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
}

main {
  margin-bottom: 60px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}


/* =======
   SECTIONS SPACING (MANDATORY)
   ======= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(30,50,105,0.04);
  transition: box-shadow 0.2s;
}
@media (max-width: 768px) {
  section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
}

/* Remove box-shadow for the first hero section for clarity */
section:first-of-type {
  box-shadow: none;
  background: #F3F4F7;
  border-radius: 0;
  padding-top: 48px;
}

/* ===============
   CONTENT LAYOUTS
   =============== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(30,50,105,0.09);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 22px rgba(30,50,105,0.16);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.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: flex-start;
    gap: 22px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F3F4F7;
  border-left: 5px solid #198F87;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 520px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1em;
}
.testimonial-card strong {
  color: #1E3269;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ================
   HERO & CTA BUTTONS
   ================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 14px 36px;
  background: #1E3269;
  color: #fff;
  border-radius: 25px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30,50,105,0.05);
  transition: background 0.19s, box-shadow 0.16s, transform 0.11s;
  cursor: pointer;
}
.cta.primary {
  background: #198F87;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #17605A;
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,50,105,0.14);
  transform: translateY(-1px) scale(1.015);
  text-decoration: none;
}
.cta:active {
  background: #13484a;
}


/* ================
   PRICE TAGS & BADGES
   ================ */
.price {
  display: inline-block;
  background: #17605A;
  color: #fff;
  border-radius: 18px;
  font-size: 0.98em;
  font-weight: 600;
  padding: 3px 14px;
  margin-left: 10px;
}

/* ===========================
   HEADER NAVIGATION & MOBILE
   =========================== */
header {
  background: #fff;
  border-bottom: 1px solid #DEE3EB;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 76px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3269;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.16s,color 0.18s;
  line-height: 1.2;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E2E7F1;
  color: #17605A;
}

header .cta.primary {
  margin-left: auto;
  margin-right: 12px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #198F87;
  margin-left: 10px;
  cursor: pointer;
  display: none;
  z-index: 201;
}
@media (max-width: 1020px) {
  header .cta.primary {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ====================
   MOBILE MENU OVERLAY
   ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,50,105,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform 0.4s cubic-bezier(.55,-0.6,.43,1.45), opacity 0.18s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  margin: 24px 26px 0 0;
  cursor: pointer;
  z-index: 1001;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F3F4F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 86vw;
  max-width: 370px;
  padding: 38px 24px 18px 36px;
  margin-top: 24px;
  background: #fff;
  box-shadow: 0 2px 22px rgba(30,50,105,0.13);
  border-radius: 12px 0 0 12px;
  min-height: 60vh;
}
.mobile-nav a {
  color: #1E3269;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.13em;
  text-decoration: none;
  padding: 12px 7px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s,color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2E7F1;
  color: #17605A;
}


@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
    pointer-events: none;
    opacity: 0 !important;
  }
}

/* ===================
   FOOTER DESIGN
   =================== */
footer {
  background: #1E3269;
  color: #fff;
  padding: 32px 0 8px 0;
  border-top: 4px solid #198F87;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav.main-nav,
footer nav.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav.main-nav a,
footer nav.footer-menu a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  padding: 5px 0;
  transition: color 0.18s, opacity 0.16s;
}
footer nav.main-nav a:hover, footer nav.footer-menu a:hover,footer nav.main-nav a:focus,footer nav.footer-menu a:focus {
  color: #198F87;
  opacity: 1;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
  color: #dedede;
}
.brand-info img {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}
.brand-info p {
  font-size: 0.97em;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ========================
   GENERAL TABLE & FORMS
   ======================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 28px;
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #e1e6ec;
  text-align: left;
}
th {
  background: #f0f4fa;
  font-weight: 700;
  color: #1E3269;
}

input, textarea, select {
  font-family: inherit;
  padding: 12px 14px;
  border: 1px solid #b3bbce;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.19s, box-shadow 0.16s;
  width: 100%;
  margin-bottom: 12px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #198F87;
  box-shadow: 0 0 3px #1E3269;
  outline: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.15s;
}

/* =====================
   MAP PLACEHOLDER
   ===================== */
.map-placeholder {
  border: 2px dashed #b3bbce;
  border-radius: 10px;
  background: #f6fafd;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #888;
  margin: 0 0 20px 0;
}

/* ================
   FLEX SPACING MANDATORY
   ================ */
ul, ol {
  margin-bottom: 16px;
  margin-left: 0;
}
li {
  margin-bottom: 12px;
  padding-left: 2px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* =========================
   RESPONSIVE DESIGN (Mobile first)
   ========================= */
@media (max-width: 1020px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  section {
    margin-bottom: 36px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .h1, h1 {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 2vw;
  }
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: #fff;
  color: #1E3269;
  box-shadow: 0 -2px 24px rgba(30,50,105,0.08);
  padding: 26px 21px 20px 21px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100vw;
  max-width: 100vw;
  transition: transform 0.38s, opacity 0.16s;
}
@media (min-width: 700px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 80px 14px 80px;
  }
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #1E3269;
}
.cookie-banner .cookie-controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button, .cookie-banner .cta, .cookie-modal .cta {
  padding: 10px 22px;
  border-radius: 8px;
  background: #198F87;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.18s, color 0.14s;
}
.cookie-banner button.reject {
  background: #E2E7F1;
  color: #1E3269;
  border: 1px solid #CED6E2;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #e6f1ff;
  color: #17605A;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #198F87;
  border: 1px solid #198F87;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #F3F4F7;
  color: #17605A;
  border-color: #17605A;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,50,105,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1330;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  max-width: 410px;
  width: 90vw;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(30,50,105,0.23);
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  color: #1E3269;
}
.cookie-modal h3 {
  color: #1E3269;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #198F87;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #198F87;
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  accent-color: #17605A;
  width: 24px;
  height: 24px;
}
.cookie-modal .mandatory {
  color: #757575;
  font-size: 0.95em;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* ======================
   ANIMATION UTILITIES
   ====================== */
.fade-in {
  animation: fadein 0.22s cubic-bezier(.61,-0.25,.33,1.35);
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.slideY-in {
  animation: slideYin 0.32s cubic-bezier(.61,-0.25,.33,1.35);
}
@keyframes slideYin {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.slideX-menu-in {
  animation: slideXin 0.7s cubic-bezier(.55,-0.6,.43,1.45);
}
@keyframes slideXin {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===============
ACCESSIBILITY FOCUS
=============== */
a, button, input, textarea {
  outline: none;
}
a:focus, button:focus, .cta:focus, input:focus, textarea:focus {
  outline: 2px solid #198F87;
  outline-offset: 2px;
}

/* ===============
SHADOWS & ELEVATION
=============== */
.elevation-1 { box-shadow: 0 2px 8px rgba(30,50,105,0.05); }
.elevation-2 { box-shadow: 0 4px 18px rgba(30,50,105,0.11); }

/* ===============
UTILITY SPACING
=============== */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 20px !important; }
.mt-4 { margin-top: 16px !important; }
.pt-1 { padding-top: 8px !important; }
.pt-2 { padding-top: 12px !important; }
.pb-2 { padding-bottom: 12px !important; }
.gap-20 { gap: 20px !important; }

/* ===============
FORMAL LOOK: HR, BORDER, LISTS
=============== */
hr {
  border: none;
  border-bottom: 1px solid #ddeaf6;
  margin: 28px 0;
}
ul li::before {
  content: '\2022';
  color: #198F87;
  font-weight: bold;
  display: inline-block; 
  width: 1.2em;
  margin-left: -1.2em;
}
ul li strong {
  color: #17605A;
}

/* ===============
HIDE/SHOW UTILITIES
=============== */
.hide { display: none !important; }
.show-flex { display: flex !important; }

/* =======================
  END CSS
======================= */
