/* --- 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,
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F7F9;
  color: #15334C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a {
  color: #15334C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #52A7C1;
  outline-offset: 2px;
}
a:hover {
  color: #52A7C1;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #15334C;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
p, .text-section {
  color: #24425B;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
b, strong {
  font-weight: 700;
}
i, em {
  font-style: italic;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(21, 51, 76, 0.10);
  margin-bottom: 24px;
}
th, td {
  padding: 14px 20px;
  text-align: left;
}
th {
  background-color: #EAF1F6;
  color: #15334C;
}
td {
  color: #24425B;
}
tr {
  border-bottom: 1px solid #EAF1F6;
}
tr:last-child {
  border-bottom: none;
}

/* --- BRAND COLORS (with fallbacks) --- */
:root {
  --primary: #15334C;
  --secondary: #52A7C1;
  --accent: #F6F7F9;
  --gray-light: #EAF1F6;
  --gray-mid: #A7B6C2;
  --gray-dark: #3D566E;
  --danger: #be2525;
}

/* --- CONTAINERS & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(21, 51, 76, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Content grids (use ONLY flexbox!) */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(21, 51, 76, 0.06);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(82, 167, 193, 0.10);
  z-index: 1;
}
.facts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 16px;
}
.facts-grid > div {
  min-width: 175px;
  color: #15334C;
  background: #F6F7F9;
  border-radius: 12px;
  padding: 28px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(21, 51, 76, 0.04);
  text-align: center;
}

.text-section {
  margin-bottom: 18px;
}

/* --- HERO BANNER --- */
.hero {
  background: linear-gradient(100deg, #EAF1F6 30%, #F6F7F9 100%);
  padding: 48px 0 36px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 48px;
  box-shadow: 0 4px 48px 0 rgba(21,51,76,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.6rem;
}
.hero p {
  font-size: 1.24rem;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--primary);
  padding: 0;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 70px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.16s;
}
header nav a:after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
header nav a:hover:after {
  width: 100%;
}
header nav a:hover, header nav a.active {
  color: var(--secondary);
}
header .cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 26px;
  box-shadow: 0 2px 8px 0 rgba(82,167,193,0.11);
  margin-left: 24px;
  transition: background 0.18s, box-shadow 0.18s, color 0.17s;
  border: none;
  cursor: pointer;
}
header .cta-btn:hover, .cta-btn:focus {
  background: #175c80;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(82, 167, 193, 0.18);
}
header img {
  height: 46px;
  margin: 12px 32px 12px 0;
}
header .mobile-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 24px;
  z-index: 41;
  transition: color 0.16s;
}
header .mobile-menu-toggle:focus,
header .mobile-menu-toggle:hover {
  color: var(--secondary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(21, 51, 76, 0.96);
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateX(-101vw);
  transition: transform 0.4s cubic-bezier(.43,.69,.25,1.05);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 32px 28px 12px 0;
  cursor: pointer;
  z-index: 101;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 32px 0 0 36px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 7px;
  transition: background .18s, color .18s;
  width: 90vw;
  max-width: 340px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 72px;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 34px 0 18px 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-right: 32px;
}
footer nav a {
  color: #eaf1f6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: #d4dde3;
  margin-right: 24px;
}
.footer-copy {
  text-align: left;
  width: 100%;
  margin: 18px 0 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  opacity: 0.94;
  color: #bccddb;
}

/* --- BUTTONS ---*/
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(82,167,193,0.12);
  margin-top: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.17s, color 0.16s;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-btn:focus, .cta-btn:hover {
  background: #175c80;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(21,51,76,0.11);
}

/* --- TESTIMONIALS ---*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F7F9;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(82, 167, 193, 0.09);
  margin-bottom: 20px;
  max-width: 530px;
  min-width: 240px;
  color: #15334C;
  font-size: 1.08rem;
}
/* Testimonial text is always dark on light bg for contrast */
.testimonial-card p {
  color: #15334C;
  font-size: 1.13rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #24425B;
}
.rating-summary {
  margin-top: 28px;
  font-size: 1.18rem;
  color: var(--primary);
  background: var(--gray-light);
  padding: 16px 22px;
  border-radius: 8px;
  display: inline-block;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px;
  border: 1.5px solid #A7B6C2;
  border-radius: 9px;
  margin-bottom: 14px;
  width: 100%;
  background: #fff;
  color: #15334C;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #52A7C1;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #15334C;
  margin-bottom: 4px;
  display: block;
}

/* --- FAQ STYLES --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list h3 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 0;
  margin-top: 10px;
}
.faq-list p {
  font-size: 1rem;
  color: #24425B;
}

/* --- FEATURES --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #EAF1F6;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

/* --- TEXT/IMAGE FLEX SECTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #15334C;
  box-shadow: 0 -2px 30px 0 rgba(21,51,76,0.11);
  z-index: 200;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  border-radius: 20px 20px 0 0;
  opacity: 0.98;
  transition: transform 0.34s cubic-bezier(.97,-0.09,.45,.99);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin-right: 2px;
  transition: background 0.19s, color 0.18s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #175c80;
}
.cookie-btn.reject {
  background: #bccddb;
  color: #15334C;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #be2525;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #175c80;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EAF1F6;
  color: #175c80;
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,51,76,0.44);
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.cookie-modal {
  min-width: 330px;
  max-width: 94vw;
  background: #fff;
  color: #15334C;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 6px 42px 0 rgba(21,51,76,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  z-index: 302;
  animation: fadein-modal 0.38s;
}
@keyframes fadein-modal {
  from { opacity:0; transform: scale(0.97) translateY(30px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F7F9;
  padding: 14px 14px 14px 22px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category.essential {
  opacity: 0.78;
  font-style: italic;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .facts-grid {
    gap: 20px;
  }
  .card {
    flex-basis: 90%;
  }
  .hero {
    padding: 38px 0 28px 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  header img {
    margin-right: 16px;
    height: 40px;
  }
  .facts-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 26px 0 18px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container {
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
    padding: 13px 12px;
  }
  .facts-grid > div {
    min-width: 140px;
    font-size: 1rem;
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 58px;
  }
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.63rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .facts-grid > div {
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 22px 7vw;
    min-width: 0;
  }
  .section {
    padding: 13px 2px;
  }
  table th, table td {
    padding: 9px 10px;
    font-size: 0.97rem;
  }
}

/* --- UTILITIES FOR SPACING, SHADOW, ETC. --- */
.mt-20 { margin-top: 20px !important; } .mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; } .mb-40 { margin-bottom: 40px !important; }
.shadow-md {
  box-shadow: 0 2px 8px 0 rgba(21,51,76,0.09) !important;
}
.rounded {
  border-radius: 10px !important;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.18s, box-shadow 0.17s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  transform: translateY(-3px) scale(1.016);
  box-shadow: 0 4px 24px 0 rgba(82, 167, 193, 0.15);
}

/* --- SPECIFIC FORMS & DETAILS --- */
.contact-details {
  background: #EAF1F6;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 1rem;
  color: #15334C;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* --- SCROLLBAR STYLING (modern look) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #EAF1F6;
}
::-webkit-scrollbar-thumb {
  background: #bccddb;
  border-radius: 6px;
}

/* ---- PRINT --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
  .section, .content-wrapper, .card, .facts-grid, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
  }
}
