/* === 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, main, 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 { height:100%; scroll-behavior: smooth; }
body { min-height:100vh; line-height: 1.6; background: #101522; color: #f4f9fb; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: inline-block; height:auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* === BRAND VARIABLES & FALLBACKS === */
:root {
  --primary: #184B6A;
  --secondary: #6AC3DB;
  --accent: #F4F9FB;
  --background: #101522;
  --surface: #192333;
  --neon: #19fff7;
  --danger: #f64d53;
  --success: #3be569;
  --shadow: 0 2px 16px 0 rgba(30,45,85,0.16);
  --radius: 16px;
  --transition: 0.23s cubic-bezier(.6,.1,.15,1);
  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-display: swap;
  src: local('Roboto Slab'), url('https://fonts.gstatic.com/s/robotoslab/v16/BngMUXZYTXPIvIBgJJSb6ufN5qU.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-display: swap;
  src: local('Open Sans'), url('https://fonts.gstatic.com/s/opensans/v29/mem8YaGs126MiZpBA-UFUK0Udc1UAw.woff2') format('woff2');
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #07131e 0%, #184B6A 100%);
  min-height: 100vh;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
  font-weight: 700; 
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, ul { font-size: 1rem; color: #f4f9fb; }
strong { color: var(--secondary); font-weight: 700; }
a { color: var(--secondary); transition: color var(--transition); }
a:hover, a:focus { color: var(--neon); outline: none; }

/* === HEADER & NAVIGATION === */
header {
  padding-top: 16px;
  padding-bottom: 12px;
  background: rgba(15, 25, 45, 0.96);
  box-shadow: var(--shadow);
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 44px; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}
.main-nav a {
  padding: 10px 0;
  font-weight: 600;
  color: #ecf6fc;
  position: relative;
  transition: color var(--transition);
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  height: 2px;
  width: 0;
  background: var(--neon);
  transition: width 0.2s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 28px;
}

/* CALL TO ACTION BTN IN HEADER */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72em 2.2em;
  font-size: 1.06rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  user-select: none;
  border: none;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), border var(--transition);
  box-shadow: 0 2px 20px 0 rgba(19,255,247,0.08);
  position: relative;
  cursor: pointer;
}
.btn-primary {
  background: var(--secondary);
  color: #10253D;
  box-shadow: 0 0px 16px 0 rgba(106,195,219,0.12);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--neon);
  color: #101522;
  box-shadow: 0 0 18px 0 var(--neon);
}
.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  border-color: var(--neon);
  color: var(--neon);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  margin-left: 20px;
  z-index: 100;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--neon);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  z-index: 120;
  left: 0; top: 0; right:0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #131c2c;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 20px 0 20px;
  box-shadow: 0 8px 32px 0 rgba(7,19,30,0.32);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  font-size: 2.1rem;
  color: var(--secondary);
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 125;
  transition: color var(--transition);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--neon);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 42px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  padding: 16px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(80,200,230,0.08);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon);
}

@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}

