/* -------------------------
   CSS RESET & BASE STYLES
------------------------- */
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #223045;
  background: #F6F5F5;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38A3A5;
  text-decoration: underline;
}
strong {
  font-weight: 600;
}

/* Typography scale */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #22577A;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #223045;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #22577A;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #22577A;
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
blockquote {
  font-style: italic;
  color: #1B334D;
  border-left: 4px solid #38A3A5;
  padding-left: 20px;
  margin-bottom: 8px;
  background: #ECF5F7;
}
.author {
  display: block;
  font-size: 0.95rem;
  color: #22577A;
  font-weight: 500;
}

/* Spacing helpers */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

/* Hero Section */
.hero {
  background: linear-gradient(90deg, #22577A 70%, #38A3A5 100%);
  color: #fff;
  margin-bottom: 40px;
  padding: 60px 0 40px 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 24px 0 rgba(34,87,122,0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 18px;
}

/* Main Navigation & Header */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(34,87,122,0.05);
  padding: 0;
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #22577A;
  position: relative;
  padding: 6px 0px;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #38A3A5;
  transition: width 0.2s;
  position: absolute;
  bottom: -2px; left: 0;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.btn-primary {
  background: #38A3A5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px 0 rgba(34,87,122,0.07);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #22577A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(34,87,122,0.10);
  text-decoration: none;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #22577A;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 12px;
  transition: color 0.2s;
  z-index: 50;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #38A3A5;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 55, 70, 0.98);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.7,.2,.3,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 18px 24px 8px 24px;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 230;
  align-self: flex-end;
}
.mobile-menu-close:focus {
  outline: 2px solid #38A3A5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(56,163,165,0.10);
  text-align: left;
  width: 100%;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22577A;
  color: #38A3A5;
  text-decoration: none;
}

/* Card Grids and Features */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #F6F5F5;
  box-shadow: 0 2px 8px 0 rgba(34,87,122,0.04);
  border-radius: 12px;
  padding: 26px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.20s, transform 0.20s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 20px 0 rgba(34,87,122,0.12);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-list > div {
  background: #ECF5F7;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(34,87,122,0.08);
  padding: 20px 16px 18px 16px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-list > div:hover, .feature-list > div:focus-within {
  box-shadow: 0 6px 24px 0 rgba(56,163,165,0.15);
  transform: translateY(-3px) scale(1.01);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(56,163,165,0.07);
  margin-bottom: 20px;
  padding: 28px 18px 22px 18px;
  position: relative;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  transition: box-shadow 0.21s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px 0 rgba(34,87,122,0.13);
  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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(34,87,122,0.07);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote {
  background: transparent;
  color: #223045;
  border-left: 4px solid #38A3A5;
  margin-bottom: 0;
  padding-left: 0.9em;
}
.testimonial-card .author {
  align-self: flex-end;
  color: #22577A;
  margin-left: 16px;
}

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


/* CTA SECTION */
.cta {
  background: #22577A;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(34,87,122,0.12);
  margin-bottom: 40px;
  padding: 48px 0 36px 0;
}
.cta h2 {
  color: #fff;
}
.cta .btn-primary {
  background: #38A3A5;
  color: #fff;
  font-weight: 600;
  margin-top: 18px;
}
.cta .btn-primary:hover {
  background: #fff;
  color: #22577A;
}

/* -----------
   Footer
----------- */
footer {
  background: #1B334D;
  color: #fff;
  padding: 0px 0 0 0;
  border-radius: 16px 16px 0 0;
}
footer .container {
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.footer-brand img {
  width: 56px;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.99rem;
  color: #F6F5F5;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #ECF5F7;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: #38A3A5;
}
.footer-social {
  display: flex;
  gap: 17px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22577A;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #38A3A5;
}
.footer-social img {
  width: 20px;
  height: 20px;
}
footer p {
  font-size: 0.98rem;
  color: #F6F5F5;
}

/* -------- UI Micro-interactions -------- */
button, .btn-primary {
  transition: background 0.2s, color 0.2s, transform 0.17s, box-shadow 0.21s;
}
button:active, .btn-primary:active {
  transform: scale(0.98);
}

/* --------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #223045;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 22px 12px 22px 12px;
  box-shadow: 0 -2px 12px 0 rgba(34,87,122,0.15);
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .banner-message {
  max-width: 550px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .btn-cookie {
  background: #38A3A5;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 24px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .btn-cookie-reject {
  background: #F6F5F5;
  color: #223045;
}
.cookie-banner button:hover, .cookie-banner .btn-cookie:hover {
  background: #22577A;
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: #38A3A5;
  border: 2px solid #38A3A5;
  padding: 8px 22px;
  margin-left: 4px;
}
.cookie-banner .btn-cookie-settings:hover {
  background: #38A3A5;
  color: #fff;
}

/* -------- COOKIE MODAL -------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16,32,48,0.68);
  z-index: 3050;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #223045;
  border-radius: 14px;
  box-shadow: 0 4px 32px 0 rgba(34,87,122,0.15);
  padding: 42px 32px 28px 32px;
  min-width: 300px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalFadeIn 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes modalFadeIn {
  from {transform: translateY(40px) scale(0.97);opacity:0;}
  to {transform: translateY(0) scale(1);opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #22577A;
  margin-bottom: 10px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal label {
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #38A3A5;
  width: 18px;
  height: 18px;
  border-radius: 4px;
}
.cookie-modal-essential {
  opacity: 0.53;
  cursor: default;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #22577A;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.cookie-modal-close:hover {
  color: #38A3A5;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .btn-cookie, .cookie-modal .btn-cookie-reject, .cookie-modal .btn-cookie-settings {
  font-size: 1rem;
  border-radius: 6px;
}

/* ---- RESPONSIVENESS (Mobile first) ---- */
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  .main-nav {
    gap: 22px;
  }
  .feature-grid > div,
  .feature-list > div {
    max-width: 340px;
  }
}
@media (max-width: 900px) {
  .footer-flex {
    gap: 18px;
  }
  .feature-grid > div,
  .feature-list > div {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 44%;
  }
  .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
    border-radius: 10px;
  }
  .hero {
    padding: 38px 0 26px 0;
    border-radius: 0 0 16px 16px;
    margin-bottom: 18px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div, .feature-list > div {
    min-width: 95%;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 18px 12px 16px 12px;
  }
  .card-container {
    gap: 16px;
  }
  .card {
    min-width: 90%;
    max-width: 100%;
    padding: 18px 12px 12px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .text-section {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .container {
    padding: 14px 4px 10px 4px;
  }
  .footer-brand img {
    width: 38px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 7px 18px 7px;
    font-size: 0.98rem;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.58rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.24rem;
    margin-bottom: 10px;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .mobile-nav a {
    font-size: 1.08rem;
    padding: 13px 10px;
  }
  .section {
    padding: 12px 2px;
  }
}

/* ------- END OF CSS ------- */
