/* -----------------------------
   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 {
  border: 0;
  box-sizing: border-box;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #15182C;
  color: #E9EAF3;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
a {
  color: #3DBFA7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #89FFE1;
  text-decoration: underline;
}
ul, ol {
  padding-left: 22px;
}
strong {
  font-weight: 700;
}

/* Typography */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 2.125rem;
  margin-bottom: 18px;
  color: #FFF;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #3DBFA7;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #89FFE1;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #3DBFA7;
}
p {
  font-size: 1rem;
  color: #E9EAF3;
  margin-bottom: 12px;
}
.section p, .card p, .feature p, .testimonial-card p {
  color: #E9EAF3;
}

/* Container & Layout Base */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Section Spacing (MUST MATCH REQUIREMENTS) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #1b365d 60%, #003156 100%);
  padding: 60px 0 40px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero p {
  font-size: 1.15rem;
  color: #BFE6FA;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* BUTTONS & CTA */
.cta-btn {
  background: linear-gradient(90deg, #3DBFA7 60%, #89FFE1 100%);
  color: #1b365d;
  border: none;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 36px;
  box-shadow: 0 0 8px 2px #2b818d66;
  transition: background 0.23s, color 0.22s, box-shadow 0.22s, transform 0.13s;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #89FFE1 15%, #3DBFA7 80%);
  color: #0C2329;
  box-shadow: 0 0 16px 2px #3DBFA7aa;
  transform: translateY(-2px) scale(1.02);
}

/* NAVIGATION */
header {
  background: #141A2B;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-right: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #E9EAF3;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #3DBFA7;
}
header .cta-btn {
  margin-left: 14px;
  margin-right: 16px;
  padding: 10px 26px;
  font-size: 1rem;
}
header img {
  height: 36px;
  width: auto;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  background: none;
  color: #3DBFA7;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  padding: 0 8px;
  line-height: 1;
  z-index: 125;
  transition: color 0.19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #89FFE1;
}
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 16, 32, 0.96);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.34s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #3DBFA7;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1220;
  padding: 0 12px;
  line-height: 1;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 36px;
  margin-top: 34px;
}
.mobile-nav a {
  color: #E9EAF3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 6px 0 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #3DBFA7;
  border-bottom: 1px solid #3DBFA7;
}

/* ----------------------------------------
      FLEXBOX STANDARD CONTAINER CLASSES
----------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #1B2336;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #10202b44;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.24s, border 0.15s, transform 0.17s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px 2px #3DBFA788, 0 0 0 2px #3DBFA7;
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
}

.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;
  padding: 20px;
  background: #F9F9F6;
  color: #1B365D;
  border-radius: 16px;
  box-shadow: 0 2px 12px #19796D13, 0 0 0 2px #3DBFA73C;
  margin-bottom: 20px;
  max-width: 440px;
  transition: box-shadow 0.18s, background 0.16s;
}
.testimonial-card p {
  color: #222D4A;
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #19796D;
}
.testimonial-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1B2336;
  border-radius: 14px;
  padding: 22px 16px;
  margin: 0 0 20px 0;
  box-shadow: 0 1px 7px #3DBFA728;
}

/* HOMEPAGE: Features Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #181B27;
  border: 1.5px solid #243B5A;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #3DBFA71f;
  padding: 26px 18px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 320px;
  transition: box-shadow 0.2s, border 0.16s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature img {
  width: 38px;
  height: 38px;
}
.feature h3 {
  font-size: 1.17rem;
}
.feature:hover, .feature:focus {
  box-shadow: 0 6px 28px 3px #3DBFA759;
  border: 1.5px solid #3DBFA7;
  transform: translateY(-3px);
}

/* Footer */
footer {
  background: #171C2D;
  color: #E9EAF3;
  padding: 24px 0 16px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
footer nav a {
  color: #3DBFA7;
  transition: color 0.19s;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #89FFE1;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: #BFE6FA;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}

/* CONTACT DATA ITEMS */
.contact-data {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}
.contact-data li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E9EAF3;
  font-size: 1.07rem;
}
.contact-data img {
  width: 22px; height: 22px;
}
.text-section {
  margin-top: 20px;
  max-width: 550px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(80deg, #181B27 65%, #3DBFA7 100%);
  padding: 44px 0;
  margin-top: 38px;
}
.cta .container {
  flex-direction: column;
  align-items: center;
}
.cta .content-wrapper {
  align-items: center;
  width: 100%;
}
.cta .cta-btn {
  margin-top: 22px;
}

/* LISTS */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #E9EAF3;
  font-size: 1.04rem;
}
ul li strong, ol li strong {
  color: #3DBFA7;
}

/* MODALS/BANNERS */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #232B4A;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 28px #19796D27;
  padding: 24px 18px 20px 18px;
  z-index: 3000;
  gap: 16px;
  animation: cookieSlideIn 0.6s cubic-bezier(.43,1.34,.59,.98);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 11px 22px;
  border-radius: 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.15s, box-shadow 0.12s;
}
.cookie-btn.accept {
  background: #3DBFA7;
  color: #111E2A;
  box-shadow: 0 1px 5px #3DBFA755;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #89FFE1;
  color: #111E2A;
}
.cookie-btn.reject {
  background: #181B27;
  color: #BFE6FA;
  border: 1.2px solid #3DBFA7;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #222A39;
  color: #89FFE1;
}
.cookie-btn.settings {
  background: #232B4A;
  color: #3DBFA7;
  border: 1.2px solid #3DBFA7;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #181B27;
  color: #89FFE1;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  min-width: 330px;
  max-width: 468px;
  background: #222A39;
  color: #F9F9F6;
  border-radius: 18px;
  box-shadow: 0 10px 40px #3DBFA799;
  padding: 38px 26px 26px 26px;
  z-index: 4100;
  display: none;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.open {
  display: flex;
  animation: cookieSlideModalIn 0.48s cubic-bezier(.2,2,.32,.97);
}
@keyframes cookieSlideModalIn {
  from { opacity: 0; transform: translate(-50%,-70%); }
  to { opacity: 1; transform: translate(-50%,-56%); }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  color: #89FFE1;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #3DBFA7;
}
.cookie-category .essential-label {
  color: #3DBFA7;
  font-weight: 600;
}
/* Essential (always enabled) */
.cookie-category input[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Micro-Interactions */
.section, .card, .feature, .cta, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.16s, background 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #F2FFFB;
  box-shadow: 0 4px 24px #3DBFA760;
}

/* Accessibility: Focus State */
:focus-visible {
  outline: 2.8px solid #3DBFA7;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding: 38px 0 24px 0;
  }
}
@media (max-width: 768px) {
  /* General font resizing */
  h1, .hero h1 {
    font-size: 1.48rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.12rem;
    margin-bottom: 16px;
  }
  .hero p, p {
    font-size: 0.96rem;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 38px;
  }

  header .container {
    padding: 12px 7px 12px 7px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
  .feature-grid, .testimonial-group, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-contact span {
    font-size: 0.96rem;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 510px) {
  .cookie-modal {
    min-width: 220px;
    max-width: 96vw;
    padding: 20px 11px 11px 11px;
  }
  .cookie-modal-close {
    top:9px; right:8px; font-size:1.80rem;
  }
}

/* Utility Classes */
.hide {
  display: none !important;
}
.show {
  display: flex !important;
}

/* Z-Index Utility */
.z-over-footer {
  z-index: 2300;
}

/* ---- END ---- */
