/* ========================
   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;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  background: #F7F6F2;
  color: #22314D;
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #22314D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #57A2A3;
  outline-offset: 3px;
}

/* ======================
   TYPOGRAPHY & FONTS
====================== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr7Hw.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular'), url('https://fonts.gstatic.com/s/opensans/v27/mem8YaGs126MiZpBA-UFVZ0e.ttf') format('truetype');
  font-display: swap;
}
h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #22314D;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #22314D;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.20;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #22314D;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #22314D;
}
p, ul, ol, li {
  font-family: 'Open Sans', Georgia, serif;
  color: #2c384f;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}
.text-section h3 {
  margin-top: 16px;
  margin-bottom: 10px;
}
.text-section ul {
  margin-bottom: 12px;
  list-style: disc inside;
}
.text-section ul li {
  margin-bottom: 8px;
  list-style: disc inside;
}

/* ===============================
   BRAND COLORS & UTILITY CLASSES
=============================== */
:root {
  --brand-primary: #22314D;
  --brand-secondary: #57A2A3;
  --brand-accent: #EFEFEF;
  --gray-bg: #F7F6F2;
  --text-dark: #22314D;
  --text-body: #2c384f;
  --card-bg: #fff;
  --border-color: #E5E6EC;
  --shadow-card: 0 4px 18px rgba(34,49,77,0.08);
}
.bg-primary {
  background: var(--brand-primary) !important;
  color: #fff !important;
}
.bg-secondary {
  background: var(--brand-secondary) !important;
  color: #fff !important;
}
.text-accent {
  color: var(--brand-secondary) !important;
}

/* ============================
   LAYOUT CONTAINER & SPACING
============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(34,49,77,0.13);
}
.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;
  padding: 20px;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(87,162,163,0.15);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: box-shadow 0.25s, border-color 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 26px rgba(34,49,77,0.11);
  border-color: var(--brand-secondary);
}
.feature-item img {
  max-width: 48px;
  max-height: 48px;
  margin-bottom: 2px;
}
.feature-item .price {
  font-size: 1.1rem;
  color: var(--brand-secondary);
  font-weight: 700;
  margin-top: 7px;
}
.usp-list {
  margin: 32px 0 24px 0;
}
.usp-list ul {
  margin-bottom: 0;
  padding-left: 22px;
}
.usp-list ul li::marker {
  color: var(--brand-secondary);
}

/* ============================
   HEADER & NAVIGATION
============================ */
header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 18px 0;
}
.navigation a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.05rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.22s;
  padding: 6px 2px;
  border-radius: 3px;
  position: relative;
}
.navigation a:hover,
.navigation a:focus {
  color: var(--brand-secondary);
  background: rgba(34,49,77,0.07);
}
.navigation img {
  height: 38px;
  width: auto;
  margin-right: 14px;
  margin-left: 0px;
}
.cta-button {
  background: var(--brand-secondary);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(87,162,163,0.09);
  transition: background 0.21s, box-shadow 0.17s;
  margin-left: 10px;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #307879;
  box-shadow: 0 4px 18px rgba(87,162,163,0.14);
}

