/* =======================================================
   CSS RESET & NORMALIZE (reduced for performance)
   ======================================================= */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #121C28;
  color: #F5F7FA;
  min-height: 100vh;
  font-size: 16px;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1FE6FF;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #13C6C0;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===========================
   BRAND VARIABLES & FONTS
   =========================== */
:root {
  --color-primary: #246092;
  --color-secondary: #172C44;
  --color-accent: #F5F7FA;
  --color-bg-deep: #101C2D;
  --color-bg-card: #182536;
  --color-bg-gradient: #182536;
  --color-neon: #1FE6FF;
  --color-focus: #13C6C0;
  --color-shadow: rgba(31, 230, 255, 0.08);
  --color-shadow-intense: rgba(31,230,255,0.22);
  --color-text-headline: #F5F7FA;
  --color-text-body: #b5c6e0;
  --color-text-dark: #181C21;
  --radius: 14px;
  --shadow: 0 2px 18px var(--color-shadow);
  --shadow-intense: 0 4px 28px var(--color-shadow-intense);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/* ===========================
   LAYOUT & CONTAINERS
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper, .content-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper, .content-grid {
    gap: 16px;
  }
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-headline);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  line-height: 1.25;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, ul, ol, li, span, em, strong {
  font-family: var(--font-body);
  color: var(--color-text-body);
}
p {
  font-size: 1.12rem;
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #35FAFC;
}
em {
  font-style: italic;
  color: #78FCF8;
}

@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: var(--color-bg-deep);
  backdrop-filter: blur(3px);
  border-bottom: 2px solid #202F49;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  position: relative;
}
.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px #13C6C0A0);
  transition: filter 0.2s;
}
.logo:hover img {
  filter: drop-shadow(0 2px 16px #1FE6FF);
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #B5E5FC;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.05rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.18s;
}
.main-nav a:after {
  display: block;
  content: '';
  height: 3px;
  width: 0;
  background: linear-gradient(90deg,#13C6C0,#1FE6FF);
  border-radius: 2px;
  transition: width 0.22s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1FE6FF;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.cta-primary {
  background: linear-gradient(90deg,#13C6C0 40%, #1FE6FF 90%);
  color: #172C44;
  font-weight: 700;
  padding: 0.85em 2em;
  font-size: 1.12rem;
  border-radius: 32px;
  box-shadow: 0 2px 20px #0ff3 0.15;
  transition: background 0.22s, color 0.19s, box-shadow 0.19s;
  border: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg,#1FE6FF 40%, #13C6C0 100%);
  color: #172C44;
  box-shadow: 0 2px 30px #1FE6FF44;
}
.cta-secondary {
  border: 2px solid #1FE6FF;
  color: #1FE6FF;
  background: transparent;
  border-radius: 32px;
  font-weight: 600;
  padding: 0.7em 2em;
  font-size: 1.06rem;
  transition: all 0.18s;
  margin-top: 2px;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #1FE6FF11;
  color: #13C6C0;
  border-color: #13C6C0;
  box-shadow: 0 2px 14px #1FE6FF66;
}

/* MOBILE NAVIGATION*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-bg-deep);
  border: none;
  color: #1FE6FF;
  font-size: 2.1rem;
  line-height: 1;
  padding: 8px 12px;
  z-index: 110;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  margin-left: 8px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #182536;
  color: #fff;
  box-shadow: 0 0 0 2px #13C6C066;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #101A2DCC;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.5,1,.1,1);
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #1FE6FF;
  font-size: 2rem;
  margin: 22px 0 16px 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.18s;
  z-index: 210;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
  text-shadow: 0 0 8px #13C6C0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding: 8px 34px 0 34px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 12px 8px;
  margin-right: 0;
  background: none;
  transition: color 0.18s, background 0.18s;
  position: relative;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #1FE6FF;
  background: #182536;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    padding: 0 5vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    gap: 11px;
    padding: 4px 14px 0 18px;
  }
  .main-nav {display: none;}
}

/* ===========================
   HERO / SECTION LAYOUTS
   =========================== */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
  background: linear-gradient(135deg, #172C44 60%, #246092 140%), #162440;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
section:nth-child(even) {
  background: linear-gradient(135deg,#172C44 70%, #1FE6FF 300%), #162440;
}
section > .container {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 768px) {
  section {
    padding: 28px 0px;
    margin-bottom: 34px;
  }
}

/* ===========================
   CARDS, CARD CONTAINERS
   =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-intense), 0 0 0 2px #1FE6FF25;
  transform: translateY(-3px) scale(1.01); 
}

/* ===========================
   FLEXBOX CONTENT/SPACING
   =========================== */
.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: #F5F7FA;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px #1FE6FF1A;
  color: #182536;
  flex: 1 1 320px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s;
}
.testimonial-card p {
  color: #182536;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  color: #246092;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 20px;
}
.testimonial-card:hover {box-shadow: 0 4px 18px #13C6C044;}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: 100%;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===========================
   TABLES
   =========================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #172C44;
  border-radius: var(--radius);
  overflow: hidden;
  color: #F5F7FA;
}
thead {
  background: #246092;
}
td, th {
  padding: 12px 14px;
  border-bottom: 1px solid #223351;
  letter-spacing: 0.01em;
}
th { font-family: var(--font-display); font-size: 1.06rem; }
tbody tr:hover {
  background: #223351;
}
tr:last-child td {
  border-bottom: none;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: linear-gradient(90deg, #172C44 70%, #246092 140%);
  border-top: 2px solid #1FE6FF25;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 20px 24px 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #1FE6FF;
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #F5F7FA;}
.footer-contact {
  color: #B1D4E5;
  font-size: 0.97rem;
  line-height: 1.5;
}
footer img {
  height: 38px; width: auto;
}
@media (max-width: 900px) {
  footer .container {flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 12px;}
  .footer-nav {gap: 12px; margin-bottom: 8px;}
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #172C44;
  color: #F5F7FA;
  border-top: 3px solid #1FE6FF;
  z-index: 400;
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 -2px 24px #1FE6FF33;
  animation: cookieBannerIn 0.5s cubic-bezier(.22,.68,.34,1.01);
}
@keyframes cookieBannerIn {from { transform: translateY(100%);} to { transform: translateY(0);} }
.cookie-banner p {
  color: #F5F7FA;
  margin: 0; font-size: 1.05rem;
  max-width: 530px;
}
.cookie-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: #1FE6FF;
  color: #172C44;
  border-radius: 28px;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 9px 22px;
  margin-right: 4px;
  border: none;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cookie-btn.secondary-btn {
  background: none;
  border: 2px solid #1FE6FF;
  color: #1FE6FF;
  font-weight: 600;
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #13C6C0;
  color: #fff;
  box-shadow: 0 2px 16px #1FE6FF44;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;right: 0; bottom: 0;
  background: #101A2DCC;
  backdrop-filter: blur(2px);
  z-index: 410;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalIn .32s both cubic-bezier(.42,0,1,1);
}
@keyframes modalIn {from{opacity:0;transform:scale(.98);} to{opacity:1;transform:scale(1);}}
.cookie-modal {
  background: #172C44;
  color: #F5F7FA;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px #13C6C043;
  max-width: 98vw;
  min-width: 320px;
  width: 420px;
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopIn .36s cubic-bezier(.5,1,.1,.97);
}
@keyframes modalPopIn {from{transform:scale(.93) translateY(24px);opacity:0;} to{transform:scale(1) translateY(0);opacity:1;}}
.cookie-modal h2 {
  color: #1FE6FF;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  color: #1FE6FF;
  font-size: 2rem;
  cursor: pointer;
  z-index: 11;
}
.cookie-choice-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 10px 0 16px 0;
}
.cookie-choice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}
.cookie-choice-item input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: #1FE6FF;
}
.cookie-choice-item label {
  color: #fff;
  font-size: 1rem;
}
.cookie-category-essential {
  opacity: 0.7;
  font-style: italic;
  font-weight: 700;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
    padding: 14px 9px;
  }
  .cookie-modal {
    padding: 18px 8px 12px 8px;
    width: 96vw;
    min-width: unset;
    max-width: 99vw;
  }
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  section {
    margin-bottom: 38px;
  }
}
@media (max-width: 600px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .logo img, footer img { height: 30px; }
}

