/* ===================================================
   CSS RESET & NORMALIZATION (mobile-first, box-sizing) 
   =================================================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #101B2D;
  color: #EAF3FF;
  font-size: 16px;
  line-height: 1.6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #69A0D1;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #FFCB47;
  text-shadow: 0 0 4px #FFCB47;
}
ul, ol {
  list-style: none;
}

/* Typography: Futuristic, Modern Hierarchy */
body,
p,
.text-section, .testimonial-meta, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFCB47;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 14px;
}

strong {
  color: #69A0D1;
  font-weight: 700;
}

/* =====================================
   Layout Containers & Spacing Patterns
   ==================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #132046;
  border-radius: 22px;
  box-shadow: 0 4px  32px 0 rgba(21,53,97,.1);
  /* Subtle inner glow effect */
  position: relative;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* =====================
   Feature (Flex) Grids
   ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-grid > div {
  background: linear-gradient(145deg, #1e2c4b 72%, #101B2D 100%);
  border-radius: 18px;
  padding: 24px 20px;
  min-width: 230px;
  max-width: 100%;
  flex: 1 1 260px;
  box-shadow: 0 3px 18px 0 rgba(105,160,209,0.05), 0 0 0 1.5px #293e67;
  border: 1.5px solid #1b3d6c;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.22s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 #69A0D1aa, 0 0 4px 1px #FFCB47;
  border-color: #69A0D1;
}
.feature-grid img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 5px #69A0D1dd);
}

