/*
Theme Name: Scooter Insights
Author: ChatGPT
Description: SEO-optimized, animated, navy blue theme with glow effects.
Version: 3.0
*/

/* ========== GLOBAL ========== */
:root {
  --primary: #0044cc;
  --primary-dark: #001f3f;
  --secondary: #00aaff;
  --text-dark: #111;
  --text-light: #fff;
  --bg-light: #f5f7fb;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ====== FRONT PAGE STYLES ====== */

body {
  background: #010a1a;
  color: #f0f0f0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  color: #fff;
  text-align: center;
}

a {
  text-decoration: none;
  color: #00aaff;
}

a:hover {
  color: #66ccff;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #001f3f, #0044cc);
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  box-shadow: 0 0 30px #001a33;
}

.hero-content h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 10px #00aaff;
  animation: glowText 3s infinite alternate;
}

@keyframes glowText {
  from { text-shadow: 0 0 10px #00aaff; }
  to { text-shadow: 0 0 20px #00ffff; }
}

.hero p {
  margin-top: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #d0d0d0;
}

.hero-buttons {
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: #00aaff;
  color: #fff;
  box-shadow: 0 0 10px #00aaff;
}

.btn-primary:hover {
  background: #0099dd;
  box-shadow: 0 0 20px #00ffff;
}

.btn-secondary {
  border: 2px solid #00aaff;
  color: #00aaff;
}

.btn-secondary:hover {
  background: #00aaff;
  color: #fff;
  box-shadow: 0 0 15px #00aaff;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 20px;
  text-align: center;
  background: #01112a;
  margin-top: 30px;
  box-shadow: inset 0 0 30px #001f3f;
}

.section:nth-child(even) {
  background: #001833;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00aaff;
}

/* ========== CARDS ========== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #001f3f;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 0 15px #002b66;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px #00aaff;
}

.card h3 {
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 8px #00aaff;
}

.card p {
  color: #ccc;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #001f3f, #002b66);
}

.glow {
  box-shadow: 0 0 20px #00aaff, inset 0 0 10px #0044cc;
}


/* === Enhanced Sticky Header === */
.site-header {
  background: linear-gradient(90deg, #001a33, #003366);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.main-tabs {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-tabs > li {
  position: relative;
}

.main-tabs > li > a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: 0.3s;
}

.main-tabs > li > a:hover {
  color: #00bfff;
  border-bottom: 2px solid #00bfff;
}

/* Tab Panels */
.tab-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #002d5e;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 700px;
}

.tab-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.tab-panel li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.tab-panel li a:hover {
  color: #00bfff;
  padding-left: 6px;
}

/* Sub-dropdowns */
.sub-dropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #003a80;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.tab-panel li:hover > .sub-dropdown {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-tabs {
    flex-direction: column;
    width: 100%;
  }
  .tab-panel {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}


/* ========== NAVIGATION ========== */
.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: 0.3s;
  padding: 8px 0;
  display: block;
}

.menu a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

/* Dropdown Menu */
.dropdown {
  display: none;
  position: absolute;
  background: #001a33;
  top: 100%;
  left: 0;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
  animation: dropdownFade 0.3s ease forwards;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown li a {
  padding: 10px 20px;
  color: var(--text-light);
  transition: 0.3s;
}

.dropdown li a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateX(5px);
}

.menu li:hover > .dropdown {
  display: block;
}

/* ========== HERO SECTION ========== */
.hero {
  background: radial-gradient(circle at top left, #003366, #001f3f);
  color: var(--text-light);
  text-align: center;
  padding: 6rem 2rem;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Animated background glow */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    #0033cc,
    #0066ff,
    #0099ff,
    #00ccff,
    #0033cc
  );
  animation: rotateGlow 25s linear infinite;
  opacity: 0.15;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
}

.cta-btn {
  background: var(--secondary);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 0 20px var(--secondary);
  transition: 0.3s;
  z-index: 2;
  position: relative;
}

.cta-btn:hover {
  background: #0088cc;
  box-shadow: 0 0 25px #00c3ff;
  transform: scale(1.05);
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  padding: 1rem 2rem;
  font-size: 0.95rem;
  color: #333;
  background: #f0f4fa;
  border-bottom: 1px solid #d9e1f2;
}

