/* =========================
   CSS RESET & NORMALIZATION
   ========================= */
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:focus-within { scroll-behavior: smooth; }

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

/* Import fonts only if not loaded via HTML */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');


/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #154766;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}
p, li, blockquote, cite {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #21415B;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.125rem;
  color: #175271;
  opacity: 0.94;
  max-width: 600px;
}
strong { font-weight: 700; }
em { font-style: italic; }

blockquote {
  font-style: italic;
  color: #175271;
  border-left: 4px solid #175271;
  padding-left: 18px;
  margin-bottom: 12px;
  margin-top: 6px;
}
cite {
  display: block;
  font-style: normal;
  color: #175271;
  font-weight: 600;
  font-size: 0.96em;
  padding-left: 8px;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
  padding-left: 16px;
}
li {
  margin-bottom: 8px;
  list-style: disc inside;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(23,82,113,0.04);
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #E6F0F7;
  text-align: left;
  font-size: 1rem;
  color: #154766;
}
th {
  background: #E6F0F7;
  font-size: 1.07rem;
}
tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  p, li, th, td { font-size: 0.98rem; }
}


/* =========================
   LAYOUT & CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  margin-top: 12px;
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(23,82,113,0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 20px 22px;
  min-width: 270px;
  max-width: 100%;
  transition: box-shadow 0.18s linear, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 16px 8px rgba(23,82,113,0.12);
  transform: translateY(-3px) scale(1.012);
}

.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;
}

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


/* =========================
   GENERAL BUTTONS & CTA
   ========================= */
.cta, .primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 7px;
  padding: 14px 30px;
  background: #175271;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(23,82,113,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.13s, box-shadow 0.22s;
  position: relative;
  outline: none;
}
.cta.primary {
  background: #F19B41;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(23,82,113,0.08);
}
.cta:hover, .cta:focus {
  background: #154766;
  color: #fff;
  transform: translateY(-2px) scale(1.021);
  box-shadow: 0 6px 18px 0 rgba(23,82,113,0.15);
}
.cta.primary:hover, .cta.primary:focus {
  background: #D68100;
  color: #fff;
}

button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 6px;
  border: none;
  background: #175271;
  color: #fff;
  cursor: pointer;
  transition: background 0.22s, transform 0.12s;
}
button:hover, button:focus {
  background: #154766;
  outline: 2px solid #F3A75B;
  outline-offset: 2px;
}

/* =========================
   NAVIGATION
   ========================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,82,113,0.04);
  position: sticky;
  top: 0;
  z-index: 1111;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
}
header nav a {
  color: #175271;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 6px;
  transition: background 0.20s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #E6F0F7;
  color: #154766;
}
header nav img {
  max-height: 38px;
  margin-right: 16px;
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  padding: 10px 14px;
  font-size: 1.4rem;
  background: none;
  color: #175271;
  border: 2px solid #175271;
  border-radius: 8px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.20s, color 0.13s, border 0.20s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E6F0F7;
  color: #154766;
  border-color: #F3A75B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #175271;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  box-shadow: -2px 0 24px rgba(23,82,113,0.07);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 18px 24px 0 0;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F19B41;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 32px 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(230,240,247,0.14);
  transition: color 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F19B41;
  background: none;
}

@media (max-width: 1024px) {
  header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* =========================
   FOOTER
   ========================= */
footer {
  background: #154766;
  color: #fff;
  padding: 20px 0 0 0;
  box-shadow: 0 -2px 10px rgba(23,82,113,0.03);
  margin-top: 52px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  opacity: 0.92;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.20s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #E6F0F7;
  color: #154766;
}
footer .brand-address {
  text-align: center;
  padding: 14px 8px 18px 8px;
}
footer small {
  color: #B3C4D2;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}


/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 5px solid #F3A75B;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(23,82,113,0.06);
  flex-direction: column;
  max-width: 740px;
  width: 100%;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 2px rgba(23,82,113,0.14);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #154766;
  margin: 0;
  border: none;
  padding: 0 0 0 0;
}
.testimonial-card cite {
  color: #175271;
  opacity: 0.93;
  font-size: 0.97rem;
  font-style: normal;
}

