/* --------- 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 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F2F3F4;
  color: #154360;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a, button {
  color: inherit;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus {
  outline: 2px solid #2980B9;
  outline-offset: 2px;
}

/* ------------ BRAND FONTS ------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #154360;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #153954;
}
p, ul, ol {
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
  color: #154360;
}

.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  color: #2980B9;
  margin-bottom: 24px;
  font-weight: 600;
}

/* ----------- STRUCTURED LAYOUT ----------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(21,67,96, 0.03);
}

@media (max-width: 600px) {
  .section {
    margin-bottom: 32px;
    padding: 20px 6px;
  }
}

/* --------- FLEX PATTERNS & CARDS --------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(21,67,96,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card img {
  height: 48px;
  width: 48px;
  margin-bottom: 16px;
}

.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2F3F4;
  padding: 18px 16px;
  border-radius: 10px;
  min-width: 220px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.feature-grid li {
  background: #EFF5FA;
  border-radius: 10px;
  padding: 18px 16px 18px 52px;
  position: relative;
  min-width: 220px;
  min-height: 52px;
  color: #154360;
  display: flex;
  align-items: center;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(21,67,96,0.03);
  transition: background 0.2s;
}
.feature-grid li img {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 28px;
}
.feature-grid li:hover {
  background: #e4ecf5;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ----------- TESTIMONIALS -------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #EFF5FA;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(21,67,96,0.06);
  max-width: 600px;
  color: #154360;
  border-left: 5px solid #2980B9;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: #154360;
  margin: 0 0 6px 0;
}
.testimonial-card p {
  margin: 0;
  font-weight: 600;
  color: #2980B9;
}
.testimonial-card:hover {
  box-shadow: 0 6px 14px rgba(21,67,96,0.12);
  border-color: #154360;
}

/* ---------- CONTACT DETAILS & MAP ------- */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #154360;
  font-size: 1rem;
}
.contact-details li img {
  height: 22px;
  width: 22px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #E9F2FA;
  border-radius: 10px;
  padding: 20px;
  margin-top: 12px;
}

/* --------- SERVICE LIST & GENERAL UL ----- */
.service-list,
.faq-list,
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.service-list li,
.faq-list li,
.text-section ul li {
  background: #F2F3F4;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
}

