/* RESET & 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,
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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1B2230;
  background: #FDFCF9;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #21437C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #67C7DF;
  outline: none;
}
strong, b {
  font-weight: bold;
}
ul, ol {
  margin-left: 1.5em;
}
li + li {
  margin-top: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: normal;
  color: #21437C;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem;   margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 700; }
h4, h5, h6 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
p, .subtitle, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #445368;
  margin-bottom: 16px;
  font-weight: 500;
}
.subtitle {
  font-size: 1.25rem;
  color: #21437C;
  font-weight: 600;
}

/* CORE LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(33,67,124,0.06);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  padding: 0 0 0 0;
  border-bottom: 4px solid #67C7DF;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1001;
  min-height: 72px;
}
header > a img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 40px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #21437C;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #67C7DF;
  color: #fff;
}
header .btn-primary {
  margin-left: 24px;
  margin-right: 8px;
}
.mobile-menu-toggle {
  display: none;
  background: #21437C;
  color: #fff;
  font-size: 2rem;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #67C7DF;
  color: #fff;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(33,67,124, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
  padding: 0;
  display: none;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin: 16px 28px 0 0;
  cursor: pointer;
  z-index: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 28px auto 0 auto;
  width: 90%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 12px;
  border-radius: 10px;
  background: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #67C7DF;
  color: #21437C;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
}

/* MAIN BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #21437C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(33,67,124,0.11);
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.18s, transform 0.14s;
  letter-spacing: 1px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #67C7DF;
  color: #21437C;
  transform: translateY(-2px) scale(1.03);
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(33,67,124,0.07);
  padding: 28px 22px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  background: #FDFCF9;
  border: 2px solid #67C7DF;
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 220px;
  max-width: 540px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px 0 rgba(33,67,124,0.04);
  transition: box-shadow 0.17s, border 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 2px solid #21437C;
  box-shadow: 0 8px 32px 0 rgba(33,67,124,0.09);
}
.testimonial-card p {
  color: #21437C;
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 0;
}
.testimonial-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1rem;
  color: #445368;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

/* Feature grid (for home/solutions/about pages) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li {
  background: #F7FBFE;
  border: 2px solid #67C7DF;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(33,67,124,0.04);
  padding: 30px 22px;
  flex: 1 1 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
  margin-bottom: 20px;
  transition: border 0.21s, box-shadow 0.19s, background 0.17s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  border: 2px solid #21437C;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(33,67,124,0.10);
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: #1B2230;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.feature-grid p {
  font-size: 0.97rem;
  color: #445368;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.5;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 700px;
}
.text-section > ul, .text-section > ol {
  margin-bottom: 16px;
}
.text-section strong {
  color: #21437C;
  font-weight: 800;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #F7FBFE;
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(33,67,124,0.05);
  padding: 30px 22px;
}
.faq-list h2 {
  margin-bottom: 14px;
}

/* FOOTER / CONTACT */
footer {
  width: 100%;
  background: #21437C;
  color: #fff;
  padding: 44px 0 22px 0;
  margin-top: 48px;
}
footer .container {
  max-width: 1250px;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #67C7DF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #67C7DF;
  color: #21437C;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-contact img {
  height: 58px;
  margin-right: 12px;
}
.footer-contact div {
  color: #fff;
  font-size: 1rem;
}
.footer-contact a {
  color: #fff;
  border-bottom: 1px solid #67C7DF;
  transition: color 0.16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #67C7DF;
  border-bottom: 1px solid #fff;
}
.copyright {
  text-align: center;
  font-size: 0.93rem;
  color: #ace0f9;
  margin-top: 10px;
  font-weight: 500;
}

/* SPACING BETWEEN CARDS/SECTIONS */
section + section {
  margin-top: 24px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* MODERN GEOMETRIC SHAPES */
section {
  position: relative;
}
section::after {
  content: '';
  position: absolute;
  bottom: 22px;
  right: 32px;
  width: 70px;
  height: 70px;
  background: rgba(67,199,223,0.10);
  border-radius: 30% 70% 60% 40% / 55% 40% 60% 35%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
@media (max-width: 768px) {
  section::after {
    display: none;
  }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .header .container { padding: 0 12px; }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid li {
    min-width: 160px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper, .text-section {
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid li {
    max-width: 98vw;
    min-width: 0;
    padding: 20px 10px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* TRANSITIONS & MICRO-INTERACTIONS */
button, .btn-primary, .feature-grid li, .testimonial-card, header nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.13s;
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #21437C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  box-shadow: 0 -4px 28px 0 rgba(33,67,124,0.14);
  padding: 22px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  gap: 20px;
  flex-wrap: wrap;
  transition: transform 0.4s cubic-bezier(.77,0,.175,1), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  background: #67C7DF;
  color: #21437C;
  cursor: pointer;
  margin: 4px 2px 0 0;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button.accept {
  background: #67C7DF;
  color: #21437C;
}
.cookie-banner button.reject {
  background: #fff;
  color: #21437C;
  border: 2px solid #67C7DF;
}
.cookie-banner button.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #21437C;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,67,124,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #21437C;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(33,67,124,0.10);
  max-width: 400px;
  width: 98vw;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  background: #67C7DF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal h2 {
  color: #21437C;
  font-size: 1.17rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
}
.cookie-modal .cookie-group label {
  font-weight: 600;
  font-size: 1.05rem;
}
.cookie-modal .switch {
  position: relative;
  width: 48px;
  height: 26px;
  display: inline-block;
}
.cookie-modal .switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background-color: #e3eaf6;
  border-radius: 14px;
  height: 100%;
  width: 100%;
  transition: background 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #67C7DF;
}
.cookie-modal .slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 1px 3px rgba(33,67,124,0.16);
}
.cookie-modal .switch input:checked + .slider::before {
  transform: translateX(20px);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 22px;
  border-radius: 9px;
  border: none;
  background: #67C7DF;
  color: #21437C;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
}
.cookie-modal .cookie-actions button:last-child {
  background: #fff;
  color: #67C7DF;
  border: 2px solid #67C7DF;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: #21437C;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 5px 16px 5px;
    max-width: 99vw;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideInMenu {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.mobile-menu.open {
  animation: slideInMenu 0.28s cubic-bezier(.77,0,.175,1);
}
.mobile-menu:not(.open) {
  animation: slideOutMenu 0.25s cubic-bezier(.77,0,.175,1) reverse;
}

.cookie-modal, .cookie-banner {
  animation: fadeIn 0.34s;
}

/* ACCESSIBILITY STATES */
.btn-primary:focus-visible, .footer-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #67C7DF;
  outline-offset: 2px;
}

/* CUSTOM FOCUS for cards */
.feature-grid li:focus-within {
  outline: 3px solid #21437C;
  outline-offset: 2px;
}
.testimonial-card:focus-within {
  outline: 3px solid #67C7DF;
  outline-offset: 2px;
}

/* SCROLLBAR (optional for modern look) */
::-webkit-scrollbar {
  width: 9px;
  background: #FDFCF9;
}
::-webkit-scrollbar-thumb {
  background: #e3eaf6;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #67C7DF;
}

/* Prevent overlap issues */
.feature-grid li, .card, .testimonial-card, .faq-list, .section {
  z-index: 1;
}
section {
  z-index: 0;
}


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