/* 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F6FA;
  color: #1E293B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
a {
  color: #2679B7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1E293B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
:focus {
  outline: 2px solid #2679B7;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}
h5 {
  font-size: 0.95rem;
  font-weight: 500;
}
p, li, dl, dd, dt {
  font-size: 1rem;
  color: #283348;
}
strong {
  font-weight: 700;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* For any text-image split */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* NAVIGATION */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 12px 0 rgba(30,41,59,0.04);
  position: relative;
  z-index: 10;
}
.navbar img {
  height: 40px;
  width: auto;
  margin-right: 24px;
}
.nav-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: 24px;
  align-items: center;
}
.nav-menu li {
  margin: 0;
}
.nav-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #1E293B;
  font-size: 1rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.nav-menu a:hover,
.nav-menu a:focus {
  color: #2679B7;
  border-bottom: 2px solid #2679B7;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 28px;
  background-color: #2679B7;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 24px 0 rgba(38,121,183,0.06);
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  display: inline-block;
  margin-left: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1E293B;
  color: #fff;
  box-shadow: 0 4px 32px 0 rgba(30,41,59,0.13);
  text-decoration: none;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #2679B7;
  color: #fff;
  font-size: 2rem;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 198;
  position: absolute;
  top: 13px;
  right: 18px;
  border: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1E293B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F5F6FA;
  box-shadow: 0 0 28px 0 rgba(30,41,59,0.13);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #1E293B;
  font-size: 2rem;
  align-self: flex-end;
  padding: 14px 18px 6px 18px;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2679B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
  gap: 12px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1E293B;
  font-size: 1.2rem;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid #e0e2eb;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2679B7;
}
@media (max-width: 1020px) {
  .navbar .nav-menu,
  .navbar .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 12px 0 rgba(30,41,59,0.07);
  padding-top: 54px;
  padding-bottom: 54px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
}

/* FLEX SPACING LAYOUTS */
.card-container, .card-grid, .feature-grid, .benefit-tiles, .blog-post-grid, .team-row, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(30,41,59,0.07);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s;
  padding: 32px 20px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px 0 rgba(38,121,183,0.13);
}
@media (max-width: 1020px) {
  .card-container, .feature-grid, .benefit-tiles, .blog-post-grid, .team-row, .article-list {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .card-container, .feature-grid, .benefit-tiles, .blog-post-grid, .team-row, .article-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* FEATURE (ICON) GRID */
.feature-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(30,41,59,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.20s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 20px 0 rgba(38,121,183,0.1);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}

.benefit-tiles > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(30,41,59,0.04);
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 380px;
  padding: 24px 18px;
  transition: box-shadow 0.19s;
}
.benefit-tiles > div:hover {
  box-shadow: 0 4px 18px 0 rgba(38,121,183,0.09);
}

/* Blog/article */
.blog-post-grid > article,
.article-list > article {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(30,41,59,0.04);
  padding: 24px 18px 24px 18px;
  min-width: 220px;
  max-width: 420px;
  transition: box-shadow 0.19s;
  flex: 1 1 220px;
}
.blog-post-grid > article:hover,
.article-list > article:hover {
  box-shadow: 0 4px 18px 0 rgba(38,121,183,0.09);
}

/* TEAM */
.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-bio {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(30,41,59,0.04);
  padding: 28px 20px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.team-bio:hover {
  box-shadow: 0 8px 24px 0 rgba(38,121,183,0.09);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 20px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(30,41,59,0.06);
  margin-bottom: 20px;
  max-width: 560px;
  min-width: 260px;
  transition: box-shadow 0.2s;
  color: #1E293B;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #1E293B;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #2679B7;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card img[alt*="star"] {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-right: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(38,121,183,0.14);
}

/* SPECIAL SECTIONS */
footer {
  background: #1E293B;
  color: #fff;
  padding: 40px 0 10px 0;
  margin-top: 80px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
  margin-top: 7px;
}
.footer-menu a {
  color: #F5F6FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.17s, color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #2679B7;
  border-bottom: 2px solid #2679B7;
}
.brand-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  color: #F5F6FA;
  font-size: 1rem;
}
.brand-contact img {
  vertical-align: middle;
  width: 20px;
  margin-right: 7px;
  opacity: 0.85;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2679B7;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.21s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #fff;
}
.footer-social img {
  width: 18px;
  height: 18px;
}
@media (max-width: 1020px) {
  .footer-menu {
    gap: 14px;
    font-size: 0.96rem;
  }
  footer .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 732px) {
  .footer-menu {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
  }
  .footer-social {
    gap: 12px;
  }
}

/* CONTACT MAP (static info) */
.contact-map {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  margin-top: 18px;
  color: #1E293B;
  box-shadow: 0 2px 8px 0 rgba(30,41,59,0.07);
  font-size: 1rem;
}
.contact-map img {
  width: 19px;
  vertical-align: bottom;
  opacity: 0.85;
  margin-right: 8px;
}

/* DEFINITION LIST FAQ */
dl {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #2679B7;
  font-size: 1.08rem;
  margin-bottom: 3px;
}
dd {
  color: #283348;
  margin-left: 0;
}

/* LISTS */
ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 8px;
  line-height: 1.65;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  background: #2679B7;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: middle;
}

