/* 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F3F6FA;
  color: #1F396A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-width: 320px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1F396A;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:focus, button:focus {
  outline: 2px solid #3AD29F;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}

/* SCROLLBAR (geometric style) */
::-webkit-scrollbar {
  width: 10px;
  background: #E5EDF5;
}
::-webkit-scrollbar-thumb {
  background: #1F396A;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: #E5EDF5;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #1F396A;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, td, th { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; color: #253C5C; }

/* CONTAINER AND STRUCTURED LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31,57,106,0.06);
  border-radius: 24px;
}

/* GRID-LIKE FLEX CONTAINERS */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 2px solid #E5EDF5;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(31,57,106,0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.card:hover {
  border-color: #3AD29F;
  box-shadow: 0 8px 22px rgba(58,210,159,0.08);
}
.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;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .container { padding: 0 14px; }
  .section { padding: 32px 10px; margin-bottom: 36px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* BUTTONS */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1F396A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 34px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 2px 14px rgba(31,57,106,0.13);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  margin-top: 8px;
}
.button-primary:hover, .button-primary:active {
  background: #3AD29F;
  color: #1F396A;
  box-shadow: 0 6px 24px rgba(58,210,159,0.11);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1F396A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 30px;
  border-radius: 100px;
  border: 2px solid #3AD29F;
  box-shadow: 0 1px 7px rgba(58,210,159,0.08);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  margin-top: 8px;
}
.button-secondary:hover,
.button-secondary:active {
  background: #3AD29F;
  color: #fff;
  border-color: #1F396A;
}

/* HEADER / NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(31,57,106,0.04);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  padding: 6px 7px 6px 7px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  position: relative;
  transition: background 0.14s, color 0.13s;
}
header nav a:hover, header nav a.active {
  background: #3AD29F;
  color: #fff;
}
header a img {
  height: 38px; width: auto;
}

/* Hide mobile nav by default, show button */
.mobile-menu-toggle {
  display: none;
  background: #1F396A;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.14s, color 0.11s;
  z-index: 203;
}
.mobile-menu-toggle:hover {
  background: #3AD29F;
  color: #1F396A;
}

@media (max-width: 1020px) {
  header .container nav, header .container > .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F3F6FA;
  box-shadow: 0 4px 42px rgba(31,57,106,0.18);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.73,-0.01,.51,1.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: #3AD29F;
  color: #fff;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 22px;
  right: 22px;
  transition: background 0.14s, color 0.11s;
  z-index: 206;
}
.mobile-menu-close:hover {
  background: #1F396A;
  color: #fff;
}
.mobile-nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1F396A;
  background: #fff;
  padding: 16px 26px;
  border-radius: 14px;
  transition: background 0.18s, color 0.17s;
  box-shadow: 0 1px 7px rgba(31,57,106,0.04);
  min-width: 180px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #3AD29F;
  color: #fff;
}

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

/* MAIN CONTENT SECTIONS */
main section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  margin-bottom: 0;
}

section .container > h1,
section .container > h2 {
  text-align: left;
}

/* FEATURED LISTS */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.content-wrapper li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  background: #fff;
  border-radius: 17px;
  padding: 16px 24px;
  box-shadow: 0 1px 4px rgba(31,57,106,0.06);
  margin-bottom: 10px;
  border-left: 4px solid #3AD29F;
  min-width: 290px;
  flex: 1 1 290px;
  transition: box-shadow 0.18s, border-left-color 0.18s;
}
.content-wrapper li img {
  height: 32px;
  width: 32px;
}
.content-wrapper li:hover {
  border-left-color: #1F396A;
  box-shadow: 0 4px 12px rgba(31,57,106,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 767px) {
  .content-wrapper ul, .content-wrapper ol {
    flex-direction: column;
    gap: 10px;
  }
  .content-wrapper li {
    min-width: 0;
    padding: 14px 12px;
    font-size: 0.98rem;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 34px 20px 24px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31,57,106,0.08);
  border-left: 8px solid #3AD29F;
  color: #1F396A;
  min-width: 200px;
  max-width: 760px;
  font-size: 1.08rem;
  position: relative;
  transition: box-shadow 0.24s, border-left-color 0.16s;
}
.testimonial-card p {
  color: #1F396A;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #3AD29F;
  font-family: 'Roboto', Arial, sans-serif;
  margin-left: 16px;
}
.testimonial-card:hover {
  border-left-color: #1F396A;
  box-shadow: 0 10px 28px rgba(58,210,159,0.13);
}

@media (max-width: 660px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
  }
  .testimonial-meta { margin-left: 0; }
}

/* STRUCTURED TABLES */
table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31,57,106,0.08);
  margin-bottom: 16px;
}
th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  text-align: left; 
  padding: 16px 12px;
  border-bottom: 1px solid #E5EDF5;
}
th {
  background: #1F396A;
  color: #fff;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block !important; width: 100% !important; }
  th, td { padding: 10px 7px; }
  tr { margin-bottom: 12px; }
}