/* Fix alignment of sections/content on small */
@media (max-width: 600px) {
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 10px;
  }
  section {
    padding: 13px 0;
    margin-bottom: 16px;
  }
}

/* ===========================
   FORM ELEMENTS
   =========================== */
input, textarea, select {
  width: 100%;
  border-radius: 8px;
  padding: 12px;
  background: #132035;
  color: #F5F7FA;
  border: 2px solid #223351;
  margin-bottom: 14px;
  font-size: 1.07rem;
  box-shadow: none;
  transition: border 0.2s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1FE6FF;
  box-shadow: 0 2px 10px #1FE6FF33;
}
label {
  font-family: var(--font-display);
  color: #13C6C0;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ===========================
   UTILITY/MICRO-INTERACTIONS
   =========================== */
::-webkit-selection { background: #1FE6FF55; color: #172C44; }
::selection { background: #1FE6FF55; color: #172C44; }

[tabindex]:focus, a:focus, button:focus {
  outline: 2px solid #1FE6FF;
  outline-offset: 1px;
}

/* Subtle neon borders on hover for interactive cards */
.card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 2px 32px #1FE6FF52 !important;
  border: 2px solid #1FE6FF55;
}

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

/******************************
    CUSTOM NEON ACCENT EFFECTS
******************************/
.neon-accent {
  color: #1FE6FF;
  text-shadow: 0 0 12px #1fe6ffcc, 0 0 28px #1fe6ff99;
  letter-spacing: 0.06em;
  background: none;
}

hr {
  border: 0;
  border-top: 1.5px solid #1FE6FF22;
  margin: 26px 0;
}

/******************************
    MISC SMALL IMPROVEMENTS
******************************/
@media (max-width: 550px) {
  th, td {font-size: 0.98rem; padding: 8px 5px;}
  .testimonial-card {padding: 12px 8px;}
  .footer-nav {gap: 8px; font-size: 0.98rem;}
}

/*****************************
   OVERRIDE NATIVE SCROLLBAR
*****************************/
::-webkit-scrollbar {width: 9px; background: #172C44;}
::-webkit-scrollbar-thumb {background: #223351; border-radius: 6px;}

/* =====================
  ANIMATIONS / HOVER FX
======================= */
.cta-primary, .cta-secondary, button, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.19s, transform 0.16s;
}

.card, .testimonial-card {
  will-change: transform, box-shadow;
}


/*****************************
   PRINT (for legal pages)
*****************************/
@media print {
  header, nav, .main-nav, .mobile-menu,
  .cookie-banner, .cookie-modal-overlay, .mobile-menu-toggle, footer {
    display: none !important;
  }
  section, main, .container {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important; margin: 0 !important; max-width: none !important;
  }
  body, html {background: #fff !important; color: #000 !important;}
}