/* ==============
  Card Containers
  ============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #182344;
  border: 1.5px solid #2a426b;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 3px 18px 0 rgba(21,53,97,0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 13px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 24px 0 #69A0D1bb;
  border-color: #69A0D1;
}

/* =============
  Flex Patterns
  ============= */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F4F8FF;
  color: #1b223a;
  border-radius: 15px;
  box-shadow: 0 4px 32px 0 rgba(21,53,97,0.10);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 100%;
  flex: 1 1 300px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.54;
  margin-bottom: 6px;
  color: #102142;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card .testimonial-meta {
  color: #345389;
  font-size: .95rem;
  margin-bottom: 2px;
}
.testimonial-card img {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 #FFCB4799, 0 0 4px #153561;
  transform: scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================================
   HEADER, NAVIGATION & MOBILE MENU
   ===================================== */
header {
  width: 100%;
  background: #101B2D;
  box-shadow: 0 1.5px 7px 0 rgba(21,53,97,0.10);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 22px 20px 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  color: #EAF3FF;
  font-size: 1rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s, text-shadow 0.18s;
}
header nav a:not(.cta-primary):after {
  content: '';
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #69A0D1;
  width: 0;
  margin: 0 auto;
  transition: width 0.23s;
}
header nav a:not(.cta-primary):hover:after,
header nav a:not(.cta-primary):focus:after {
  width: 80%;
}
header nav a.cta-primary {
  color: #101B2D;
  background: linear-gradient(90deg,#FFCB47 75%,#ffe399 100%);
  border-radius: 22px;
  padding: 8px 20px;
  font-weight: 700;
  box-shadow: 0 0 0 2px #FFCB47aa;
  letter-spacing: 0.02em;
  border: none;
  transition: background 0.18s, transform 0.17s;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #ffe399;
  color: #132046;
  transform: scale(1.04);
  box-shadow: 0 0 0 4px #FFCB47aa;
}
header nav img {
  height: 32px;
  width: auto;
  margin-right: 12px;
}

/* Hamburger Button (mobile only) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 19px;
  z-index: 1010;
  background: none;
  border: none;
  color: #FFCB47;
  font-size: 2.2rem;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 9px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #69A0D122;
}

/* Mobile Slide-in Menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #101B2Dde;
  box-shadow: 0 8px 40px 8px #101B2Df0;
  z-index: 2000;
  padding: 28px 28px 16px 24px;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.44,0,.12,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #FFCB47;
  border: none;
  background: none;
  margin-left: auto;
  margin-bottom: 30px;
  padding: 2px 10px 2px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #69A0D133;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #EAF3FF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0 10px 7px;
  border-radius: 7px;
  transition: background 0.18s, color 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #69A0D13a;
  color: #FFCB47;
  text-shadow: 0 0 7px #FFCB47;
}

@media (max-width: 1024px) {
  header nav {
    gap: 10px 18px;
    padding: 16px 8px 10px 4px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  section {
    padding: 30px 6vw;
  }
}
@media (max-width: 768px) {
  section {
    padding: 22px 4vw;
    margin-bottom: 32px;
  }
  .container, .content-wrapper {
    padding: 0;
    gap: 16px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 12px;
  }
}

@media (max-width: 700px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 701px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* =======================
   BUTTONS & CTAs (NEON)
   ======================= */
.cta-primary, .cta-secondary, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  padding: 10px 26px;
  font-size: 1.1rem;
  box-shadow: 0 0 6px #15356140;
  margin-right: 6px;
  margin-top: 7px;
  text-align: center;
  transition: background 0.16s, color 0.16s, transform .17s, box-shadow .20s;
  outline: none;
}
.cta-primary {
  background: linear-gradient(90deg,#FFCB47 75%,#ffe399 100%);
  color: #101B2D;
  text-shadow: 0 2px 12px #FFE39988;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #101B2D;
  color: #FFCB47;
  border: 2px solid #FFCB47;
  box-shadow: 0 0 14px #FFCB47, 0 2px 16px #ffe39933;
  transform: scale(1.045);
}
.cta-secondary {
  background: #191c22;
  color: #69A0D1;
  border: 2px solid #69A0D1;
  margin-left:8px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #153561;
  color: #FFCB47;
  box-shadow: 0 0 8px #69A0D1, 0 2px 12px #FFCB4777;
  border-color: #FFCB47;
  transform: scale(1.035);
}

button:active {
  transform: scale(0.98);
}

input[type="search"] {
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  background: #181f3a;
  color: #FFCB47;
  font-size: 1.1rem;
  width: 100%;
  margin: 12px 0 4px 0;
  box-shadow: 0 2px 7px #101B2D44;
  outline: none;
  transition: background 0.17s, box-shadow 0.19s, color 0.13s;
}
input[type="search"]:focus {
  background: #153561;
  box-shadow: 0 0 12px #69A0D1cc;
  color: #fff;
}

/* =================
   LISTS & DETAILS
   ================= */
ul {
  margin-left: 1.2em;
  margin-bottom: 14px;
  padding-left: 0;
}
ul li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  line-height: 1.6;
  font-size: 1.01rem;
  color: #c7e2ff;
}
ul li img {
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
}
ul li strong {
  color: #FFCB47;
}

/* Tag Spans for blog */
span {
  background: #153561;
  color: #FFCB47;
  padding: 1px 9px 3px 9px;
  font-size: 0.92em;
  border-radius: 11px;
  margin-left: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =================
   FOOTER STYLES
   ================= */
footer {
  width: 100%;
  padding: 26px 16px 18px 16px;
  background: #101B2D;
  border-top: 2px solid #153561;
  margin-top: 60px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
footer nav a {
  color: #69A0D1;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-bottom 0.22s;
}
footer nav a:hover {
  color: #FFCB47;
  border-bottom: 1.5px solid #FFCB47;
}
footer .text-section {
  color: #9dbfde;
  text-align: center;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #153561;
  color: #FFCB47;
  box-shadow: 0 -3px 20px 0 #101B2Daa;
  padding: 20px 20px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  gap: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
  transition: opacity .36s, transform .37s;
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #FFCB47;
  border: 2px solid #FFCB47;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 14px;
  margin-left: 7px;
  transition: background .18s, color .17s, border .10s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #FFCB47;
  color: #153561;
  border-color: #153561;
}
.cookie-banner .cookie-accept {
  background: #69A0D1;
  color: #FFF;
  border: 2px solid #69A0D1;
  font-weight: 700;
  margin-left: 7px;
  margin-right: 3px;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #FFCB47;
  color: #101B2D;
  border-color: #FFCB47;
}
.cookie-banner .cookie-reject {
  background: #182344;
  color: #FFCB47;
  border: 2px solid #FFCB47;
  font-weight: 700;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #153561;
  color: #fff;
  border-color: #EAF3FF;
}

@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #101B2Dcc;
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .37s;
}
.cookie-modal.active { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: #F4F8FF;
  color: #153561;
  border-radius: 18px;
  max-width: 97vw;
  width: 350px;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 8px 30px 0 #15356144;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-content h3 {
  color: #153561;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
}
.cookie-modal-content .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 12px 0;
}
.cookie-modal-content label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #69A0D1;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-modal-content .essential[disabled] + span {
  color: #ADB8CB;
  text-decoration: line-through;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #69A0D1;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-content .close-modal:hover,
.cookie-modal-content .close-modal:focus {
  color: #FFCB47;
}

.cookie-modal-content .save-cookies {
  background: #69A0D1;
  color: #fff;
  border: 2px solid #69A0D1;
  font-weight: 700;
  border-radius: 14px;
  margin-top: 16px;
  padding: 8px 14px;
  transition: background .18s, color .17s;
}
.cookie-modal-content .save-cookies:hover, .cookie-modal-content .save-cookies:focus {
  background: #FFCB47;
  color: #101B2D;
  border-color: #FFCB47;
}

/* ==============
   ANIMATION FX
   ============= */
section, .card, .feature-grid>div, .testimonial-card {
  animation: sectionFadeIn .85s cubic-bezier(.17, .67, .83, .67);
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Focus outlines - accessible but modern */
:focus {
  outline: 2px solid #FFCB47;
  outline-offset: 2px;
}

/* Miscellaneous/flex patterns */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  nav a, .mobile-nav a, button, .cta-primary, .cta-secondary { font-size: .98rem; }
  .container, .content-wrapper { gap: 10px; }
}

/* SCROLLBAR (futuristic accent) */
::-webkit-scrollbar {
  width: 12px;
  background: #101B2D;
}
::-webkit-scrollbar-thumb {
  background: #69A0D1;
  border-radius: 8px;
  border: 3.5px solid #101B2D;
}

/* ================
   MISC COMPONENTS
   ================ */
blockquote {
  border-left: 3px solid #69A0D1;
  padding-left: 14px;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Hide visually but make screen-reader accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { background: #fff; color: #101B2D; box-shadow: none; }
}
