/* ========================================== */
/*      RESET & BASELINE NORMALIZATION        */
/* ========================================== */
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, 
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;
}
/* Modernize font smoothing */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F5F7FA;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F7FA;
  color: #164A68;
  min-height: 100vh;
  line-height: 1.64;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #00A0A7;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
  outline: none;
}
a:hover, a:focus {
  color: #164A68;
  text-decoration: underline;
}
strong {
  font-weight: 700;
  color: #164A68;
}

/* ========================================== */
/*           FONT IMPORTS                     */
/* ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* ========================================== */
/*            TYPOGRAPHY                      */
/* ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 900;
  color: #164A68;
  text-transform: none;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #184c6a;
}
.text-section {
  margin-bottom: 14px;
}
.content-wrapper > ul, .text-section > ul,
.content-wrapper > ol, .text-section > ol {
  margin-bottom: 18px;
  padding-left: 0;
}
ul li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 0;
  font-size: 1rem;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 10px;
}

ol {
  list-style: decimal inside;
  margin-left: 20px;
}
ol li {
  margin-bottom: 12px;
  font-size: 1rem;
}

/* ========================================== */
/*         STRUCTURE & LAYOUT                 */
/* ========================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
header, footer {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(22,74,104,0.07);
  z-index: 100;
}
header .container, footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(22,74,104,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #F5F7FA;
  border: 2.5px solid #e4e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(0,160,167,0.08), 0 0.5px 1.5px 0 rgba(22,74,104,0.04);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.15s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 32px 0 rgba(22,74,104,0.12);
  border-color: #00A0A7;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  background: #F5F7FA;
  border-left: 5px solid #00A0A7;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 16px 0 rgba(22,74,104,0.08);
  color: #164A68;
  font-size: 1.05rem;
  transition: border-color 0.18s;
}
.testimonial-card strong {
  margin-top: 4px;
  color: #164A68;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  border-color: #164A68;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service-cards > div {
  background: #F5F7FA;
  border: 2px solid #00A0A7;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,160,167,0.06);
  padding: 26px 18px;
  flex: 1 1 260px;
  min-width: 250px;
  transition: box-shadow 0.18s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-cards > div:hover, .service-cards > div:focus-within {
  box-shadow: 0 6px 24px rgba(22,74,104,0.14);
  transform: translateY(-6px);
  border-color: #164A68;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #164A68;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #00A0A7;
  text-decoration: underline;
}
.company-info {
  font-size: 0.98rem;
  color: #507d98;
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #f2f3f6;
  border-radius: 50%;
  transition: background 0.17s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #e0ebf0;
}

/* ========================================== */
/*                BUTTONS                    */
/* ========================================== */
.cta-btn {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  background: #164A68;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2.2px 14px rgba(0,160,167,0.07);
  transition: background 0.18s, color 0.18s, transform 0.12s;
  margin-top: 6px;
  margin-bottom: 8px;
}
.cta-btn.secondary {
  background: #00A0A7;
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus {
  background: #00A0A7;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(22,74,104,0.16);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #164A68;
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border: none;
  background: none;
  transition: background 0.13s;
  outline: none;
}

/* ======================================================== */
/*          MOBILE NAV / BURGER FUNCTIONALITY              */
/* ======================================================== */
.mobile-menu-toggle {
  font-size: 2rem;
  padding: 6px 16px;
  background: #00A0A7;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(22,74,104,0.09);
  margin-left: 14px;
  display: flex;
  align-items: center;
  line-height: 1;
  z-index: 2201;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #164A68;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a.cta-btn {
  margin-top: 0;
  margin-bottom: 0;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(22, 74, 104, 0.98);
  z-index: 2200;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.5,.1,.3,1);
  box-shadow: 4px 0 44px 6px rgba(22,74,104,0.18);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 20px 26px 12px 0;
  padding: 7px 12px;
  border-radius: 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(0,160,167,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 32px 38px 16px 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1.5px solid rgba(0,160,167,0.18);
  transition: color 0.14s, background 0.13s;
  border-radius: 2px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #00A0A7;
  background: rgba(245,247,250,0.08);
}

@media (max-width:1080px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 820px) {
  .service-cards > div, .card {
    flex: 1 1 90vw;
    min-width: 85vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 8px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 10px;
  }
}

@media (max-width: 939px) {
  .service-cards>div, .card {
    min-width: 90vw;
    flex: 1 1 90vw;
  }
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* HIDE .main-nav, SHOW HAMBURGER ON MOBILE */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    justify-content: space-between;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none;
  }
  .main-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* =============== RESPONSIVE STACKING =============== */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 0;
    gap: 24px;
  }
  .service-cards, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 22px 7px;
    margin-bottom: 32px;
  }
  .testimonial-card, .card, .service-cards > div {
    padding: 18px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.97rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 12px 23px;
  }
  .section {
    margin-bottom: 22px;
    padding: 13px 2px;
  }
}

