/* RESET & NORMALIZE (MOBILE-FIRST) */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  color: #153659;
  background: #F2EDEA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  margin: 0 0 1rem 1.5rem;
}
a {
  color: #31A2B3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153659;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153659;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #153659;
}
p {
  margin-bottom: 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(21, 54, 89, 0.10), 0 1.5px 18px rgba(49, 162, 179, 0.04);
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
.card-container, .service-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(21,54,89,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 20px;
  min-width: 245px;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6FAFC;
  border-left: 4px solid #31A2B3;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(21,54,89,0.07);
  color: #153659;
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #153659;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #2B4258;
  font-weight: 600;
}
/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(21,54,89,0.07);
  position: relative;
  z-index: 40;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: #153659;
  position: relative;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #31A2B3;
  color: #fff;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  box-shadow: 0 3px 12px 0 rgba(49,162,179,0.07);
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.btn-primary {
  background: #153659;
  color: #fff;
  border: 2px solid #153659;
}
.btn-primary:hover, .btn-primary:focus {
  background: #31A2B3;
  border-color: #31A2B3;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(49,162,179,0.12);
  text-decoration: none;
}
.btn-secondary {
  background: #31A2B3;
  color: #fff;
  border: 2px solid #31A2B3;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #153659;
  color: #fff;
  border-color: #153659;
  box-shadow: 0 4px 14px 0 rgba(21,54,89,0.08);
  text-decoration: none;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #153659;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #31A2B3;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(21,54,89,0.16);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 36px 24px 18px 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #153659;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #31A2B3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #153659;
  letter-spacing: 0.01em;
  padding: 12px 8px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #31A2B3;
  color: #fff;
}
/* Hide main nav & show burger on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* FOOTER */
footer {
  background: #153659;
  color: #fff;
  width: 100%;
  padding: 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding: 36px 0 28px 0;
}
.footer-wrapper a {
  color: #31A2B3;
  transition: color 0.18s;
}
.footer-wrapper a:hover, .footer-wrapper a:focus {
  color: #F2EDEA;
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
}
.footer-contact {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #F2EDEA;
}
.footer-wrapper img {
  height: 40px;
  margin-bottom: 8px;
}
@media (max-width: 880px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* LISTS / CONTENT SPECIFICS */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  font-size: 1.07rem;
  margin-bottom: 8px;
  color: #2B4258;
  line-height: 1.7;
}
ul li strong {
  color: #153659;
}
li:last-child {
  margin-bottom: 0;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .nav-bar {
    flex-direction: row;
    gap: 8px;
    padding: 12px 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .section, section {
    padding: 26px 6px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .card, .testimonial-card {
    padding: 18px 8px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.01rem;
  }
  .section, section {
    padding: 10px 0;
    margin-bottom: 22px;
  }
}
/* GENERAL UTILITY */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #31A2B3;
  box-shadow: 0 -2px 20px 0 rgba(21,54,89,0.08);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 16px 16px;
  font-size: 1.03rem;
  color: #153659;
  animation: cookieBannerIn 0.36s cubic-bezier(0.4, 0.15, 0.8, 1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 5px;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-banner .cookie-btn.accept {
  background: #153659;
  color: #fff;
  border: 1px solid #153659;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #31A2B3;
  color: #fff;
  border-color: #31A2B3;
}
.cookie-banner .cookie-btn.reject {
  background: #F2EDEA;
  color: #153659;
  border: 1px solid #B3C5D0;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #c0dbeb;
  color: #153659;
}
.cookie-banner .cookie-btn.settings {
  background: #31A2B3;
  color: #fff;
  border: 1px solid #31A2B3;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #153659;
  border-color: #153659;
  color: #fff;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1500;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,54,89,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFade 0.22s;
}
@keyframes cookieModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 24px 0 rgba(21,54,89,0.14);
  max-width: 370px;
  width: 97vw;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #153659;
  font-size: 1.04rem;
  animation: cookieModalIn 0.29s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal .cookie-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .toggle {
  min-width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #B3C5D0;
  position: relative;
  cursor: pointer;
  transition: background 0.22s;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
}
.cookie-modal .toggle[data-active="true"] {
  background: #31A2B3;
}
.cookie-modal .toggle-knob {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(21,54,89,0.08);
  transition: transform 0.19s;
  position: absolute;
  left: 2px;
  top: 2px;
}
.cookie-modal .toggle[data-active="true"] .toggle-knob {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: #153659;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #31A2B3;
}
/* Hide cookie banner on mobile if modal is open */
.cookie-banner.hide {
  display: none !important;
}
/* Helper: No scroll when menu/modal open */
.no-scroll, .modal-open {
  overflow: hidden !important;
}
/* MISC */
::-webkit-scrollbar {
  width: 9px;
  background: #F2EDEA;
}
::-webkit-scrollbar-thumb {
  background: #B3C5D0;
  border-radius: 10px;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 14px 6px 14px 10px;
    font-size: 0.96rem;
  }
  .cookie-modal .cookie-modal-title {
    font-size: 1rem;
  }
}
/* SHADOWS & EFFECTS */
.card, .testimonial-card, .cookie-modal, .section, section {
  box-shadow: 0 3px 16px 0 rgba(21,54,89,0.07);
}
/* ANIMATIONS for buttons */
.btn-primary, .btn-secondary, .cookie-btn, .cookie-modal-actions button {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
/* TRANSITIONS for nav */
.main-nav a, .btn-primary, .btn-secondary {
  transition: background 0.22s, color 0.22s;
}
/* ACTIVE section marker for main nav NOT implemented in HTML, but selector below */
.main-nav a.active {
  background: #31A2B3;
  color: #fff;
}
/* SERVICE GRID as cards */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-grid > div {
  background: #F2EDEA;
  border-radius: 10px;
  padding: 20px 18px;
  flex: 1 1 220px;
  min-width: 190px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(21,54,89,0.04);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #153659;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}
.service-grid h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.service-grid strong {
  color: #31A2B3;
}
@media (max-width: 768px) {
  .service-grid {
    flex-direction: column;
    gap: 12px;
  }
  .service-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 8px;
  }
}
/* QUOTES / TESTIMONIALS */
.testimonial-card {
  background: #F6FAFC;
  border-left: 4px solid #31A2B3;
  color: #153659;
}
/* VISUAL HIERARCHY SPACING */
.section > .container, section > .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}
/* Ensure minimum spacing between sections */
main section {
  margin-bottom: 60px;
}
/* Adjust for last section */
main section:last-of-type {
  margin-bottom: 0;
}
/* ACCESSIBILITY & FOCUS REACH */
a:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #31A2B3;
  outline-offset: 2px;
}
/* END */
