/* ==================================================
   CSS Reset & Base Styles
   ================================================== */
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;
}
article, aside, details, figcaption, figure,  footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F6F9FB;
  color: #233562;
  font-family: 'Open Sans', Georgia, Times, serif;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #233562;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #375992;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1em;
  padding-left: 0;
}
li {
  margin-bottom: 0.3em;
}
strong, b {
  font-weight: 700;
}
button, .cta-button {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 600;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #233562;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 13px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  color: #2e3a57;
  margin-bottom: 1em;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #6A8CB8;
  margin: 0 0 12px 0;
  padding: 12px 20px 12px 26px;
  background: #F6F9FB;
  color: #233562;
}
cite {
  display: block;
  font-style: normal;
  font-size: 1rem;
  color: #6A8CB8;
  margin-left: 12px;
}

/* ==================================================
   Container & Layout
   ================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(35, 53, 98, 0.07), 0 1.5px 3px rgba(106,140,184,0.04);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,53,98,0.10), 0 4px 8px rgba(106,140,184,0.08);
  transform: translateY(-3px) scale(1.015);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px rgba(35,53,98,0.06);
  padding: 20px 24px 18px 20px;
  margin-bottom: 24px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(35,53,98,0.12);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  gap: 15px;
  padding: 24px 20px 20px 20px;
  min-width: 240px;
  max-width: 330px;
  flex: 1 1 260px;
  box-shadow: 0 1.5px 6px rgba(35,53,98,0.045);
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
}
.feature-item h3 {
  font-size: 1.15rem;
}
.feature-item span {
  color: #6A8CB8;
  font-size: 1rem;
  font-style: italic;
  margin-top: auto;
  font-family: 'Open Sans', Georgia, Times, serif;
}
.feature-item:hover {
  box-shadow: 0 8px 18px rgba(35,53,98,0.11);
  transform: translateY(-2px) scale(1.012);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 12px;
}
.cta-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0 16px 0;
}

/* ==================================================
   Navigation & Header
   ================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,53,98,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 68px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 68px;
  width: 100%;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 10px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
  color: #233562;
  padding: 6px 4px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.14s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f0f2f7;
  color: #4c71a5;
  text-decoration: underline;
}
.cta-button {
  background: #233562;
  color: #fff;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s, box-shadow 0.16s, transform 0.12s;
  box-shadow: 0 2px 7px rgba(35,53,98,0.11);
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #6A8CB8;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(35,53,98,0.18);
  transform: translateY(-2px) scale(1.015);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #233562;
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
}


/* ==================================================
   Mobile Menu & Overlay
   ================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,53,98,0.96);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.32s cubic-bezier(.45,0,.55,1.17), transform 0.36s cubic-bezier(.45,0,.55,1.17);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 26px 20px 8px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6A8CB8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  align-items: flex-start;
  padding: 44px 0 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.3rem;
  text-decoration: none;
  padding: 12px 0 12px 2px;
  border-radius: 5px;
  transition: background 0.16s, color 0.12s;
  width: 90%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(106,140,184,0.24);
  color: #dce7f6;
}


/* ==================================================
   Footer Styles
   ================================================== */
footer {
  background: #233562;
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: 72px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #d5def3;
  text-decoration: none;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer p {
  color: #c5d6f2;
  font-size: 0.95rem;
  margin-bottom: 0;
  margin-top: 2px;
}


/* ==================================================
   Cookie Consent Banner & Modal
   ================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 14px rgba(35,53,98,0.13);
  border-top: 2.5px solid #6A8CB8;
  padding: 18px 20px 14px 20px;
  z-index: 160;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(.54,.19,.55,1.21), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
  font-family: 'Open Sans', Georgia, Times, serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(160px);
}
.cookie-banner p {
  color: #233562;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 3px;
}
.cookie-buttons button {
  background: #6A8CB8;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 7px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  font-weight: 500;
  transition: background 0.19s, color 0.16s;
  cursor: pointer;
  margin-right: 3px;
}
.cookie-buttons button:last-child {
  background: #e9edf4;
  color: #233562;
  border: 1px solid #6A8CB8;
  margin-right: 0;
}
.cookie-buttons button:focus, .cookie-buttons button:hover {
  background: #233562;
  color: #fff;
}
.cookie-buttons button:last-child:hover, .cookie-buttons button:last-child:focus {
  background: #6A8CB8;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,53,98,0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 170;
  transition: opacity 0.25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  min-width: 320px;
  max-width: 98vw;
  border-radius: 14px;
  box-shadow: 0 7px 32px rgba(35,53,98,0.21);
  padding: 32px 26px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal h3 {
  margin-bottom: 14px;
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #233562;
  font-size: 1.18rem;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9edf4;
}
.cookie-cat-row:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-family: 'Open Sans', Georgia, Times, serif;
  color: #233562;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #6A8CB8;
  width: 19px;
  height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal button {
  background: #233562;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Montserrat', Georgia, Times, serif;
}
.cookie-modal button:last-child {
  background: #e9edf4;
  color: #233562;
  border: 1px solid #6A8CB8;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #6A8CB8;
  color: #fff;
}
.cookie-modal button:last-child:focus, .cookie-modal button:last-child:hover {
  background: #233562;
  color: #fff;
}


/* ==================================================
   Details + Accordion (FAQ)
   ================================================== */
details {
  margin-bottom: 18px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #e9edf4;
  box-shadow: 0 1.5px 7px rgba(35,53,98,0.07);
  padding: 12px 17px;
}
details[open] {
  box-shadow: 0 3.5px 14px rgba(35,53,98,0.10);
}
details summary {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #233562;
  cursor: pointer;
}
details summary:hover {
  color: #6A8CB8;
}
details p {
  margin-top: 10px;
  font-size: 1rem;
  color: #2e3a57;
}

/* ==================================================
   Responsive & Media Queries
   ================================================== */
@media (max-width: 1050px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 180px;
    flex: 1 1 180px;
    padding: 18px 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    font-size: 0.98rem;
    padding: 9px 17px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
    font-size: 2rem;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 44px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card, .feature-item, .card {
    max-width: 100%;
    width: 100%;
  }
  .content-wrapper, .cta-summary {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .feature-item, .testimonial-card {
    padding: 14px 8px;
  }
  .cta-button {
    font-size: 0.95rem;
    padding: 8px 10px;
  }
}

/* ==================================================
   Utility & Misc Styles
   ================================================== */
body {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 8px;
  background: #e9edf4;
}
::-webkit-scrollbar-thumb {
  background: #d2dbe8;
  border-radius: 4px;
}

.text-section ul, .text-section ol {
  margin-bottom: 1em;
  margin-left: 1.2em;
}
.text-section li {
  margin-bottom: 0.34em;
  font-size: 1rem;
}

/* Simple focus indicator for accessibility */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #233562;
  outline-offset: 2px;
}

/* Micro-interactions & Transitions */
button, .cta-button, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.15s;
}

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