@media (max-width: 991px) {
  .container { max-width: 770px; }
  header .main-nav { gap:11px; }
}
@media (max-width: 820px) {
  header .main-nav { display:none; }
  .mobile-menu-toggle { display: block; }
  header .btn-primary { display:none; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #184B6A 20%, #191e31 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 40px 0 60px 0;
  box-shadow: 0 6px 28px 0 rgba(19, 255, 247, 0.08);
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 650px;
}
.hero h1 { color: var(--neon); text-shadow: 0 2px 20px #093c5a66; }
.hero p {
  font-size: 1.22rem;
  color: #e6f2fa;
}
.hero .btn {
  margin-top: 20px;
  font-size:1.05rem;
}

/* === GENERIC SECTIONS & LAYOUT === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
ul, ol {
  margin-bottom: 10px;
  margin-left: 0;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #181f2d;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 var(--secondary);
  transform: translateY(-5px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; }
  .hero { padding: 30px 0 32px 0; }
  .section { padding: 28px 6px; margin-bottom:40px; }
  h1 { font-size:2rem; }
  h2 { font-size:1.34rem; }
}

/* === FEATURES & ICONS === */
.features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #18223a;
  border-radius: 14px;
  padding: 18px 22px;
  color: #eaffff;
  box-shadow: 0 1px 10px 0 rgba(19,255,247,0.04);
  min-width: 230px;
  font-weight: 500;
  font-size: 1.05rem;
}
.features img { width: 30px; height: 30px; margin-right:7px; }

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

/* === TESTIMONIALS === */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: #1d293a;
  gap: 20px;
  border-radius: 14px;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 4px 16px 0 rgba(100,200,255,0.11);
  min-width: 250px;
  max-width: 365px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  border-left: 3px solid var(--secondary);
  position: relative;
}
.testimonial-card p {
  color: #10253D;
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.97rem;
  align-self: flex-end;
}
.testimonial-card:before {
  content: '\201C';
  font-size: 2.2rem;
  color: var(--secondary);
  position: absolute;
  top: 10px; left: 15px;
  opacity: .18;
}