/* BUTTONS & INTERACTIONS */
button, .cta-primary {
  transition: background 0.15s, box-shadow 0.14s, color 0.18s;
}

/* FORMS (minimalist, for contact/map info) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 10px ;
  margin-bottom: 16px;
  border: 1px solid #e1e5ed;
  border-radius: 7px;
  background: #FAFBFE;
  color: #1E293B;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 rgba(30,41,59,0.04);
  width: 100%;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #2679B7;
}

/* MODAL BACKDROP */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,41,59,0.35);
  z-index: 99998;
  display: none;
  transition: opacity 0.27s;
}
.modal-backdrop.open {
  display: block;
  opacity: 1;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99900;
  background: #fff;
  color: #1E293B;
  box-shadow: 0 -2px 18px 0 rgba(30,41,59,0.11);
  padding: 28px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100vw;
  max-width: 100vw;
  animation: cookie-slide-up 0.45s ease;
}
@keyframes cookie-slide-up {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.04rem;
  color: inherit;
  margin-bottom: 5px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  background: #2679B7;
  color: #fff;
  font-weight: 600;
  transition: background 0.18s;
}
.cookie-banner button.cookie-accept {
  background: #2679B7;
}
.cookie-banner button.cookie-reject {
  background: #1E293B;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #1E293B;
  border: 1px solid #2679B7;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #1E293B;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: #F5F6FA;
  color: #2679B7;
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
#cookie-modal.open {
  display: flex;
  animation: cookie-fade-in 0.3s;
}
@keyframes cookie-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
#cookie-modal .modal-content {
  background: #fff;
  color: #1E293B;
  border-radius: 14px;
  padding: 32px 24px 26px 24px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 6px 32px 0 rgba(30,41,59,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-pop 0.37s cubic-bezier(.25,1.5,.50,1);
}
@keyframes cookie-modal-pop {
  from { transform: scale(.97); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
#cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.25rem;
  color: #2679B7;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #e6eefa;
  border-radius: 11px;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle[aria-checked='true'] {
  background: #2679B7;
}
.cookie-toggle-slider {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(38,121,183,0.12);
  transition: left 0.21s;
}
.cookie-toggle[aria-checked='true'] .cookie-toggle-slider {
  left: 21px;
  background: #fff;
}
.modal-content .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 13px;
  justify-content: flex-end;
}
.modal-content button {
  padding: 9px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #2679B7;
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background 0.15s;
}
.modal-content button:hover,
.modal-content button:focus {
  background: #1E293B;
}

.modal-content .close-modal {
  position: absolute;
  top: 12px;
  right: 13px;
  background: none;
  font-size: 1.6rem;
  font-weight: bold;
  color: #2679B7;
  border: none;
  cursor: pointer;
}
@media (max-width: 550px) {
  .modal-content {
    padding: 24px 10px 20px 10px;
    font-size: 0.98rem;
  }
}

/* --- SPACING AND RESPONSIVE --- */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.10rem; }
  header, .navbar {
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero {
    padding: 24px 4px;
    border-radius: 0 0 8px 8px;
  }
  .section {
    padding: 25px 6px;
  }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: #F5F6FA;
}
::-webkit-scrollbar-thumb {
  background: #d3e0ef;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b7d4ee;
}

/* --- PRINT --- */
@media print {
  nav, .mobile-menu-toggle, .mobile-menu, .cta-primary, .footer-social, .cookie-banner {
    display: none !important;
  }
  body, .container, .content-wrapper, section, .section {
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
  }
}

/* --- END --- */