/* ========================================== */
/*        COOKIE CONSENT BANNER & MODAL       */
/* ========================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6000;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 22px 0 rgba(22,74,104,0.09);
  border-top: 4px solid #00A0A7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 18px 24px 24px;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.64,.03,.34,1);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-left: 18px;
}
.cookie-banner .cookie-btn {
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  background: #00A0A7;
  color: #fff;
  border: none;
  transition: background 0.16s, color 0.14s, transform 0.11s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.reject {
  background: #e5e7ec;
  color: #164A68;
}
.cookie-banner .cookie-btn.settings {
  background: #164A68;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #164A68;
  color: #fff;
  transform: scale(1.07);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #c0d2dd;
  color: #164A68;
}
/* Animate banner sliding up or down */
.cookie-banner.hide {
  transform: translateY(100%);
}

/* COOKIE MODAL OVERLAY & CONTENT */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height:100vh;
  background: rgba(22,74,104,0.63);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s cubic-bezier(.35,.85,.4,1), pointer-events .18s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(22,74,104,0.21);
  padding: 38px 36px 26px 32px;
  min-width: 320px;
  max-width: 98vw;
  font-family: 'Roboto',Arial,sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #164A68;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #00A0A7;
  border-radius: 4px;
  border: 1.5px solid #164A68;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #e5e9f0;
  border: 1.5px dashed #b4b6ba;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 120px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.7rem;
  color: #00A0A7;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #164A68;
}
@media (max-width:600px) {
  .cookie-modal {
    min-width: 96vw;
    padding: 18px 7px 16px 9px;
  }
}

/* ========================================== */
/*         GEOMETRIC/STRUCTURED LOOK          */
/*         SHAPES, ANGLES, GRIDS              */
/* ========================================== */
.section, .card, .testimonial-card, .service-cards>div {
  border-radius: 16px 38px 16px 28px/26px 18px 38px 24px;
  box-shadow: 0 2.5px 20px 0 rgba(0,160,167,0.07);
}
.section {
  border-top: 8px solid #164A68;
  border-left: 4px solid #00A0A7;
}
.testimonial-card {
  border-radius: 28px 16px 24px 18px/20px 38px 16px 36px;
  border-left: 6px solid #00A0A7;
}
.card {
  border-width: 3px;
}
.service-cards > div {
  border-top: 4px solid #00A0A7;
  border-right: 4px solid #164A68;
}
.cta-btn, .cookie-btn {
  border-radius: 32px 72px 32px 38px/38px 32px 64px 34px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* ========================================== */
/*           MISCELLANEOUS                    */
/* ========================================== */
hr {
  border: 0;
  height: 1px;
  background: #e7eaef;
  margin: 32px 0;
}
/* Adjust checklist/feature lists with icon */
ul li img {
  width: 28px;
  min-width: 28px;
  margin-right: 7px;
}
ul li img[alt] {
  filter: brightness(0.8) contrast(1.3);
}

/* Style for special notice boxes */
.notice {
  background: #fffbe3;
  border-left: 5.5px solid #00A0A7;
  padding: 16px 30px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: #184C6A;
}

/* Accessibility helper: Focus styles */
a:focus, .cta-btn:focus, .mobile-menu-toggle:focus,
.mobile-menu-close:focus, .cookie-btn:focus {
  outline: 2.5px solid #00A0A7;
  outline-offset: 2px;
  z-index: 12;
}

/* ========================================== */
/*             GEOMETRIC DECORATIVE           */
/* ========================================== */
/* Example banner effect for h1 (structured look) */
h1, h2 {
  position: relative;
  z-index: 1;
  padding-left: 7px;
  letter-spacing: 0.01em;
}
h1:before, h2:before {
  content: '';
  position: absolute;
  left: -19px;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: 9px;
  height: 43px;
  border-radius: 6px;
  background: #00A0A7;
  opacity: 0.6;
  z-index: -1;
}

/* ========================================== */
/*        TABLES (RESOURCE PAGES, ETC.)        */
/* ========================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 32px;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 1.5px 10px 0 rgba(22,74,104,0.03);
}
th, td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1.5px solid #e4e9ef;
}
th {
  background: #164a68;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
}

/* ========================================== */
/*    PRINT & SELECTION BASIC COMPATIBILITY    */
/* ========================================== */
@media print {
  *, *:before, *:after {
    background: #fff !important;
    color: #164A68 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
}
::selection {
  background: #00A0A7;
  color: #fff;
}

/* Media Queries for Accessibility/Font Increase */
@media (max-width:360px), (max-width:400px) and (max-height:750px) {
  h1, h2, h3 {
    font-size: 1rem !important;
  }
  .cta-btn {
    font-size: 0.92rem;
  }
}

/* ========================================== */
/* END OF GEOMETRIC_STRUCTURED CSS            */
/* ========================================== */