/* CTA */
.cta-section {
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 3px 12px rgba(31,57,106,0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  align-items: flex-start;
}
.cta-section .button-primary {
  background: #3AD29F;
  color: #1F396A;
}
.cta-section .button-primary:hover { background: #fff; color: #3AD29F; }

@media (max-width: 600px) {
  .cta-section {
    padding: 16px 10px;
    margin-top: 10px;
  }
}

/* COMPLIANCE BADGES */
.compliance-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.compliance-badges img {
  height: 40px;
  width: auto;
}

/* FOOTER */
footer {
  background: #1F396A;
  color: #fff;
  margin-top: 60px;
  padding: 40px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
}
.footer-logo img {
  height: 48px; width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  min-width: 160px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 5px 3px;
  transition: background 0.12s, color 0.12s;
}
footer nav a:hover {
  background: #3AD29F;
  color: #1F396A;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  margin-top: 7px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}
.footer-contact img {
  height: 23px;
  width: 23px;
}
@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo img {
    height: 44px;
  }
}

/* GEOMETRIC EFFECT DECORATIVE CLASSES */
.section:before, .card:before {
  content: '';
  display: none;
}
@media (min-width: 1200px) {
  .section:before {
    display: block;
    position: absolute;
    left: -60px; top: -60px;
    width: 120px; height: 120px;
    background: rgba(58,210,159,0.09);
    border-radius: 24px 60px 20px 100px;
    z-index: 0;
  }
}

/* MICRO-INTERACTIONS */
.button-primary, .button-secondary, a, nav a, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.button-primary:active, .button-secondary:active, .mobile-menu-close:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}

/* COOKIE BANNER & COOKIE MODAL */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1F396A;
  color: #fff;
  width: 100vw;
  z-index: 900;
  box-shadow: 0 -4px 22px rgba(31,57,106,0.20);
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.22s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-banner .cookie-btn {
  border: none;
  border-radius: 20px;
  margin-left: 8px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(58,210,159,0.08);
  margin-top: 8px;
  transition: background 0.12s, color 0.10s, border 0.12s;
}
#cookie-banner .cookie-btn.accept {
  background: #3AD29F;
  color: #1F396A;
}
#cookie-banner .cookie-btn.accept:hover {
  background: #19b086;
}
#cookie-banner .cookie-btn.reject {
  background: #fff;
  border: 2px solid #3AD29F;
  color: #1F396A;
}
#cookie-banner .cookie-btn.reject:hover {
  background: #3AD29F;
  color: #fff;
}
#cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  border: none;
}
#cookie-banner .cookie-btn.settings:hover { color: #3AD29F; }

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 5px 16px 7px;
    border-radius: 0;
  }
}

#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(31,57,106,0.50);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#cookie-modal.open {
  display: flex;
  animation: fadeIn 0.23s;
}
@keyframes fadeIn {from { opacity: 0; } to { opacity: 1; }}
#cookie-modal .cookie-modal-content {
  background: #fff;
  color: #1F396A;
  border-radius: 24px;
  max-width: 95vw;
  width: 420px;
  box-shadow: 0 6px 32px rgba(31,57,106,0.18);
  padding: 34px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
#cookie-modal h3 { font-family: 'Montserrat', Arial, sans-serif; margin-bottom: 12px; color: #1F396A; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3F6FA;
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 10px;
}
.cookie-category .cookie-toggle {
  appearance: none;
  background: #E5EDF5;
  width: 46px;
  height: 26px;
  border-radius: 21px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-category .cookie-toggle:checked {
  background: #3AD29F;
}
.cookie-category .cookie-toggle::after {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-category .cookie-toggle:checked::after {
  left: 23px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1F396A;
}
.cookie-category .cookie-category-required {
  color: #3AD29F;
  font-size: 0.92em;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 90px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

@media (max-width: 480px) {
  #cookie-modal .cookie-modal-content {
    padding: 14px 7px 18px 7px;
    width: 98vw;
  }
  #cookie-modal h3 { margin-bottom: 7px; }
}

/* GEOMETRIC DECORATIVE SHAPES */
.geometric-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* ANIMATIONS */
.fadeInUp {
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(.19,1,.22,1) forwards;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STRUCTURED SPACING BETWEEN SECTIONS */
main section:not(:last-child) {
  margin-bottom: 44px;
}
@media (max-width: 600px) {
  main section:not(:last-child) { margin-bottom: 26px; }
}

/* UTILS */
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* COLOR ACCESSIBILITY UTIL */
.bg-accent {
  background: #F3F6FA !important;
  color: #1F396A !important;
}
.bg-primary { background: #1F396A !important; color: #fff !important; }
.bg-secondary { background: #3AD29F !important; color: #fff !important; }

/* FORM ELEMENTS (for contact pages) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1F396A;
  background: #fff;
  border: 1.5px solid #E5EDF5;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.13s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #3AD29F;
  box-shadow: 0 2px 10px rgba(58,210,159,0.09);
}

/* ACCESSIBILITY & OUTLINE FOR FOCUS */
*:focus-visible {
  outline: 2px solid #3AD29F;
  outline-offset: 2px;
  transition: outline 0.12s;
}

/* Z-INDEX COORDINATION */
header { z-index: 100; }
footer { z-index: 50; }
.mobile-menu { z-index: 200; }
.mobile-menu-toggle { z-index: 203; }
#cookie-banner { z-index: 900; }
#cookie-modal { z-index: 1001; }

/* Hide visually but keep in DOM (for accessibility) */
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