/* ---------------- BUTTONS ----------------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  background: #154360;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(21,67,96,0.05);
  margin-top: 12px;
  cursor: pointer;
}
.cta-btn.primary {
  background: #154360;
  color: #fff;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #2980B9;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}
.cta-btn:active {
  background: #0e2f45;
  color: #fff;
}

footer .cta-btn,
.section .cta-btn:last-child {
  margin-bottom: 0;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(21,67,96,0.06);
  padding: 0;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 80px;
}
header a img {
  height: 54px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav.main-nav a {
  color: #154360;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #2980B9;
  border-bottom: 2px solid #2980B9;
}
header .cta-btn {
  margin: 0 0 0 24px;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 14px;
  }
  nav.main-nav {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
  }
  nav.main-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  header .cta-btn {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* -- MOBILE NAVIGATION: Hamburger & Overlay -- */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  width: 48px;
  height: 48px;
  background: #154360;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(21,67,96,0.18);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #2980B9;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,67,96,0.97);
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  margin: 28px 28px 0 0;
  cursor: pointer;
  z-index: 112;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #8dc3ef; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 44px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 10px 0;
  text-shadow: 0 2px 8px rgba(21,67,96,0.18);
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #8dc3ef;
}
.mobile-menu,
.mobile-menu.active {
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  nav.main-nav,
  header .cta-btn {
    display: none;
  }
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---------------------- FOOTER -------------------- */
footer {
  background: #154360;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 40px;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #8dc3ef;
  border-bottom: 2px solid #8dc3ef;
}
footer p {
  font-size: 0.96rem;
  text-align: center;
  margin: 0;
  color: #e1eefb;
}

/* ----------- COOKIES BANNER ------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #154360;
  color: #fff;
  width: 100vw;
  z-index: 9999;
  padding: 18px 24px 18px 24px;
  box-shadow: 0 -2px 24px rgba(21,67,96,0.21);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  transform: translateY(100%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  margin-bottom: 8px;
  font-size: 1.04rem;
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 6px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2980B9;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.12);
}
.cookie-banner button.accept {
  background: #2980B9;
}
.cookie-banner button.reject {
  background: #8c97a3;
  color: #fff;
}
.cookie-banner button.settings {
  background: #1c527b;
  color: #fff;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #154360;
  color: #fff;
}
@media (max-width:600px) {
  .cookie-banner {
    font-size: 0.97rem;
    padding: 12px 2vw 12px 2vw;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }
}

/* -------- COOKIE SETTINGS MODAL --------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21, 67, 96, 0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #154360;
  border-radius: 14px;
  box-shadow: 0 8px 38px rgba(21,67,96,0.18);
  padding: 32px 34px 24px 34px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: appear-modal 0.34s cubic-bezier(.99,.14,.15,.95);
}
@keyframes appear-modal {
  0% { opacity: 0; transform: scale(0.95) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f4f8fa;
  border-radius: 7px;
  padding: 10px 18px;
}
.cookie-modal .cookie-option label {
  font-size: 1rem;
  color: #154360;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal .cookie-option input[type=checkbox] {
  width: 21px; height: 21px;
  accent-color: #2980B9;
}
.cookie-modal .essential {
  opacity: 0.65;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 17px; top: 15px;
  background: none;
  border: none;
  color: #154360;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
}
.cookie-modal .modal-close:hover {
  color: #2980B9;
}
@media (max-width:600px) {
  .cookie-modal { padding: 16px 8px 13px 8px; }
}

/* ------ MISC/ELEMENT SPACING/PATTERNS ------ */
main {
  margin-top: 24px;
  margin-bottom: 24px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:600px) {
  section {
    margin-bottom: 30px;
    padding: 18px 0;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
ol {
  margin-bottom: 18px;
  margin-left: 18px;
  color: #153954;
  font-size: 1rem;
}
ol li {
  margin-bottom: 12px;
}

.blockquote, blockquote {
  font-style: italic;
  color: #2980B9;
  border-left: 4px solid #2980B9;
  padding-left: 13px;
  margin-bottom: 10px;
  background: none;
}

.timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 0 0;
}
.timeline img {
  max-width: 390px;
}

/* ------------- LINKS ------------- */
a {
  color: #2980B9;
  transition: color 0.13s;
}
a:hover, a:focus {
  color: #154360;
}
.text-section a {
  text-decoration: underline;
  font-weight: 600;
}

/* ----------- ACCESSIBLE FOCUS ----------- */
a:focus, button:focus, input:focus, .cta-btn:focus {
  box-shadow: 0 0 0 3px rgba(21, 67, 96, 0.20);
  outline: none;
}

/* ------------ RESPONSIVE --------------- */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  .footer-nav { gap: 9px; }
  nav.main-nav { gap: 8px; font-size: 0.97rem; }
  .testimonial-card { max-width: 100%; }
  .feature-grid li { min-width: unset; font-size: 0.97rem; }
}

/* ----------- VISUAL ENHANCEMENTS ----------- */
section, .card, .testimonial-card, .feature-item, .map-placeholder {
  box-shadow: 0 2px 16px 0 rgba(44,62,80,0.03);
}

/* ----------- VISUAL MICRO-INTERACTIONS ------- */
.cta-btn, button, .feature-grid li, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.18s, transform 0.17s, background 0.17s, color 0.16s;
}
.cta-btn:active,
button:active,
.feature-grid li:active,
.card:active {
  transform: scale(0.98);
}

/* ----------- MINIMUM CARD/SECTION GAPS ------- */
.section:not(:last-child),
.card:not(:last-child),
.testimonial-card:not(:last-child),
.card-container > *:not(:last-child),
.content-grid > *:not(:last-child) {
  margin-bottom: 20px !important;
}

/* Ensure no content overlap and proper stacking */
[style*="position: absolute"],
[style*="position: fixed"].card, [style*="position: fixed"].card-content {
  z-index: 1;
}

/* ------------ UTILITY CLASSES -------------- */
.hide { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }

/* END OF STYLE.CSS */
