/* ======================== RESET & BASE ======================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #235061;
  background: #F8FAFA;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #235061;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #67A6C6;
  outline: none;
}
ul, ol, dl {
  margin-bottom: 16px;
  margin-left: 24px;
}
li {
  margin-bottom: 8px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #235061;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #36556B;
  font-weight: 400;
  margin-bottom: 28px;
}
p, .footer-contact p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #36556B;
}
strong {
  font-weight: 600;
}

/* ======================== LAYOUT UTILITIES ======================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(103, 166, 198, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(35, 80, 97, 0.06);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.23s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 28px 0 rgba(35, 80, 97, 0.13);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #E6F4F1;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(35, 80, 97, 0.06);
  border-left: 4px solid #67A6C6;
  transition: box-shadow 0.17s;
}
.testimonial-card blockquote {
  color: #235061;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.5;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #36556B;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(103, 166, 198, 0.09);
  padding: 28px 22px 18px 22px;
  min-width: 230px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.21s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(35, 80, 97, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* ===================== TABLES, DL, ETC ===================== */
table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(35, 80, 97, 0.04);
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
  overflow: hidden;
}
thead {
  background: #E6F4F1;
}
th, td {
  padding: 14px 12px;
  text-align: left;
}
th {
  font-weight: 700;
  color: #235061;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-bottom: 2px solid #67A6C6;
}
td {
  color: #36556B;
  border-bottom: 1px solid #E6F4F1;
}

/* Description lists */
dl {
  margin-bottom: 16px;
}
dt {
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 18px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  color: #235061;
}
dt img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
dd {
  margin-left: 16px;
  margin-bottom: 8px;
  color: #36556B;
  font-size: 1rem;
}

/* ======================== HEADER & NAVIGATION ======================== */
header {
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(103, 166, 198, 0.05);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0 0;
}
.header-logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 24px;
  background: transparent;
}
.header-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
.main-nav a {
  padding: 8px 0;
  color: #235061;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 4px;
  transition: color 0.2s, background 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #67A6C6;
  background: #E6F4F1;
}
.main-nav .button-primary {
  margin-left: 13px;
}

.button-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  background: #235061;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(35, 80, 97, 0.06);
  transition: background 0.16s, color 0.15s, box-shadow 0.22s;
  outline: none;
  margin-top: 18px;
  text-align: center;
  letter-spacing: 0.01em;
}
.button-primary:hover, .button-primary:focus {
  background: #67A6C6;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(35,80,97,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #235061;
  margin-right: 15px;
  margin-left: auto;
  z-index: 1201;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E6F4F1;
  color: #67A6C6;
}

/* =================== MOBILE MENU STYLES =================== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1700;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  box-shadow: 0 8px 40px 0 rgba(35,80,97,0.11);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 40px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #E6F4F1;
  color: #235061;
  font-size: 2.1rem;
  border: none;
  margin: 32px 24px 12px 0;
  padding: 7px 15px;
  border-radius: 18px;
  cursor: pointer;
  z-index: 5;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #67A6C6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #235061;
  background: #F8FAFA;
  padding: 14px 14px;
  border-radius: 9px;
  font-size: 1.09rem;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #67A6C6;
  color: #fff;
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-logo {
    padding: 0 12px;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ======================== HERO/SECTIONS ======================== */
main section, main .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main section:last-child {
  margin-bottom: 0;
}

/* ======================== CTA BUTTONS ======================== */
.cta-section a.button-primary {
  margin: 24px auto 0 auto;
}

/* ======================== FOOTER ======================== */
footer {
  background: #F8FAFA;
  padding: 38px 0 20px 0;
  border-top: 1.5px solid #E6F4F1;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.footer-nav a {
  color: #235061;
  border-radius: 5px;
  padding: 6px 11px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #67A6C6;
  color: #fff;
}
.footer-contact {
  max-width: 570px;
  margin: 0 auto;
  text-align: center;
  color: #36556B;
  font-size: 0.99rem;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #235061;
  border-bottom: 1.5px dotted #67A6C6;
  transition: color 0.17s, border-bottom 0.16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #67A6C6;
  border-bottom: 1.5px solid #67A6C6;
}