/* ========== SHOWCASE SECTION ========== */
.showcase {
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.showcase h2 {
  font-size: 2rem;
  color: var(--primary-dark);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.showcase-grid article {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 60, 0.15);
  transition: 0.35s ease;
  position: relative;
}

.showcase-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 120, 255, 0.4);
}

.showcase-grid h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #001933;
  color: var(--text-light);
  padding: 3.5rem 2rem;
  margin-top: 4rem;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col a {
  color: #d6e8ff;
  text-decoration: none;
  display: block;
  margin: 0.3rem 0;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #00c3ff;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #003366;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }
  .menu {
    flex-direction: column;
    align-items: center;
  }
  .dropdown {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
/* ===== Header Optimization ===== */
.site-header {
  background: linear-gradient(90deg, #001a33, #002d5e);
  border-bottom: 2px solid #004488;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.menu > li {
  position: relative;
}

.menu a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #00aaff;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #002d5e;
  min-width: 240px;
  list-style: none;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.menu li:hover > .dropdown {
  display: block;
}

.dropdown li {
  position: relative;
  margin: 0.4rem 0;
}

.dropdown a {
  font-size: 0.95rem;
  display: block;
  transition: 0.2s;
}

.dropdown a:hover {
  color: #00b4ff;
  padding-left: 6px;
}

/* Sub-Sub Dropdown (third level) */
.sub-dropdown {
  left: 100%;
  top: 0;
  display: none;
  position: absolute;
  background: #003a80;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.dropdown li:hover > .sub-dropdown {
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .dropdown, .sub-dropdown {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
}
/* ==== Sticky Tabbed Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: linear-gradient(90deg, #001f3f, #003c7a);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo a {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
}

.main-tabs {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-tabs > li {
  position: relative;
}

.main-tabs > li > a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: 0.3s;
}

.main-tabs > li > a:hover {
  color: #00bfff;
  border-bottom: 2px solid #00bfff;
}

/* Tab Panels */
.tab-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #002d5e;
  width: 700px;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.tab-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-panel a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.tab-panel a:hover {
  color: #00bfff;
  padding-left: 5px;
}

.main-tabs > li:hover .tab-panel {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-tabs {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .tab-panel {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}
/* ===== SEO + DESIGN HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: radial-gradient(circle at 10% 20%, #00102e 0%, #002f6c 90%);
  box-shadow: 0 0 25px #001a33, inset 0 0 8px #0040ff33;
  border-bottom: 1px solid #004080;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}
.site-header:hover { box-shadow: 0 0 40px #002f6c; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 26px;
}

.logo a {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}
.logo span {
  color: #00bfff;
  text-shadow: 0 0 10px #00bfff;
}

.main-nav ul.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.main-nav li {
  position: relative;
  margin-left: 30px;
}
.main-nav a {
  color: #e0e0e0;
  font-weight: 500;
  padding: 10px 6px;
  transition: 0.3s;
}
.main-nav > ul > li:hover > a {
  color: #00e6ff;
  text-shadow: 0 0 10px #00e6ff;
}

/* DROPDOWN STYLING */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: rgba(0, 20, 60, 0.97);
  border-radius: 12px;
  min-width: 230px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  animation: dropdownFade 0.25s ease forwards;
}
.has-dropdown:hover .dropdown { display: block; }

@keyframes dropdownFade {
  from {opacity:0; transform:translateY(-10px);}
  to {opacity:1; transform:translateY(0);}
}
.dropdown li a {
  display: block;
  padding: 12px 20px;
  color: #ddd;
  transition: 0.3s;
}
.dropdown li a:hover {
  background: #002f6c;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}
@media(max-width:900px){
  .menu-toggle{display:flex;}
  .main-nav ul.menu{
    flex-direction:column;
    position:absolute;
    top:100%;
    right:0;
    width:100%;
    background:#001a33;
    display:none;
    padding:15px 0;
  }
  .main-nav ul.menu.active{display:flex;}
  .main-nav li{margin:12px 0;text-align:center;}
  .dropdown{position:static;box-shadow:none;background:none;}
}