/* Hamburger/Toggle for mobile menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  z-index: 1202;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(87,162,163,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #307879;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,77,0.97);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.31,.85,.57,1.42) 0s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin: 25px 0 10px 24px;
  cursor: pointer;
  z-index: 1203;
  transition: color 0.21s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 18px 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff !important;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 12px 3px;
  border-radius: 3px;
  transition: background 0.14s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(87,162,163,0.16);
  color: var(--brand-secondary) !important;
}

/* Hide main nav on small screens */
@media (max-width: 990px) {
  .navigation {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================
   HERO SECTION
================= */
.hero {
  background: linear-gradient(107deg, #EFEFEF 80%, #d2e3e3 100%);
  padding: 64px 0 52px 0;
}
.hero h1 {
  font-size: 2.65rem;
  color: var(--brand-primary);
  margin-bottom: 13px;
}
.hero p {
  font-size: 1.2rem;
  color: #384868;
  margin-bottom: 30px;
}
.hero .cta-button {
  margin-top: 18px;
}

/* ================
   FEATURE BLOCKS
================= */
.features, .services {
  background: var(--gray-bg);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.feature-grid .feature-item {
  flex: 1 1 230px;
  max-width: 280px;
}

/* ================
   ABOUT SECTION
================= */
.about {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
  padding: 36px 0 !important;
}

.text-section p img,
.text-section p svg {
  width: 18px;
  height: 18px;
  vertical-align: text-top;
  margin-right: 6px;
  opacity: 0.76;
}
.text-section p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

/* ================
   TESTIMONIALS
================= */
.testimonials {
  background: var(--gray-bg);
  padding: 40px 0 !important;
}
.testimonials h2 {
  margin-bottom: 30px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Open Sans', Georgia, serif;
  color: #22314D;
  margin-bottom: 4px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #57A2A3;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
}

/* ================
   PRICING TABLE
================= */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 32px;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid #ececec;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table th {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #dce6ef;
}
.price-table td {
  color: #22314D;
  background: none;
  font-family: 'Open Sans', serif;
  font-size: 1rem;
}
.price-table tr:hover td {
  background: #f4f7fa;
}

/* ================
   FOOTER
================= */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 36px 0 18px 0;
}
footer .container {
  max-width: 1200px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 44px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}
footer nav a {
  color: #cde9ea;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.19s;
  padding: 3px 1px;
  letter-spacing: 0.01em;
  border-radius: 3px;
}
footer nav a:hover {
  color: var(--brand-secondary);
}
.footer-contact p {
  color: #e7eff3;
  font-size: 0.94rem;
  margin-bottom: 5px;
  font-family: 'Open Sans', Georgia, serif;
}

/* ======================
   LEGAL / INFO PAGES
====================== */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 40px 0 !important;
  margin-bottom: 48px;
}
.legal h1, .legal h2 {
  margin-bottom: 15px;
}
.legal .text-section h3 {
  font-size: 1.1rem;
  color: var(--brand-secondary);
}

/* =====================
   CONFIRMATION PAGE
===================== */
.confirmation {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 48px 0 60px 0 !important;
  margin-bottom: 42px;
}
.confirmation h1 {
  color: var(--brand-secondary);
  margin-bottom: 18px;
}
.confirmation p {
  font-size: 1.13rem;
  color: #22314D;
  margin-bottom: 20px;
}

/* =======================
   RESPONSIVE FLEX LAYOUTS
======================= */
@media (max-width: 1200px) {
  .feature-grid, .card-container, .content-grid, .content-wrapper, .footer .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 990px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid .feature-item {
    max-width: 100%;
    min-width: 180px;
  }
  .section, .about, .testimonials, .legal, .confirmation {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem;}
  h2 { font-size: 1.33rem;}
  .hero {
    padding: 36px 0 22px 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    width: 100%;
    min-width: 140px;
  }
  .about, .legal, .confirmation {
    padding: 16px 3px !important;
    border-radius: 7px;
  }
  .content-wrapper, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials {
    padding: 19px 0 !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 19px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 17px !important;
  }
  .pricing .content-wrapper {
    padding: 0;
  }
  .price-table th, .price-table td {
    padding: 12px 7px;
    font-size: 0.96rem;
  }
}
@media (max-width: 430px) {
  body {
    font-size: 15px;
  }
  .cta-button { font-size: 0.99rem; padding: 8px 15px; }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
}

/* =======================
   BUTTONS & INTERACTIONS
======================= */
button, .cta-button {
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.13s;
}
button:active, .cta-button:active {
  transform: scale(0.98);
}

/* Links as Button */
a.cta-button {
  display: inline-block;
  text-align: center;
}

/* Carousel/Scroller style for potential gallery or similar (future proof) */
.scroller {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  overflow-x: auto;
}

/* =======================
   COOKIE CONSENT BANNER
======================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #22314D;
  color: #fff;
  box-shadow: 0 -2px 28px rgba(34,49,77,0.11);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 19px 12px;
  gap: 26px;
  transition: transform 0.4s cubic-bezier(.31,.85,.57,1.42);
  font-family: 'Open Sans', Georgia, serif;
  font-size: 0.97rem;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
  margin-left: 16px;
}
.cookie-banner button {
  padding: 6px 18px;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 7px rgba(87,162,163,0.08);
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #307879;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #4b5b7c;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e7eff3;
}
.cookie-banner .settings {
  background: #57A2A3;
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #3c7778;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,49,77,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #22314D;
  border-radius: 12px;
  box-shadow: 0 8px 36px rgba(34,49,77,0.21);
  max-width: 400px;
  width: 92vw;
  padding: 32px 26px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Open Sans', Georgia, serif;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Georgia, serif;
  color: var(--brand-secondary);
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.99rem;
  color: #2c384f;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7fafd;
  padding: 9px 11px;
  border-radius: 6px;
  margin-bottom: 9px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--brand-secondary);
  font-size: 1.35rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-primary);
}

@media (max-width: 630px) {
  .cookie-modal {
    padding: 18px 7px;
    max-width: 95vw;
  }
  .cookie-modal h2 {
    font-size: 1rem;
  }
  .cookie-category {
    font-size: 0.96rem;
    padding: 6px 6px;
  }
}

/* =======================
   ACCESSIBILITY/FOCUS
======================= */
*:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* =======================
   VISUAL ENHANCEMENTS & EFFECTS
======================= */
.card, .feature-item, .testimonial-card, .about, .legal, .confirmation {
  transition: box-shadow 0.19s, border-color 0.23s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .about:hover, .legal:hover, .confirmation:hover {
  box-shadow: 0 8px 26px rgba(87,162,163,0.13);
}

/* List bullet color in .legal and .text-section */
.legal ul li::marker, .text-section ul li::marker, .usp-list ul li::marker {
  color: var(--brand-secondary);
}

/* ===========
   MISC
============ */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F6F2;
}
::-webkit-scrollbar-thumb {
  background: #d7e3ee;
  border-radius: 5px;
}

::selection {
  background: #b0e3e3;
  color: #22314D;
}

/* ================
   Z-INDEX LAYERS
================= */
header { z-index: 1002; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 2100; }

/* Prevent overlapping */
.section, .card, .feature-item, .testimonial-card, .about, .legal, .confirmation {
  margin-bottom: 20px !important;
}
/* Extra spacing for stacked cards/sections on mobile */
@media (max-width:520px) {
  .section, .card, .feature-item, .testimonial-card, .about, .legal, .confirmation {
    margin-bottom: 14px !important;
  }
}
