/* ========================
   Quantum Blast Tech Futuristic CSS
   Fully responsive, flexbox-only layout, cookie banner & mobile menu included
   ======================== */

/* 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,
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;
}
/* Reset box-sizing */
*, *:before, *:after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; font-size: 16px; background: #0D2236; }
img { max-width: 100%; display: block; height: auto; }
audible, canvas, details, dialog, figure, main, menu, summary { display: block; }

/* ==========================
   FONTS & BRAND COLORS
   ==========================*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Roboto:400,500,700&display=swap');
:root {
  --primary: #155C8A;
  --secondary: #25B99A;
  --accent: #FFFDF8;
  --neon-blue: #12E2F8;
  --neon-green: #18FFC7;
  --bg-dark: #0D2236;
  --bg-light: #101B2A;
  --shadow: 0 4px 20px 0 rgba(21,92,138, 0.15), 0 1.5px 4px 0 rgba(18,226,248,0.09);
  --text-main: #F5FAFF;
  --text-dark: #11314E;
  --text-darker: #03101c;
  --text-light: #BEE9FC;
  --heading: 'Montserrat', Arial, sans-serif;
  --body: 'Roboto', Arial, sans-serif;
  --radius: 18px;
}

/* =============================
   BASE TYPOGRAPHY & BODY
   ============================= */
body {
  color: var(--text-main);
  background: var(--bg-dark);
  font-family: var(--body);
  line-height: 1.6;
  background-color: var(--bg-dark);
  /* gradient vertical subtle */
  background-image: linear-gradient(180deg, #101B2A 0%, #0D2236 90%);
  min-width: 320px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
.subheadline { font-size: 1.1rem; color: var(--secondary); letter-spacing: 0.2px; margin-bottom: 20px; font-weight: 500;  }
p, ul, ol, address {
  color: var(--text-light);
  font-size: 1rem;
  font-family: var(--body);
  margin-bottom: 16px;
}
strong, b { color: var(--neon-blue); font-weight: 700; }
a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color .15s;
}
a:hover, a:focus {
  color: var(--neon-blue);
  text-decoration: underline;
}
ul, ol { padding-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 8px; }

/* ======================
   HEADER & NAVIGATION
   ====================== */
header {
  width: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  min-height: 80px;
  box-shadow: 0 4px 28px 0 rgba(18,226,248,0.08);
  position: relative;
  z-index: 11;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--heading);
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color .2s, text-shadow .2s;
  padding: 4px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--neon-blue);
  transition: width .2s cubic-bezier(0.4,0,0.2,1);
  margin-top: 4px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon-green);
  text-shadow: 0 0 7px var(--neon-blue),0 0 3px var(--neon-blue);
}

/* CTA BUTTON (Header & Main) */
.cta-button {
  background: var(--secondary);
  color: var(--accent);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 13px 36px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 20px 0 rgba(37,185,154,0.19);
  margin-left: 28px;
  transition: background .19s, transform .13s, box-shadow .3s;
  outline: 0;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 16px 0 var(--neon-blue),0 4px 28px 0 rgba(18,226,248,0.15);
  transform: translateY(-2px) scale(1.03);
  text-shadow: 0 1px 4px #B0FFFF77;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =========================
   FLEXBOX LAYOUTS & PATTERNS
   ========================= */
.container {
  max-width: 1080px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}
.content-wrapper {
  width: 100%;
  background: rgba(16, 27, 42, 0.93);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 28px 32px 28px;
  margin-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 18px 0 rgba(18,226,248,0.09);
  transition: box-shadow .23s, transform .18s;
  border: 1.5px solid rgba(37,185,154,0.09);
}
.card:hover {
  box-shadow: 0 0 20px 2px var(--neon-blue),0 8px 32px 0 rgba(18,226,248,0.18);
  transform: translateY(-3px) scale(1.015);
}

.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;
  margin-bottom: 32px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: var(--text-darker);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px 0 rgba(37,185,154,0.07);
  margin-bottom: 24px;
  margin-top: 10px;
}
.testimonial-card p { color: var(--text-darker); margin-bottom: 0; font-size: 1.07rem; }
.testimonial-card strong { color: var(--primary); background: none; font-size: 1rem; font-weight: 600; margin-left: 12px; }

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

/* Custom grid for Feature Highlights */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 180px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 20px 20px 20px;
  box-shadow: 0 1.5px 10px 0 rgba(37,185,154,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.4px solid rgba(37,185,154,0.08);
  transition: box-shadow .23s, transform .17s;
}
.feature-grid > div:hover {
  box-shadow: 0 0 16px 1.5px var(--neon-green),0 6px 30px 0 rgba(37,185,154,0.10);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 45px;
  margin-bottom: 9px;
}
.feature-grid h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: var(--heading);
  letter-spacing: 0.5px;
}

/* LISTS WITH ICONS (Value, Services, Contact etc.) */
.value-list img,
.service-list img,
.contact-details img,
.location-details img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
}
.value-list li, .service-list li, .tip-list li, .contact-details li, .location-details p {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.015rem;
  color: var(--text-light);
  background: none;
}
.value-list li {
  font-weight: 500;
}

