/* CSS 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,
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 {
  line-height: 1.5;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F8F9FB;
  color: #223046;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.01em;
}
a {
  color: #175873;
  text-decoration: none;
  transition: color 0.18s;
  outline: none;
}
a:hover, a:focus {
  color: #07B2E4;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
strong { font-weight: 700; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
  color: #175873;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #223046;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* LAYOUT CONTAINER CLASSES */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* Mandatory Section Spacing and Cards */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(23, 88, 115, 0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(23, 88, 115, 0.10);
  padding: 24px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(23,88,115,0.16);
  transform: translateY(-4px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonials/Review Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F8F9FB;
  border: 1px solid #E0E6EC;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  color: #223046;
  box-shadow: 0 2px 10px rgba(23,88,115,0.0407);
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-style: italic;
  color: #223046;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #175873;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(23,88,115,0.11);
}

/* Navbar / Header */
header {
  background: #fff;
  box-shadow: 0 2px 8px #e8f1fa39;
  margin-bottom: 0;
  position: relative;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  width: 100%;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 0 30px;
  align-items: center;
}
nav ul li {
}
nav ul li a {
  font-size: 1rem;
  font-weight: 500;
  color: #175873;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #F8F9FB;
  color: #07B2E4;
}
nav a img {
  height: 40px;
  width: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  background: #07B2E4;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(23,88,115,0.09);
  transition: background 0.18s, transform 0.15s, box-shadow 0.14s;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #175873;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px 0 rgba(7,178,228,0.12);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 6px 10px;
  color: #175873;
  cursor: pointer;
  z-index: 202;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(23,88,115,0.12);
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.8,.16,.34,1.19);
  z-index: 401;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 40px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #175873;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 501;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #07B2E4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 80px 0 0 38px;
}
.mobile-nav a {
  color: #175873;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 6px;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8F9FB;
  color: #07B2E4;
}

@media (max-width: 950px) {
  nav ul,
  nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show desktop nav on desktop */
@media (min-width: 951px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS, CARDS & FLEX LISTS */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #F8F9FB;
  border-radius: 8px;
  margin-bottom: 0px;
  font-size: 1rem;
  color: #175873;
  box-shadow: 0 1px 6px 0 rgba(23,88,115,0.045);
  font-weight: 500;
  line-height: 1.5;
  min-width: 230px;
  transition: box-shadow 0.16s, background 0.18s;
}
section ul li img {
  height: 28px;
  width: auto;
}
section ul li:hover, section ul li:focus-within {
  background: #E0F3FB;
  box-shadow: 0 2px 10px 0 rgba(23,88,115,0.10);
}

section .btn-primary {
  margin-top: 18px;
}

.text-section {
  font-size: 1.1rem;
  color: #223046;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.text-section li {
  background: none;
  box-shadow: none;
  color: #223046;
  padding: 0;
  font-size: 1rem;
}
.text-section a {
  color: #07B2E4;
  text-decoration: underline;
  transition: color 0.2s;
}
.text-section a:hover {
  color: #175873;
}

/* CTA AS CARDS */
section.cta, .cta-section {
  background: #E0F3FB;
  box-shadow: 0 2px 18px 0 rgba(7,178,228,0.12);
  border-radius: 16px;
  padding: 38px 20px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
section.cta h2 {
  color: #175873;
}
section.cta p {
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  background: #223046;
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #07B2E4;
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer ul li {
  color: #fff;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
footer p {
  margin: 0;
  font-size: 0.96rem;
  color: #E0E6EC;
}

@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .content-wrapper { gap: 18px; }
  section { padding: 22px 0 22px 0; margin-bottom: 38px; }
  .testimonial-card { padding: 18px; }
  nav { flex-direction: row; gap: 0; padding: 14px 0; }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #223046;
  box-shadow: 0 -2px 18px 0 rgba(23,88,115,0.12);
  padding: 20px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  z-index: 9999;
  min-height: 62px;
  animation: cookiebannerin 0.45s cubic-bezier(.38,1.13,.44,0.92);
}
@keyframes cookiebannerin {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #223046;
  margin-bottom: 0;
  flex: 5 1 220px;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex: 1 1 180px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.19s, color 0.15s, box-shadow 0.16s, transform 0.13s;
}
.cookie-btn.accept {
  background: #07B2E4;
  color: #fff;
  box-shadow: 0 1px 6px rgba(23,88,115,0.11);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #175873;
}
.cookie-btn.reject {
  background: #F8F9FB;
  color: #175873;
  border: 1px solid #E0E6EC;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5f4fa;
  color: #175873;
}
.cookie-btn.settings {
  background: transparent;
  color: #07B2E4;
  border: none;
  text-decoration: underline;
  padding-left: 4px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #175873;
}

/***** COOKIE MODAL *****/
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34,48,70,0.43);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(23,88,115,0.21);
  padding: 40px 32px 32px 32px;
  min-width: 320px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiemodalin 0.36s cubic-bezier(.68,-0.55,.27,1.55);
  position: relative;
}
@keyframes cookiemodalin {
  0% { transform: translateY(60px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  color: #175873;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #07B2E4;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10;
}
.cookie-modal-close:hover {
  color: #175873;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  font-size: 1.03rem;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: #E0E6EC;
  border-radius: 15px;
  position: relative;
  transition: background 0.22s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle.enabled {
  background: #07B2E4;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-modal .cookie-toggle.enabled .slider {
  left: 19px;
  background: #fff;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: #daedfa;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential span:last-child {
  color: #175873;
  font-weight: 600;
}
.cookie-modal .cookie-category span {
  flex: 1 1 150px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: #07B2E4;
  color: #fff;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal-actions button.reject {
  background: #F8F9FB; color: #175873;
  border: 1px solid #E0E6EC;
}
.cookie-modal-actions button.reject:hover { background: #e5f4fa; color: #175873; }
.cookie-modal-actions button.accept:hover { background: #175873; color: #fff; }

@media (max-width: 520px) {
  .cookie-modal { padding: 22px 10px 20px 10px; }
}

/***** MISC SPACING & DETAILS *****/
hr {
  border: 0;
  border-top: 1px solid #e6ecf2;
  margin: 36px 0;
}
::selection {
  color: #fff;
  background: #07B2E4;
}

/* Form Fields - fallback for contact future forms */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #E0E6EC;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  transition: border 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1px solid #07B2E4;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(7,178,228,0.09);
}

/***** RESPONSIVE: FLEX TO COLUMN *****/
@media (max-width: 768px) {
  .card-container, .content-grid, section ul {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .feature-item {
    min-width: 100%;
    width: 100%;
  }
  nav, .container, .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/***** DARK MODE (if preferred) * Optional ******
@media (prefers-color-scheme: dark) {
  body { background: #223046; color: #F8F9FB; }
  section, .card { background: #243a4c; color: #F8F9FB; }
  h1, h2, h3 { color: #E0F3FB; }
  footer, .cookie-consent-banner { background: #142029; color: #E0F3FB; }
}
*/