@media (min-width: 700px) {
  .testimonial-card {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
}


/* =========================
   TRUST BADGES & ICONS
   ========================= */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 11px;
}
.trust-badges img {
  height: 40px;
  width: auto;
  background: #E6F0F7;
  border-radius: 7px;
  padding: 6px;
  box-shadow: 0 1px 4px 0 rgba(23,82,113,0.12);
  transition: transform 0.15s;
}
.trust-badges img:hover {
  transform: scale(1.10) rotate(-4deg);
  background: #F3A75B12;
}


/* =========================
   RESPONSIVE FLEX ADJUSTMENTS
   ========================= */
@media (max-width: 900px) {
  .text-image-section { gap: 16px; }
  .content-grid { gap: 12px; }
  .feature-item { gap: 10px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .content-wrapper { gap: 14px; }
  .text-section { padding: 0 2px; }
  .card-container { gap: 14px; }
  .card { padding: 15px 9px 13px 13px; }
  .testimonial-card { padding: 12px; gap: 12px; }
  .trust-badges { gap: 10px; }
  .mobile-menu-toggle {
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 500px) {
  .testimonial-card { padding: 8px; border-left-width: 3px; }
}


/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #154766;
  color: #fff;
  width: 100vw;
  z-index: 8000;
  box-shadow: 0 -1px 22px 0 rgba(23,82,113,0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 14px 20px 14px;
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1), opacity 0.22s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .banner-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  font-size: 1.01rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
  margin-right: 0;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-right: 0;
  min-width: 120px;
  transition: background 0.20s;
}
.cookie-banner .accept {
  background: #F19B41;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #D68100;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #154766;
  border: 2px solid #F3A75B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E6F0F7;
  color: #175271;
}
.cookie-banner .settings {
  background: transparent;
  color: #F19B41;
  border: 2px solid #F19B41;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F19B41;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4px;
  }
  .cookie-banner .banner-content {
    flex-direction: column;
    gap: 12px;
  }
  .cookie-banner .cookie-btns {
    margin-left: 0;
    gap: 9px;
  }
}


/* =========================
   COOKIE MODAL
   ========================= */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21, 71, 102, 0.52);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 90%) scale(0.97);
  background: #fff;
  color: #154766;
  box-shadow: 0 8px 34px 0 rgba(23,82,113,0.22);
  border-radius: 14px;
  z-index: 10000;
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  min-height: 180px;
  max-width: 420px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.36s cubic-bezier(0.77,0,0.18,1);
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}
.cookie-modal h2 {
  margin-top: 0; margin-bottom: 18px;
  color: #154766;
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #175271;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 112;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
  color: #F19B41;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.cookie-modal label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #175271;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F19B41;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cookie-modal .always-on {
  color: #B3C4D2;
  font-size: 0.97em;
  font-style: italic;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 90px;
  font-size: 1.01rem;
  border-radius: 6px;
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: 0; max-width: 99vw;
    padding: 18px 8px 18px 12px;
  }
}


/* =========================
   FORMS (input, textarea)
   ========================= */
input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid #BCD3E3;
  background: #fff;
  color: #154766;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #175271;
  outline: 2px solid #F19B41;
}
label {
  font-size: 1.03rem;
  color: #154766;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 7px;
  font-weight: 600;
}


/* =========================
   MISCELLANEOUS
   ========================= */
a {
  color: #175271;
  text-decoration: underline;
  transition: color 0.16s;
}
a:hover, a:focus { color: #F19B41; }

::-webkit-selection { background: #154766; color: #fff; }
::selection { background: #154766; color: #fff; }

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

hr {
  border: none;
  border-top: 1px solid #E6F0F7;
  margin: 32px 0 20px 0;
}

/* Ensure all flex layouts only use flexbox (NO grid, columns, break-inside) */
