/* =========================
   CSS RESET & BASELINE
========================= */
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FAFAFA;
  color: #222323;
  font-family: 'Source Serif Pro', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #195CB2;
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}
a:hover, a:focus {
  color: #163b61;
  text-decoration: none;
}

/* =========================
   TYPOGRAPHY
========================= */
:root {
  --color-primary: #195CB2;
  --color-primary-dark: #133f7e;
  --color-secondary: #6BC692;
  --color-secondary-dark: #479779;
  --color-accent: #F5F7FB;
  --color-dark: #222323;
  --color-light: #FAFAFA;
  --font-display: 'Montserrat', 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif Pro', Georgia, 'Times New Roman', Times, serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, ul, ol, address, li {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--color-dark);
  margin-bottom: 14px;
  font-weight: 400;
}
strong {
  font-weight: 600;
  color: #222323;
}
ul, ol {
  list-style-position: outside;
  margin-left: 1.5em;
}

/* =========================
   CONTAINERS & LAYOUTS
========================= */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(25,92,178,0.03);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(25,92,178,0.05);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
  border: 1px solid #EBEEF4;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(25,92,178,0.10);
}

/* Cards, grids, etc. */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 6px rgba(25,92,178,0.04);
  padding: 26px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 384px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #EBEEF4;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 32px rgba(25,92,178,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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(25,92,178,0.06);
  color: #222323;
  border-left: 6px solid var(--color-secondary);
}
.testimonial-card p {
  font-style: italic;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: #29303B;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  align-self: flex-end;
}

/* Buttons and CTAs */
.cta-primary, .button-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .03em;
  padding: 11px 34px;
  border-radius: 32px;
  border: none;
  outline: none;
  box-shadow: 0 2px 9px rgba(25,92,178,0.06);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  margin-right: 16px;
  text-decoration: none;
  margin-bottom: 8px;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus, .button-primary:hover, .button-primary:focus {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 18px rgba(25,92,178,0.12);
  color: #fff;
  transform: translateY(-1px) scale(1.02);
}
.button-secondary {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 25px;
  border-radius: 31px;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(107,198,146,0.07);
  transition: background 0.16s, box-shadow 0.16s, transform 0.13s;
  cursor: pointer;
  margin-right: 12px;
  font-size: 1.0625rem;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-secondary-dark);
  transform: translateY(-1px) scale(1.02);
}
.button-light {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  padding: 9px 25px;
  border-radius: 31px;
  border: 1px solid #c0c6d1;
  box-shadow: 0 1px 4px rgba(25,92,178,0.05);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  margin-right: 8px;
}
.button-light:hover, .button-light:focus {
  background: #F5F7FB;
  color: var(--color-primary-dark);
}


/* =========================
   HEADER & NAVIGATION
========================= */
header {
  background: #fff;
  box-shadow: 0 0.5px 10px rgba(25,92,178,0.04);
  position: relative;
  z-index: 998;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.desktop-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color 0.16s, background-color 0.16s;
}
.desktop-nav a.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
}
.desktop-nav a.cta-primary:hover {
  background: var(--color-secondary-dark);
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #f5f7fb;
  color: var(--color-primary-dark);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  transition: background .18s;
  z-index: 1002;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary-dark);
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,35,35,0.87);
  z-index: 13000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.7,.2,.15,.92), opacity 0.35s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 32px 32px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 13010;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 8px;
  gap: 4px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 600;
  text-decoration: none;
  padding: 17px 0 17px 16px;
  border-radius: 6px;
  width: 85%;
  margin-bottom: 2px;
  display: block;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav a.cta-primary,
.mobile-nav a.cta-primary:hover,
.mobile-nav a.cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
}

