/* =============================================
   CSS RESET & BASE
   ============================================= */
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, main, 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F1FAEE;
  color: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
strong, b { font-weight: 700; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1D3557;
  line-height: 1.2;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p, li { font-size: 1rem; margin-bottom: 12px; color: #27314f; }
p:last-child, li:last-child { margin-bottom: 0; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =============================================
   FLEXBOX LAYOUTS PATTERNS
   ============================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(29,53,87,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,0.06);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(29,53,87,0.18);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(29,53,87,0.13);
  transform: translateY(-4px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F1FAEE;
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 7px 0 rgba(29,53,87,0.04);
}

/* =============================================
   NAVIGATION
   ============================================= */
header {
  width: 100%;
  position: relative;
  background: linear-gradient(90deg, #4570AE 0%, #1D3557 70%);
  box-shadow: 0 2px 12px rgba(29,53,87,0.08);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 18px 0;
}
.main-nav a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E63946;
  color: #FFF;
}
.main-nav img {
  max-height: 38px;
  margin-right: 28px;
}
.btn-primary {
  background: #E63946;
  color: #FFF !important;
  border: none;
  border-radius: 7px;
  padding: 10px 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, transform 0.17s;
  box-shadow: 0 2px 12px 0 rgba(230,57,70,0.03);
}
.btn-primary:hover, .btn-primary:focus {
  background: #B20824;
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px 0 rgba(230,57,70,0.12);
}
.btn-secondary {
  background: #FFF;
  color: #1D3557 !important;
  border: 2px solid #1D3557;
  border-radius: 7px;
  padding: 10px 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, border 0.2s, transform 0.17s;
  box-shadow: 0 2px 14px 0 rgba(29,53,87,0.05);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #E63946;
  color: #FFF !important;
  border: 2px solid #E63946;
  transform: translateY(-2px) scale(1.03);
}

/* =============================================
   MOBILE NAVIGATION
   ============================================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 104;
  width: 44px;
  height: 44px;
  background: #E63946;
  color: #FFF;
  border: none;
  border-radius: 9px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 2px 11px 0 rgba(230,57,70,0.08);
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #B20824;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #1D3557;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.16s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.1rem;
  cursor: pointer;
  margin: 22px 0 34px 0;
  align-self: flex-end;
  transition: color 0.16s;
  padding: 0 28px 0 0;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 28px;
  width: 100vw;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #E63946;
  color: #FFF;
}

/* =============================================
   HERO, CTA, FEATURES & GRIDS
   ============================================= */
.hero, .cta, .section.hero {
  background: linear-gradient(115deg, #4570AE 0%, #1D3557 81%);
  color: #FFF;
  border-radius: 0 0 32px 32px;
  margin-bottom: 42px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 42px 0 rgba(29,53,87,0.11);
}
.hero .content-wrapper, .cta .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 0 48px 0;
  gap: 20px;
  color: #FFF;
}
.hero h1, .cta h2, .cta h1 {
  color: #FFF;
  text-shadow: 0 6px 28px rgba(49,89,161,0.09);
}
.hero p, .cta p {
  color: white;
}
.cta {
  background: linear-gradient(115deg, #E63946 15%, #4570AE 78%);
  color: #FFF;
  border-radius: 32px;
  margin-bottom: 48px;
  box-shadow: 0 8px 28px 0 rgba(29,53,87,0.13);
}
.cta .btn-secondary, .cta .btn-primary {
  margin-top: 18px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 16px;
  justify-content: flex-start;
}
.feature-grid>div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,0.07);
  padding: 34px 26px;
  flex: 1 1 210px;
  min-width: 220px;
  transition: box-shadow 0.19s, transform 0.13s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-grid>div:hover, .feature-grid>div:focus-within {
  box-shadow: 0 6px 28px 0 rgba(29,53,87,0.16);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.7em;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: #EFF6FA;
  border-radius: 28px;
  box-shadow: 0 3px 18px 0 rgba(29,53,87,0.12);
  padding: 40px 20px 50px 20px;
  margin-bottom: 34px;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 220px;
  background: #FFF;
  color: #27314f;
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(29,53,87,0.06);
  padding: 26px 22px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card p {
  font-size: 1.03rem;
  color: #1D3557;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-size: 1.01rem;
  color: #E63946;
  font-weight: 700;
}

/* =============================================
   BLOG, FAQ, LEGAL, TEAM
   ============================================= */
.blog-listing .feature-grid>div, .faq-accordion .text-section, .team-bios .text-section, .services .text-section {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 1px 7px 0 rgba(29,53,87,0.05);
  padding: 20px 20px 16px 20px;
  margin-bottom: 20px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.values-grid>div {
  flex: 1 1 210px;
  min-width: 200px;
  background: #F1FAEE;
  border-radius: 12px;
  box-shadow: 0 1px 7px 0 rgba(29,53,87,0.03);
  padding: 18px 16px;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-bios .text-section {
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 20px;
  background: #F8F9FA;
  box-shadow: 0 1px 7px 0 rgba(29,53,87,0.04);
  border-radius: 10px;
}

.faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: linear-gradient(90deg, #1D3557 0%, #4570AE 100%);
  color: #FFF;
  padding: 46px 0 24px 0;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  max-height: 38px;
}
.footer-links, .contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E6EFF8;
  font-size: 1rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  transition: background 0.15s;
}
.footer-links a:hover { background: #E63946; color: #FFF; }
.contact-info h4 {
  color: #F1FAEE;
  font-size: 1.08rem;
  font-weight: 700;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  color: #F1FAEE;
  gap: 8px;
  font-size: 0.99rem;
  margin-bottom: 9px;
}
.contact-info ul li img {
  width: 20px;
  height: 20px;
}
.social-media-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 12px;
}
.social-media-icons img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.17s;
}
.social-media-icons img:hover {
  transform: scale(1.1) rotate(-6deg);
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #FFFFFF;
  box-shadow: 0 -2px 28px 0 rgba(29,53,87,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 20px;
  animation: cookieAppear 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieAppear {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #1D3557;
  font-size: 1rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .accept {
  background: #E63946;
  color: #FFF;
  margin-right: 5px;
}
.cookie-banner .accept:hover { background: #B20824; }
.cookie-banner .reject {
  background: #F1FAEE;
  color: #E63946;
  border: 2px solid #E63946;
}
.cookie-banner .reject:hover { background: #FFD3DB; }
.cookie-banner .settings {
  background: #4570AE;
  color: #FFF;
}
.cookie-banner .settings:hover { background: #1D3557; }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29,53,87,0.78);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.31s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 6px 44px rgba(29,53,87,0.23);
  max-width: 410px;
  width: 94vw;
  padding: 33px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalAppear 0.31s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalAppear {
  from { transform: scale(0.97) translateY(30px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  color: #1D3557;
  font-size: 1.11rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #27314f;
}
.category-toggle {
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: #E6EFF8;
  border: none;
  position: relative;
  margin-left: 8px;
  transition: background 0.14s;
  cursor: pointer;
}
.category-toggle[aria-checked="true"] {
  background: #E63946;
}
.category-toggle::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFF;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.15s;
  box-shadow: 0 1px 4px 0 rgba(29,53,87,0.11);
}
.category-toggle[aria-checked="true"]::before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  margin-left: auto;
  background: none;
  color: #E63946;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  outline: none;
  transition: color 0.12s;
  align-self: flex-end;
}
.cookie-modal .close-modal:hover { color: #B20824; }

/* =============================================
   BREADCRUMB, ADDRESS, MISC
   ============================================= */
address {
  font-style: normal;
  color: #1D3557;
  margin-top: 18px;
  font-size: 1.05rem;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1000px) {
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .main-nav { gap: 12px; }
  .container { padding: 0 5vw; }
  footer .content-wrapper { gap: 18px !important; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero .content-wrapper, .cta .content-wrapper {
    padding: 36px 0 32px 0;
  }
  .section, .testimonials, .cta, .hero {
    padding: 24px 8px 32px 8px;
    border-radius: 18px;
  }
  .feature-grid, .content-grid, .card-container, .team-bios {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid>div, .testimonial-card, .card {
    min-width: unset;
    max-width: 98vw;
  }
  .values-grid {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  .footer-links, .contact-info ul {
    gap: 7px;
  }
  .social-media-icons {
    gap: 8px;
    margin-top: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 13px 18px 13px;
    gap: 10px;
    font-size:0.99rem;
  }
}
@media (max-width: 540px) {
  body { font-size: 0.96rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  .feature-grid>div, .testimonial-card {
    padding: 16px 8px;
  }
  .cookie-modal {
    padding: 17px 6px 12px 10px;
  }
}

/* ================
   MICRO-INTERACTIONS
   ================ */
.section, .cta, .hero, .testimonial-card, .feature-grid>div, .card {
  transition: box-shadow 0.18s, transform 0.15s;
}
a, button { outline-offset: 2px; }
a:focus, button:focus {
  outline: 2px solid #E63946;
  outline-style: auto;
}

/* ================
   SCROLLBAR MODERN STYLE
   ================ */
::-webkit-scrollbar {
  width: 8px; background: #E6EFF8;
}
::-webkit-scrollbar-thumb {
  background: #4570AE; border-radius: 6px;
}

/* ================
   UTILITY
   ================ */
.hide { display: none !important; }
.flex { display: flex !important; }

/* Gradient_modern style applied throughout */