/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #E8F0F8;
  color: #22313F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #1A5F81;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #174E6A;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  color: #174E6A;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, blockquote, address, cite {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
blockquote {
  border-left: 4px solid #1A5F81;
  background: #F7FAFD;
  padding: 16px 24px;
  color: #22313F;
  margin-bottom: 14px;
  font-style: italic;
}
cite {
  display: block;
  margin-bottom: 0.5em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #5A748C;
  font-style: normal;
}

/* CONTAINER & MAIN LAYOUT */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(26, 95, 129, 0.07), 0 1.5px 3px rgba(23, 78, 106,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEX SPACING PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26, 95, 129, 0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 290px;
  min-width: 270px;
  padding: 24px 20px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(26, 95, 129, 0.18);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}

.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: #F6F9FC;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(23, 78, 106, 0.08);
  margin-bottom: 20px;
  color: #22313F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  margin-bottom: 20px;
  padding: 18px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* BUTTONS & LINKS */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A5F81;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 32px;
  font-size: 1.1rem;
  padding: 13px 32px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(26,95,129,0.08);
  transition: background 0.2s, transform 0.12s, box-shadow 0.18s;
  border: 2px solid #1A5F81;
  cursor: pointer;
  gap: 8px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174E6A;
  color: #FCB900;
  border-color: #174E6A;
  transform: translateY(-2px) scale(1.03);
}

button,
.button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #1A5F81;
  color: #FFF;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 6px rgba(26,95,129,0.06);
  outline: none;
  min-width: 120px;
}
button:hover,
.button:hover,
button:focus,
.button:focus {
  background: #174E6A;
  color: #FCB900;
  box-shadow: 0 8px 24px rgba(26,95,129,0.11);
}

/* HEADER & NAVIGATION */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #C8D7E7;
  box-shadow: 0 2px 12px rgba(26,95,129,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 18px;
}
header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #1A5F81;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #E8F0F8;
  color: #174E6A;
}
header img {
  height: 40px;
  width: auto;
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #1A5F81;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  z-index: 31;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #FCB900;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background: #174E6A;
  box-shadow: -2px 0 36px rgba(23,78,106,0.19);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.4,1.2,.5,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FCB900;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 18px 10px 0;
  border: none;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #FFF;
  padding: 13px 0;
  border-radius: 8px;
  text-align: left;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1A5F81;
  color: #FCB900;
}