/* =========================
   HERO STYLES
========================= */
.hero {
  background: linear-gradient(135deg, #F5F7FB 82%, #E3EDF6 100%);
  padding: 48px 0 48px 0;
  margin-bottom: 36px;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 800;
}
.hero p {
  font-size: 1.19rem;
  margin-bottom: 18px;
  color: #1b2330;
  max-width: 630px;
}
.hero .cta-primary {
  margin-top: 12px;
  font-size: 1.19rem;
}

/* =========================
   FOOTER STYLES
========================= */
footer {
  background: #fff;
  border-top: 2px solid #EBEEF4;
  padding: 28px 0;
  box-shadow: 0 -1.5px 6px rgba(25, 92, 178, 0.04);
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  padding: 4px 10px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
footer address {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #47515d;
  font-style: normal;
  margin-bottom: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
footer address img {
  display: inline-block;
  margin-right: 7px;
  vertical-align: middle;
}
footer p {
  font-family: var(--font-body);
  color: #6F7A87;
  font-size: .95rem;
  margin-bottom: 0;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1032px) {
  .container {
    max-width: 95vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    padding: 0;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 40px;
  }
  .feature-grid,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 98%;
    max-width: 99%;
  }
  .hero {
    padding: 30px 0 30px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p,
  .hero .cta-primary {
    font-size: 1rem;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    padding: 0 5px;
    gap: 13px;
  }
  footer nav {
    gap: 12px;
    flex-wrap: wrap;
  }
  .testimonial-card {
    padding: 14px 9px 13px 13px;
    border-left-width: 5px;
    gap: 14px;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.04rem; }
  .hero {
    padding-top: 18px; padding-bottom: 18px;
  }
  .card, .testimonial-card, .feature-grid > div {
    padding-left: 9px; padding-right: 9px;
  }
  .section {
    padding: 14px 3px;
    margin-bottom: 28px;
  }
  .container {
    padding: 0 1px;
  }
}

/* =========================
   MISC. ELEMENTS & UTILITY
========================= */
hr {
  border: none;
  border-top: 1.4px solid #E5E8EF;
  margin: 40px 0 24px 0;
}
blockquote {
  font-family: var(--font-body);
  font-style: italic;
  color: #444A5B;
  background: #F5F7FB;
  border-left: 5px solid var(--color-secondary);
  padding: 16px 18px;
  border-radius: 7px;
  margin-bottom: 20px;
}

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

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #192228;
  border-top: 2px solid #EBEEF4;
  box-shadow: 0 -2px 18px rgba(25,92,178,0.08);
  z-index: 15000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 7vw 20px 7vw;
  font-family: var(--font-body);
  font-size: 1.09rem;
  opacity: 1;
  visibility: visible;
  animation: ccbanner-in 550ms cubic-bezier(.7,.15,.15,1.05) forwards;
}
@keyframes ccbanner-in {
  from { transform: translateY(100%); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 2 1 340px;
  min-width: 140px;
  max-width: 570px;
}
.cookie-banner .cookie-buttons {
  flex: 1 1 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 165px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 20px;
  padding: 8px 30px;
  margin-right: 4px;
  margin-bottom: 2px;
  transition: background .20s, color .17s, box-shadow .2s;
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--color-primary-dark);
}
.cookie-banner .cookie-reject {
  background: var(--color-light);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-banner .cookie-reject:hover {
  background: #F5F7FB;
  color: var(--color-primary-dark);
}
.cookie-banner .cookie-settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-secondary-dark);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 2vw 12px 2vw;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 6px;
    min-width: 0;
    margin-top: 3px;
  }
}

/* --- Cookie Settings Modal --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 16000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,35,40,0.46);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  min-width: 330px;
  max-width: 94vw;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(25,92,178,0.14);
  padding: 38px 30px 30px 30px;
  font-family: var(--font-body);
  color: #253a47;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: showModal 0.5s cubic-bezier(.7,.2,.2,1) forwards;
  position: relative;
}
@keyframes showModal {
  from { transform: scale(0.92) translateY(40px); opacity:0 }
  to   { transform: scale(1) translateY(0); opacity:1 }
}
.cookie-modal h3 {
  margin-bottom: 6px;
  font-size: 1.19rem;
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  min-width: 122px;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}
.cookie-category .category-desc {
  color: #64707f;
  font-size: .97rem;
  margin-left: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 17px;
  top: 17px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .modal-close:focus,
.cookie-modal .modal-close:hover {
  color: var(--color-secondary);
}

@media (max-width: 460px) {
  .cookie-modal {
    padding: 19px 4vw 14px 5vw;
    min-width: 115px;
  }
}


/* =========================
   MISCELLANEOUS UTILITIES
========================= */
.muted {
  color: #717883 !important;
}
.bg-accent {
  background: #F5F7FB;
}
.rounded {
  border-radius: 10px;
}
.shadow {
  box-shadow: 0 2px 9px rgba(25,92,178,0.11) !important;
}

/* Hide visually but remain accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =========================
   CLASSIC, ELEGANT EFFECTS
========================= */
.section {
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(25,92,178,0.03);
  background: #F5F7FB;
}
.card, .feature-grid > div, .testimonial-card {
  border-radius: 16px;
}

/* Focus styling for accessibility */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 11px;
  background: #F5F7FB;
}
::-webkit-scrollbar-thumb {
  background: #E3EDF6;
  border-radius: 7px;
}

/* ================
   PRINT
================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
  body {background: #fff; color: #000;}
  .section,.card,.testimonial-card {box-shadow: none; border: none;}
}