/* ======================== COOKIE CONSENT BANNER & MODAL ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid #67A6C6;
  box-shadow: 0 -2px 18px 0 rgba(35,80,97,0.10);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  z-index: 2100;
  animation: fadeInUp 0.45s;
}
.cookie-banner p {
  color: #235061;
  font-size: 1rem;
  max-width: 720px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0.7em;
}
.button-cookie-accept, .button-cookie-reject, .button-cookie-settings {
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #67A6C6;
  color: #fff;
  transition: background 0.18s, color 0.12s, box-shadow 0.13s;
  box-shadow: 0 1px 4px rgba(103,166,198,0.16);
  outline: none;
}
.button-cookie-settings {
  background: #E6F4F1;
  color: #235061;
  border: 1.5px solid #67A6C6;
}
.button-cookie-settings:hover, .button-cookie-settings:focus {
  background: #67A6C6;
  color: #fff;
}
.button-cookie-accept {
  background: #235061;
}
.button-cookie-accept:hover, .button-cookie-accept:focus {
  background: #67A6C6;
}
.button-cookie-reject {
  background: #fff;
  color: #235061;
  border: 1.5px solid #67A6C6;
}
.button-cookie-reject:hover, .button-cookie-reject:focus {
  background: #67A6C6;
  color: #fff;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(75px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 80, 97, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  max-width: 95vw;
  width: 420px;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 6px 36px 0 rgba(35, 80, 97, .21);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleAppear 0.33s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes scaleAppear {
  0% { opacity: 0; transform: scale(0.90); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.30rem;
  color: #235061;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #235061;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  width: 34px;
  height: 18px;
  background: #E6F4F1;
  border-radius: 12px;
  border: 1.5px solid #67A6C6;
  position: relative;
  appearance: none;
  outline: none;
  margin-right: 4px;
  transition: background .19s, border .14s;
  vertical-align: middle;
}
.cookie-modal .cookie-toggle:checked {
  background: #67A6C6;
  border-color: #67A6C6;
}
.cookie-modal .cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-modal .cookie-toggle:checked::after {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .button-cookie-accept {
  margin-left: 0;
}

/* Mark disabled (essential) toggle visually */
.cookie-category input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== RESPONSIVE FLEX LAYOUTS ==================== */
@media (max-width: 992px) {
  .feature-grid, .content-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 18px 12px 13px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .section, main section, .footer-contact {
    padding: 22px 7px;
  }
  h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.04rem;
  }
  .subheadline {
    font-size: 1rem;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 19px;
  }
  .testimonial-card {
    padding: 13px 8px;
    gap: 11px;
  }
  .footer-nav {
    font-size: 0.96rem;
    gap: 12px;
    margin-bottom: 12px;
  }
  .footer-contact {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  .header-logo {
    height: 55px;
  }
  .main-nav .button-primary {
    margin-left: 0;
  }
}

/* ================ FORM & INTERACTIVES ================ */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #E6F4F1;
  padding: 9px 11px;
  background: #fff;
  margin-bottom: 16px;
  transition: border 0.13s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #67A6C6;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(103,166,198,0.13);
}
button {
  cursor: pointer;
  border: none;
  background: #235061;
  color: #fff;
  border-radius: 18px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.16s, color 0.12s, box-shadow 0.19s;
}
button:hover, button:focus {
  background: #67A6C6;
  color: #fff;
  box-shadow: 0 4px 14px rgba(35,80,97,0.09);
}

/* ============ MISCELLANEOUS ============ */
::selection {
  background: #e6f4f1;
}

hr {
  border: none;
  border-top: 1.5px solid #E6F4F1;
  margin: 28px 0;
}

/* spacing between list items and grid items - extra */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 10px 6px;
    font-size: 0.96rem;
  }
}

/* Prevent overlap, spacing between cards/sections */
.card, .feature-grid > div, .testimonial-card, .section, main section {
  margin-bottom: 20px;
}

/* For accessibility: high contrast in testimonial cards */
.testimonial-card, .testimonial-card blockquote {
  color: #235061 !important;
  background: #E6F4F1 !important;
}

/* ================== PRINT STYLES ================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
  body {
    background: #fff;
    color: #235061;
  }
}