/* === CTA === */
.cta {
  margin-bottom: 48px;
  padding: 40px 0;
  background: linear-gradient(135deg, #6AC3DB14 40%, #184B6A 100%);
  box-shadow: 0 6px 18px 0 rgba(70,255,240,0.06);
  display: flex;
  align-items: center;
}
.cta .container { display: flex; align-items: center; justify-content: center; }
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta .btn { font-size: 1.14rem; margin-top:14px; }

/* === FOOTER === */
footer {
  background: #131c2c;
  color: #D2F6FF;
  padding: 40px 0 32px 0;
  box-shadow: 0 -2px 30px 0 rgba(26,80,122,.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-brand img { height: 38px; }
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #7eeeff;
  opacity: 0.92;
  transition: color var(--transition);
  font-size: .98rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon);
  opacity:1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  color: #B0D9EA;
  font-size: .97rem;
}
.footer-contact a {
  display: inline-flex;
  gap: 4px;
  color: var(--secondary);
  align-items: center;
  font-weight: 600;
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #182945;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(30,75,105,0.09);
  color: #fff;
  transition: box-shadow var(--transition);
  margin-bottom: 12px;
  cursor: pointer;
}
.faq-item h3 {
  font-size: 1.15rem;
  color: var(--neon);
  margin-bottom: 6px;
  font-weight: 700;
}
.faq-item:focus-within, .faq-item:hover { box-shadow: 0 8px 32px 0 var(--secondary); }

/* === CONTACT DETAILS === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161e2b;
  border-radius: 10px;
  padding: 13px 18px;
  box-shadow: 0 1px 8px 0 rgba(105,255,247,0.04);
}
.contact-details a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.01rem;
}

.social-media {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.social-media a img {
  height: 28px;
  transition: filter var(--transition), transform var(--transition);
  filter: drop-shadow(0 0 6px var(--secondary));
}
.social-media a:hover img { filter: drop-shadow(0 0 12px var(--neon)); transform: scale(1.09) }

/* === GENERAL FORMATTING FOR LEGAL PAGES === */
main section .text-section {
  background: #1a2332;
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(20,60,90,0.05);
  color: #eaf8ff;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width:680px) {
  header .container, .container, footer .container { padding-left: 9px; padding-right: 9px; }
  .footer-contact, .footer-nav { flex-direction: column; align-items: flex-start; gap:6px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap:7px; }
  .faq-accordion .faq-item, main section .text-section { padding: 15px 7px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.06rem; }
  .btn { font-size: .97rem; padding: 0.5em 1.9em; }
  .features li, .contact-details li, .testimonial-card, .faq-item { font-size: .97rem; padding:10px 9px; }
}

/* === CARD STYLES === */
.card {
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid #1e3248;
}

/* === VISUAL EFFECTS === */
.card, .testimonial-card, .faq-item, .features li, .contact-details li, .main-nav a, .btn, .footer-nav a, .social-media a img {
  transition-property: color, background, box-shadow, border, filter, transform;
  transition-duration: var(--transition);
}
.card:hover, .btn:hover, .testimonial-card:hover, .features li:hover, .faq-item:hover {
  box-shadow: 0 6px 24px 0 var(--neon), 0 2px 6px 0 rgba(15,255,247,0.07);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 220;
  width: 100%;
  background: rgba(22, 30, 50, 0.99);
  color: #fff;
  box-shadow: 0 -2px 32px 0 rgba(19, 255, 247, 0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 22px;
  border-top: 2.5px solid var(--secondary);
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-left: 24px;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  padding: 8px 22px;
  margin:0;
  font-weight:700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept-all {
  background: var(--secondary);
  color: #10253D;
  margin-right:7px;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: var(--neon); color: #101522;
}
.cookie-banner .reject-all {
  background: transparent;
  border: 2px solid var(--danger);
  color: var(--danger);
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: var(--danger); color: #fff;
}
.cookie-banner .settings-btn {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  border-color: var(--neon); color: var(--neon);
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position: fixed; left: 0; top:0; width: 100vw; height: 100vh;
  background: rgba(11, 20, 29, 0.84);
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.hide { opacity:0; pointer-events:none; }
.cookie-modal {
  background: #161e2b;
  border-radius: 20px;
  box-shadow: 0 12px 36px 0 #19fff744, 0 2px 8px 0 #ffffff0f;
  max-width: 390px;
  width: 94vw;
  padding: 28px 26px 22px 26px;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h3 {
  font-size: 1.36rem;
  color: var(--neon);
  margin-bottom: 10px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .essential {
  color: var(--success);
  font-weight:700;
  font-size:1.05rem;
}
.cookie-modal .toggle {
  margin-left: auto;
  width: 38px;
  height: 22px;
  background: #0e1621;
  border-radius: 11px;
  border: 1.5px solid #21314d;
  position: relative;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  transition: background var(--transition);
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .toggle .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius:50%;
  background: var(--secondary);
  transition: left 0.18s, background 0.2s;
}
.cookie-modal .toggle input:checked + .slider {
  background: var(--neon);
  left: 17px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-btns .btn {
  font-size: .96rem;
  padding: 7px 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  font-size:1.5rem;
  background: none;
  border:none;
  color: var(--secondary);
  cursor:pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--neon);
}
@media (max-width: 500px) {
  .cookie-modal { padding: 15px 6px 10px 10px; }
}

/* === UTILITY === */
.hide { display: none!important; }
.flex-column { display: flex; flex-direction: column; gap: 15px; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 20px; }
.align-center { align-items: center; }
.gap-20 { gap:20px; }
.gap-24 { gap:24px; }
.maxw-600 { max-width:600px; }

/* === ANIMATIONS & TRANSITIONS === */
@keyframes slideIn {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.hero .content-wrapper, .cta .content-wrapper, .features .content-wrapper, .about-teaser .content-wrapper, .services-teaser .content-wrapper, .testimonials .content-wrapper {
  animation: slideIn .8s cubic-bezier(.62,.05,.13,1.05);
}
.testimonial-card, .faq-item, .card {
  animation: fadeIn 0.92s cubic-bezier(.58,.29,.11,1.15);
}

/* === MISCELLANEOUS / OVERLAPS === */
.card, .testimonial-card, .faq-item, .features li, .card-content { z-index:10; }

/* === FINAL ACCESSIBILITY TUNING === */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}
::-webkit-scrollbar { width: 9px; background: #101522; }
::-webkit-scrollbar-thumb { background: #23314C; border-radius: 6px; }

/* === Print & Selection === */
@media print {
  *, *:before, *:after { background: #fff!important; color: #000!important; box-shadow:none!important; }
  nav, header, footer, .btn, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display:none!important; }
}
::selection { background: var(--secondary); color: #10253D; }
