/* ========================= CSS RESET & NORMALIZE ========================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #EDE9E3 0%, #CCE2F3 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C2A33;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #225374;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3181a6;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.25em;
}
li + li {
  margin-top: 0.6em;
}
blockquote {
  font-style: italic;
  padding-left: 1.2em;
  border-left: 3px solid #225374;
  color: #1C2A33;
  margin-bottom: 16px;
}
/* ========================= TYPOGRAPHY ========================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1C2A33;
  letter-spacing: -0.02em;
  line-height: 1.16;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 18px;
  color: #225374;
  line-height: 1.21;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1C2A33;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #225374;
  margin-bottom: 8px;
}
p, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1C2A33;
  margin-bottom: 20px;
}
strong {
  font-weight: bold;
}
/* ========================= CONTAINERS & WRAPPERS ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}
/* Gradient cards/sections (hero, cta, testimonials etc) */
.hero-section, .cta-section {
  background: linear-gradient(100deg, #225374 0%, #3181a6 100%);
  color: #fff;
  border-radius: 24px;
  padding-top: 54px;
  padding-bottom: 54px;
  margin-bottom: 60px;
}
.hero-section .content-wrapper, .cta-section .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 22px;
}
.hero-section h1, .cta-section h2, .cta-section p { color: #fff; }
.hero-section p, .cta-section p { color: #f2f6fa; }


/* ========================= FLEXBOX LAYOUTS ========================= */
/* --- Feature/Grid layouts --- */
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid > div, .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,83,116,0.10);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  padding: 26px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 24px rgba(34,83,116,0.14);
  transform: translateY(-3px) scale(1.025);
}
.card-container { gap: 24px; }
.card { position: relative; }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 26px;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(34,83,116,0.09);
  border: 1px solid #CCE2F3;
  transition: box-shadow 0.18s, border 0.18s;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0 3px 32px rgba(34,83,116,0.16);
  border-color: #225374;
}
.testimonial-card blockquote {
  color: #1C2A33;
  font-size: 1.12rem;
  line-height: 1.52;
  margin-bottom: 8px;
  border-left: 4px solid #225374;
}
.testimonial-meta {
  color: #225374;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-rating-overview {
  background: #EDE9E3;
  border-radius: 14px;
  padding: 18px 20px;
  color: #1C2A33;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.135rem;
  text-align: left;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-indicators {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  margin-bottom: 16px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  font-size: 1.04rem;
}
/* ========================= BUTTONS & INTERACTIVE ELEMENTS ========================= */
.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  background: linear-gradient(90deg, #225374 0%, #3181a6 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 13px 36px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.24s, transform 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(31,67,94,0.08);
  letter-spacing: 0.04em;
}
.cta:hover, button.cta:hover,
.cta:focus, button.cta:focus {
  background: linear-gradient(90deg, #3181a6 0%, #225374 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 28px rgba(31,67,94,0.16);
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
button:focus {
  outline: 2px solid #225374;
  outline-offset: 2px;
}

/* ========================= HEADER & NAVIGATION ========================= */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(34,83,116,0.08);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}
header img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C2A33;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #EDE9E3;
  color: #225374;
}
header nav a.cta {
  margin-left: 18px;
}
.mobile-menu-toggle {
  display: none;
  background: #225374;
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  z-index: 102;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: #3181a6;
  color: #fff;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,42,51, 0.95);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  transition: transform 0.32s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  margin: 24px 30px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: #EDE9E3;
}
.mobile-nav {
  width: 100%;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  width: 80%;
  text-align: center;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #225374;
  color: #fff;
}

/* ========================= FOOTER ========================= */
footer {
  background: #1C2A33;
  color: #fff;
  padding: 44px 0 0 0;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 250px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a, .footer-legal a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.16s, opacity 0.16s;
  text-decoration: none;
  margin-bottom: 4px;
}
footer nav a:hover, .footer-legal a:hover {
  color: #CCE2F3;
  opacity: 1;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.footer-social a img {
  height: 26px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-social a img:hover {
  opacity: 1;
}
.footer-copy {
  width: 100%;
  text-align: center;
  color: #EDE9E3;
  font-size: 0.93rem;
  margin: 38px 0 0 0;
  padding-bottom: 24px;
}

/* ========================= COOKIE CONSENT BANNER ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid #225374;
  box-shadow: 0 -3px 24px rgba(28,42,51,0.12);
  z-index: 1200;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  transition: transform 0.4s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #225374;
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  margin-bottom: 2px;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #225374 0%, #3181a6 100%);
  color: #fff;
  box-shadow: 0 2px 14px rgba(31,67,94,0.09);
}
.cookie-banner button.accept:hover { background: #3181a6; }
.cookie-banner button.reject {
  background: #EDE9E3;
  color: #1C2A33;
}
.cookie-banner button.reject:hover { background: #fff; color: #225374; }
.cookie-banner button.settings {
  background: #fff;
  color: #225374;
  border: 1.5px solid #225374;
}
.cookie-banner button.settings:hover {
  background: #225374;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(28,42,51, 0.84);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.31s;
}
.cookie-modal.open { display: flex; }
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 92%;
  padding: 38px 32px 32px 32px;
  position: relative;
  box-shadow: 0 6px 48px rgba(34,83,116,0.16);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 7px;
  color: #225374;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: #225374;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 11px 0;
  border-bottom: 1px solid #EDE9E3;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C2A33;
  font-size: 1rem;
}
/* Custom switch style */
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #EDE9E3;
  transition: background 0.18s;
  border-radius: 24px;
}
.cookie-modal .switch input:checked + .slider {
  background: #225374;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.14s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
/* ========================= RESPONSIVE DESIGN ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .card {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 48%;
  }
  .footer-brand {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .hero-section, .cta-section {
    padding: 32px 8px;
    margin-bottom: 34px;
    border-radius: 16px;
  }
  .footer-brand,
  .footer-legal,
  .footer-social {
    margin-top: 20px;
    align-items: flex-start;
  }
  footer .container {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .content-grid, .feature-grid, .card-container, .trust-indicators {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.26rem; }
  .testimonial-card { padding: 16px 12px; }
  .footer-brand img { height: 28px; }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 6px 14px 6px;
  }
  .cookie-banner p {
    font-size: 0.98rem;
  }
  footer .container { padding-bottom: 7px; }
}
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex !important; }
}
/* Force flexbox for key spacing for selectors given */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.section { margin-bottom: 60px; padding: 40px 20px; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .content-grid, .card-container, .feature-grid { flex-direction: column; gap: 18px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
/* ========================= VISUAL ENHANCEMENTS ========================= */
.section, .content-wrapper, .feature-grid > div, .testimonial-card, .cta-section, .hero-section {
  box-sizing: border-box;
}
.feature-grid > div img, .testimonial-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}

/* Micro-interactions for all buttons */
button, .cta, .cookie-banner button {
  transition: background 0.24s, color 0.22s, transform 0.18s, box-shadow 0.18s;
}
button:active, .cta:active, .cookie-banner button:active {
  transform: scale(0.97);
}

/* ========================= UTILITY CLASSES ========================= */
.hide { display: none !important; }
.flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }

::-webkit-input-placeholder { color: #22537499; }
::-moz-placeholder { color: #22537499; }
:-ms-input-placeholder { color: #22537499; }
::placeholder { color: #22537499; }

/* Accessibility improvement for high contrast */
@media (prefers-contrast: more) {
  .hero-section, .cta-section { color: #fff !important; background: #225374 !important; }
  .cta, button.cta { background: #225374 !important; color: #fff !important; }
}