/* HIDE MAIN NAV ON MOBILE */
@media (max-width: 990px) {
  header nav,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS & LAYOUT */
main {
  min-height: 70vh;
  margin-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 14px 0;
}

.service-grid > div {
  flex: 1 1 260px;
  background: #F7FAFD;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(26, 95, 129, 0.07);
  padding: 20px 16px 18px 18px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-grid > div:hover {
  box-shadow: 0 6px 18px rgba(26, 95, 129, 0.18);
  background: #E8F0F8;
  transform: translateY(-3px) scale(1.02);
  color: #174E6A;
  z-index: 1;
}

@media (max-width: 900px) {
  .service-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-grid > div {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* LISTS */
ul, ol {
  margin-left: 24px;
  margin-bottom: 14px;
  color: #22313F;
}
ul li, ol li {
  padding-left: 12px;
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #1A5F81;
  border-radius: 50%;
  position: absolute;
  left: -18px;
  top: 10px;
}
ol li {
  list-style-type: decimal;
  color: #22313F;
  padding-left: 2px;
}
ol {
  margin-left: 28px;
}

/* FOOTER */
footer {
  background: #174E6A;
  color: #EEF3F9;
  padding: 32px 0 14px 0;
  font-size: 0.92rem;
}
footer .container > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
footer nav a {
  color: #EEF3F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98em;
  transition: color 0.19s;
  border-radius: 5px;
  padding: 3px 10px;
}
footer nav a:hover, footer nav a:focus {
  background: #1A5F81;
  color: #FCB900;
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 5px;
}
footer address {
  font-style: normal;
  color: #FCB900;
}
footer a {
  color: #FCB900;
  text-decoration: none;
  margin-bottom: 4px;
}
footer a:hover, footer a:focus {
  color: #FFE59B;
  text-decoration: underline;
}

/* TESTIMONIALS */
.testimonial-card {
  box-shadow: 0 2px 14px rgba(26, 95, 129, 0.06);
  background: #FFFFFF;
  align-items: flex-start;
  border-left: 6px solid #1A5F81;
  color: #22313F;
}
.testimonial-card blockquote {
  border: none;
  background: transparent;
  color: #22313F;
  font-size: 1.025rem;
  margin-bottom: 0;
}
.testimonial-card cite {
  color: #174E6A;
  font-size: 0.97rem;
  font-weight: 500;
  margin-left: 0;
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .content-wrapper {
    padding: 24px 6px !important;
    margin-bottom: 38px;
    gap:18px;
  }
  .service-grid {
    gap: 13px;
    padding: 0 2px;
    flex-direction: column;
  }
  h1 {
    font-size: 1.35rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 10px;
  }
  .card {
    padding: 16px 8px;
    min-width: 0;
  }
  .text-section {
    padding: 12px 0;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 16px 8px;
  }
}

/* TYPOGRAPHY SCALE */
@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.11rem; }
  h2 { font-size: 1.01rem; }
}

/* TABLES (if present) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 11px 8px;
  text-align: left;
  border-bottom: 1px solid #C8D7E7;
}
th {
  background: #F7FAFD;
  color: #1A5F81;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #174E6A;
  color: #FFF;
  padding: 24px 20px 18px 20px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px rgba(26,95,129,0.08);
  animation: cookie-slide-up 360ms ease;
  font-size: 1rem;
}
@keyframes cookie-slide-up {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-banner__content {
  max-width: 700px;
  text-align: center;
  margin-bottom: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
  justify-content: center;
}
.cookie-btn {
  background: #1A5F81;
  color: #FFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 32px;
  padding: 11px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #1A5F81;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.11s;
}
.cookie-btn.accept {
  background: #FCB900;
  color: #174E6A;
  border: 2px solid #FCB900;
}
.cookie-btn.settings {
  background: #FFF;
  color: #1A5F81;
  border: 2px solid #1A5F81;
}
.cookie-btn.reject {
  background: transparent;
  color: #FFF;
  border: 2px solid #FFF;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.05);
  background: #1A5F81;
  color: #FCB900;
  border-color: #1A5F81;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F7C942;
  color: #174E6A;
  border-color: #F7C942;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 17px 7px 10px 7px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 10px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(18,32,58,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #F7FAFD;
  color: #22313F;
  border-radius: 17px;
  padding: 30px 28px;
  min-width: 340px;
  max-width: 95vw;
  box-shadow: 0 6px 36px rgba(26,95,129,0.24);
  position: relative;
  overflow: hidden;
  animation: modal-fade-in 0.20s 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes modal-fade-in {
  0% { opacity: 0; transform: scale(0.8) translateY(60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  font-size: 1.9rem;
  color: #1A5F81;
  border: none;
  cursor: pointer;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  background: #FFFFFF;
  padding: 13px 14px;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(26,95,129,0.06);
}
.cookie-modal__category .toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-modal__category .toggle input[type="checkbox"] {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #C8D7E7;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal__category .toggle input[type="checkbox"]:checked {
  background: #1A5F81;
}
.cookie-modal__category .toggle input[type="checkbox"]:before {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 17px;
  height: 17px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(23,78,106,0.10);
  transition: left 0.18s;
}
.cookie-modal__category .toggle input[type="checkbox"]:checked:before {
  left: 20px;
}
.cookie-modal__category .locked {
  color: #6B829C;
  font-size: 0.96em;
  margin-left: 0.7em;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 5px;
    min-width: 0;
    max-width: 98vw;
  }
  .cookie-modal__category {
    font-size: 0.98rem;
    padding: 10px 7px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .service-grid > div, .cta-btn, button, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, transform 0.12s;
}

/* ACCESSIBILITY & FOCUS STYLES */
:focus-visible {
  outline: 2px solid #FCB900;
  outline-offset: 2px;
}

/* HIDE visually on skip-targets or hidden but accessible */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Misc spacing for consistent breathing room around components */
.card + .card, .testimonial-card + .testimonial-card, .section + .section, .content-wrapper > * + * {
  margin-top: 20px;
}

/* VISUAL ACCENTS */
hr {
  border: none;
  border-top: 1px solid #C8D7E7;
  margin: 28px 0;
}
section {
  padding: 20px 0;
}
/* END OF MAIN CSS */