.tip-list {
  margin-bottom: 16px;
}
.tip-list li {
  border-left: 2.5px solid var(--neon-green);
  padding-left: 11px;
  color: var(--neon-green);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 21px;
  z-index: 120;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.1rem;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background .15s;
  box-shadow: 0 4px 18px 0 rgba(18,226,248,0.13);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  outline: 2px solid var(--neon-green);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 150;
  background: rgba(16,27,42,0.97);
  box-shadow: 0 0 36px 0px var(--primary);
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.68,-0.55,.27,1.3), opacity 0.18s;
  opacity: 0;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 18px;
  color: var(--accent);
  background: transparent;
  border: none;
  font-size: 2.2rem;
  z-index: 155;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 88px 0 0 0;
  align-items: center;
}
.mobile-nav a {
  color: var(--neon-green);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background .14s, color .14s;
  margin-bottom: 5px;
  text-align: center;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neon-blue);
  color: var(--bg-dark);
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials {
  margin-top: 24px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 34px 18px 22px 18px;
  margin-top: 68px;
  border-top: 2px solid rgba(37,185,154,0.065);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 13px;
}
.footer-branding img {
  height: 38px;
}
.footer-branding span {
  font-family: var(--heading);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 1.12rem;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: var(--neon-green);
  font-family: var(--body);
  font-size: 1.01rem;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon-blue);
}
.footer-address {
  font-size: 0.93rem;
  color: #AEDFFE;
  font-family: var(--body);
  margin-top: 8px;
  text-align: center;
}
.footer-address strong {
  color: var(--primary);
}

/* ============================
   COOKIE CONSENT BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--bg-light);
  border-top: 2.5px solid var(--secondary);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 14px 18px 14px;
  box-shadow: 0 -1.5px 24px 0px rgba(18,226,248,0.12);
  font-size: 1rem;
  transition: transform .25s, opacity .16s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-bottom: 18px;
  text-align: center;
  color: var(--accent);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 10px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-family: var(--heading);
  font-weight: 700;
  padding: 11px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .2s;
  margin: 0 4px;
  box-shadow: 0 1px 7px 0 rgba(37,185,154,0.13);
}
.cookie-btn.accept {
  background: var(--neon-green);
  color: var(--bg-dark);
}
.cookie-btn.reject {
  background: var(--primary);
  color: var(--neon-blue);
}
.cookie-btn.settings {
  background: var(--neon-blue);
  color: var(--bg-dark);
}
.cookie-btn:hover,
.cookie-btn:focus {
  opacity: .94;
  box-shadow: 0 0 14px 1px var(--neon-blue);
  outline: 0;
}
/* Cookie modal overlay */
.cookie-modal {
  position: fixed;
  left: 0; top:0; right:0; bottom:0;
  background: rgba(9,22,30,0.93);
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .23s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: var(--bg-light);
  color: var(--accent);
  border-radius: 18px;
  max-width: 98vw;
  width: 390px;
  padding: 36px 20px 26px 20px;
  box-shadow: 0 3px 44px 0 var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-dialog h3 {
  color: var(--neon-blue);
  font-size: 1.21rem;
  margin-bottom: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.04rem;
  width: 100%;
}
.cookie-modal-toggle {
  width: 43px; height: 23px;
  background: var(--bg-dark);
  border: 1.6px solid var(--secondary);
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: border .15s;
  outline: none;
}
.cookie-modal-toggle[aria-checked="true"] {
  border-color: var(--neon-green);
}
.cookie-modal-toggle .cookie-modal-knob {
  position: absolute;
  left: 3px; top: 2px;
  width: 18px; height: 18px;
  background: var(--neon-blue);
  border-radius: 50%;
  transition: left .19s, background .11s;
}
.cookie-modal-toggle[aria-checked="true"] .cookie-modal-knob {
  left: 21px;
  background: var(--neon-green);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 22px;
  width: 100%;
}

/* =========================
   COMPONENTS & INTERACTIONS
   ========================= */
/* Card hover effect is defined above */
.card, .feature-grid > div {
  cursor: pointer;
}
.card:focus, .feature-grid > div:focus {
  outline: 2px solid var(--neon-blue);
}

/* Button animations */
button, .cta-button, .cookie-btn {
  transition: background .19s, color .13s, box-shadow .2s, transform .13s;
}
button:focus, .cta-button:focus {
  outline: 2.5px solid var(--neon-green);
}

/* Animations for page transitions and micro-interactions */
.section, .content-wrapper, .card, .feature-grid > div {
  animation: fadeInUp .62s cubic-bezier(.57,.21,.69,1.25) both;
}
@keyframes fadeInUp {
  0% { opacity:0; transform:translateY(18px); }
  100% { opacity:1; transform:translateY(0); }
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .feature-grid > div, .card { min-width: 170px; }
}
@media (max-width: 990px) {
  .main-nav { gap: 13px; }
  header { padding: 10px 14px; }
  .container { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 870px) {
  .feature-grid { gap: 18px; }
}
@media (max-width: 768px) {
  /* Stack header elements */
  header { flex-direction: row; flex-wrap: wrap; min-height: 66px; padding: 8px 9px; }
  .main-nav { display: none; }
  .cta-button { margin-left: 8px; padding: 11px 19px; font-size: 0.98rem; }
  .mobile-menu-toggle { display: block; }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-grid > div { width: 100%; min-width: 0; }
  .section { padding: 29px 6px; }
  .content-wrapper {
    padding: 28px 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card {
    width: 100%;
    padding: 19px 10px;
    font-size: 0.99rem;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 8px; }
  .footer-nav { gap: 11px; flex-wrap: wrap; }
  .text-image-section { flex-direction: column; gap: 17px; }
  .footer-branding span { font-size: 0.99rem; }
}
@media (max-width: 480px) {
  .feature-grid > div, .card {
    padding: 13px 6px;
    font-size: .97rem;
  }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .footer-branding img { height: 26px; }
  .cookie-modal-dialog { padding: 16px 3px 7px 3px; }
  .cookie-modal-dialog h3 { font-size: 1.05rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 375px) {
  .cookie-btn, .cta-button { font-size: 0.9rem; padding: 9px 13px; }
}
