/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
a {
  color: #004E89;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus,
a:hover {
  color: #FFB800;
  outline: none;
}
ul { list-style: disc inside; }
li { margin-bottom: 10px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; color: #004E89; text-shadow: 0 2px 14px rgba(0,78,137,0.06);}
h2 { font-size: 2rem; margin-bottom: 18px; color: #222; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #004E89; }
h4, h5, h6 { font-size: 1.12rem; }
p, .secondary-text, .subheadline {
  color: #444;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.65;
}
.secondary-text { font-size: 1.12rem; color: #666; }
.subheadline { font-size: 1.25rem; color: #004E89; font-weight: 600; margin-bottom: 26px;}
strong { font-weight: 700; color: #004E89;}

/* LAYOUT - FLEX & STRUCTURAL */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(16,32,78,.08);
  position: relative;
}
.hero {
  background: #E0E3DA;
  margin-bottom: 70px;
  border-radius: 0 0 48px 48px;
  box-shadow: none;
}
.hero .content-wrapper {
  text-align: center;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

/* FLEXBOX GRIDS & CARDS */
.feature-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(0,78,137,0.07);
  flex: 1 1 210px;
  min-width: 230px;
  margin-bottom: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  border-bottom: 5px solid #FFB800;
}
.feature-grid > div:hover,
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(0,78,137,0.13);
  transform: translateY(-6px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-container {
  gap: 24px;
}
.card {
  position: relative;
  min-width: 210px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-section {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

/* TESTIMONIAL CARD STYLE */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(0,78,137,0.08);
  padding: 20px 28px;
  margin-bottom: 20px;
  border-left: 4px solid #004E89;
  position: relative;
  flex-wrap: wrap;
  color: #222;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-details {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #666;
  font-size: 0.96rem;
}
.star-ratings {
  color: #FFB800;
  font-size: 1.4rem;
  margin-right: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}

/* BUTTONS */
.cta-btn, .btn, button, .cookie-btn {
  background: #004E89;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(0,78,137,0.08);
  transition: background 0.18s, color 0.18s, transform 0.16s;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .btn:hover, button:hover, .cookie-btn:hover {
  background: #FFB800;
  color: #222;
  transform: translateY(-2px) scale(1.04);
}
.cta-btn:focus { outline: 3px solid #FFB800; }

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0,78,137,0.08);
  padding: 0 0 0 0;
  z-index: 1002;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 20px 16px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
header nav ul li a {
  color: #222;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.16s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #E0E3DA;
  color: #004E89;
}
header .cta-btn {
  margin-left: 32px;
  padding: 12px 20px;
  font-size: 1rem;
}

/* HAMBURGER MENU – MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #004E89;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 10px;
  padding: 6px 18px 10px 18px;
  margin-right: 10px;
  align-self: flex-end;
  z-index: 2011;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(0,78,137,0.1);
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFB800;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #004E89;
  color: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2010;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.69,.15,.27,.89);
  box-shadow: 0 8px 28px 0 rgba(0,78,137,0.30);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFB800;
  font-size: 2.3rem;
  padding: 18px 32px 8px 14px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: 2px solid #FFB800;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2px;
  margin-left: 36px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 22px 0;
  padding: 13px 0 13px 0;
  border-radius: 8px;
  transition: background 0.21s, color 0.17s;
  display: block;
  width: 94%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB800;
  color: #004E89;
  outline: none;
}

body.menu-open {
  overflow: hidden;
}

/* FOOTER STYLES */
footer {
  background: #004E89;
  color: #fff;
  padding: 48px 0 20px 0;
  margin-top: 80px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -8px 32px 0 rgba(0,78,137,.1);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.9;
  padding: 3px 10px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFB800;
  color: #004E89;
  opacity: 1;
}
.footer-contact {
  text-align: center;
  margin-top: 8px;
}
.footer-contact p {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 10px;
  color: #e0e3da;
}
.footer-contact img {
  vertical-align: middle;
  margin: 0 3px 0 1.5px;
  width: 20px;
  height: 20px;
}

/* FAQ STYLES */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 6px;
}
.faq-accordion h3 {
  color: #FFB800;
  font-size: 1.17rem;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 3px;
}
.faq-accordion .text-section {
  padding-left: 8px;
  border-left: 3px solid #E0E3DA;
  background: #fafbfa;
  border-radius: 10px;
}

/* MAP SNIPPET */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #004E89;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #E0E3DA;
  border-radius: 12px;
  padding: 14px 22px;
  margin-top: 22px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #222;
  color: #fff;
  padding: 22px 24px 22px 24px;
  z-index: 2040;
  box-shadow: 0 -8px 38px 0 rgba(0,78,137,.16);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInUp 0.7s;
}
.cookie-banner p {
  color: #fff;
  margin: 0 0 6px 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  background: #004E89;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 1px 8px 0 rgba(0,78,137,0.07);
  transition: background 0.21s, color 0.13s;
}
.cookie-btn.settings {
  background: #FFB800;
  color: #004E89;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFB800;
  color: #222;
  outline: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #004E89;
  color: #fff;
}

/* COOKIE MODAL/STYLING */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%);
  width: 94vw;
  max-width: 420px;
  background: #fff;
  box-shadow: 0 8px 44px 0 rgba(0,78,137,0.16);
  z-index: 2050;
  border-radius: 16px;
  padding: 34px 34px 25px 34px;
  flex-direction: column;
  gap: 20px;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInUp 0.39s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h3 {
  color: #004E89;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 21px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 0;
}
.cookie-category label {
  font-weight: 600;
  color: #222;
}
.cookie-category input[type="checkbox"] {
  accent-color: #004E89;
  width: 20px;
  height: 20px;
}
.cookie-category .always-on {
  color: #666;
  font-size: 0.95rem;
  margin-left: 4px;
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  margin: 0;
  font-size: 1rem;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  color: #004E89;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-btn:hover,
.cookie-modal .close-btn:focus {
  color: #FFB800;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN (Mobile-first) */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .card-grid,
  .content-grid {
    gap: 16px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  header nav ul { display: none; }
  header nav .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .section, section {
    padding: 28px 6vw;
    margin-bottom: 45px;
  }
  .hero {
    border-radius: 0 0 32px 32px;
    margin-bottom: 36px;
    padding: 16px 1vw;
  }
  .content-wrapper {
    gap: 8px;
    align-items: flex-start !important;
  }
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    padding: 20px 9px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .faq-accordion {
    gap: 8px;
  }
  .map-snippet {
    font-size: 0.99rem;
    padding: 8px 10px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; margin-bottom: 11px;}
  h3 { font-size: 1rem; }
  .section, section {
    padding: 14px 2vw;
    margin-bottom: 22px;
    border-radius: 12px;
  }
  .footer-contact {
    font-size: 0.86rem;
  }
  .cookie-modal {
    padding: 18px 8px 13px 10px;
    width: 98vw;
  }
}

/* VISUAL ACCENTS & HIGHLIGHTS ("modern_bold" style) */
.feature-grid > div img,
.card img,
.map-snippet img {
  width: 42px;
  height: 42px;
  background: #FFB800;
  border-radius: 18px;
  padding: 5px;
  box-shadow: 0 2px 10px 0 rgba(255,184,0,0.06);
  margin-bottom: 10px;
}
.card img { margin-bottom: 9px; }

 

/* SHADOW CARDS/SECTIONS */
section, .card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(0,78,137,0.07);
}

/* GENERAL SPACING */
section, .section { margin-bottom: 60px; }
.card, .feature-grid > div, .testimonial-card, .text-section, .content-grid > *, .map-snippet {
  margin-bottom: 20px;
}

/* MICRO ANIMATIONS */
a, button, .cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  transition: color 0.16s, background 0.17s, transform 0.13s, box-shadow 0.18s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,78,137,0.17);
  transform: translateY(-4px) scale(1.01);
}

/* REMOVE OUTLINES FOR MOUSE USERS, KEEP FOR KEYBOARD */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid #FFB800;
  outline-offset: 2px;
}

/* UTILITIES */
.hide { display: none!important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }

/* PRINT OVERRIDES */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .section { box-shadow: none; background: #fff; }
}
