/* ============================================================
   SMS - Smart Motors Solutions PVT Ltd.
   Main Stylesheet | style.css
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  --cyan:       #00E5FF;
  --green:      #10B981;
  --slate:      #0B0F19;
  --white:      #FFFFFF;

  /* Dark Theme (Default) */
  --bg-primary:    #0B0F19;
  --bg-secondary:  #111827;
  --bg-card:       rgba(17, 24, 39, 0.7);
  --text-primary:  #F9FAFB;
  --text-secondary:#9CA3AF;
  --text-muted:    #6B7280;
  --border-color:  rgba(0, 229, 255, 0.15);
  --nav-bg:        rgba(11, 15, 25, 0.92);
  --card-shadow:   0 8px 32px rgba(0, 229, 255, 0.08);
  --glow-cyan:     0 0 20px rgba(0, 229, 255, 0.4);
  --glow-green:    0 0 20px rgba(16, 185, 129, 0.4);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary:    #F0F4F8;
  --bg-secondary:  #FFFFFF;
  --bg-card:       rgba(255, 255, 255, 0.85);
  --text-primary:  #0B0F19;
  --text-secondary:#374151;
  --text-muted:    #6B7280;
  --border-color:  rgba(0, 180, 200, 0.2);
  --nav-bg:        rgba(240, 244, 248, 0.95);
  --card-shadow:   0 8px 32px rgba(0, 180, 200, 0.12);
  --glow-cyan:     0 0 20px rgba(0, 180, 200, 0.25);
  --glow-green:    0 0 20px rgba(16, 185, 129, 0.25);
}

/* ---------- Base Styles ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Spacing ---------- */
section { padding: 90px 0; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Navbar ---------- */
#mainNavbar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
  padding: 0.6rem 0;
  z-index: 1050;
}

#mainNavbar.scrolled {
  padding: 0.3rem 0;
  box-shadow: 0 4px 30px rgba(0, 229, 255, 0.1);
}

.navbar-brand .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.navbar-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.navbar-brand .brand-name span { color: var(--cyan); }

.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: -3px;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan) !important;
  background: rgba(0, 229, 255, 0.08);
}

[data-theme="light"] .navbar-brand .brand-name { color: var(--slate); }
[data-theme="light"] .navbar-toggler-icon { filter: invert(1); }

/* Theme Toggle Button */
#themeToggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#themeToggle:hover {
  background: var(--cyan);
  color: var(--slate);
  box-shadow: var(--glow-cyan);
  transform: rotate(15deg);
}

/* ---------- Hero Slider ---------- */
#heroSection {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-swiper { height: 100vh; min-height: 600px; }

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}

.swiper-slide-active .slide-bg { transform: scale(1.05); }

.hero-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 25, 0.88) 0%,
    rgba(11, 15, 25, 0.65) 50%,
    rgba(0, 229, 255, 0.05) 100%
  );
}

[data-theme="light"] .hero-slide .slide-overlay {
  background: linear-gradient(
    135deg,
    rgba(11, 15, 25, 0.75) 0%,
    rgba(11, 15, 25, 0.5) 50%,
    rgba(0, 229, 255, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-title .highlight { color: var(--cyan); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Swiper pagination */
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  width: 8px;
  height: 8px;
  transition: all 0.3s;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--cyan);
  width: 30px;
  border-radius: 4px;
  box-shadow: var(--glow-cyan);
}

/* ---------- Buttons ---------- */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-cyber-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: var(--slate);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-cyber-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55);
  color: var(--slate);
}

.btn-cyber-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-cyber-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.btn-cyber-green {
  background: linear-gradient(135deg, var(--green), #059669);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-cyber-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
  color: var(--white);
}

/* ---------- Glassmorphism Cards ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 16px 48px rgba(0, 229, 255, 0.15);
}

/* ---------- About Section ---------- */
#aboutSection {
  background: var(--bg-secondary);
  position: relative;
}

#aboutSection::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(0, 229, 255, 0.3);
  pointer-events: none;
}

.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--cyan);
  margin: 4px;
}

/* ---------- Group Companies ---------- */
#groupSection { background: var(--bg-primary); }

.group-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.group-card .group-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.glass-card:hover .group-icon {
  box-shadow: var(--glow-cyan);
  border-color: var(--cyan);
}

/* ---------- EV Cars Section ---------- */
#carsSection { background: var(--bg-secondary); }

.car-card { position: relative; overflow: hidden; }

.car-card .car-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image { transform: scale(1.05); }

.car-card .car-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--slate);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.car-card .car-body { padding: 1.5rem; }

.car-card .car-name {
  font-size: 1.8rem;
  font-weight: 800;
}

.car-card .car-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child { border-bottom: none; }

.spec-row .spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.spec-row .spec-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
}

.spec-row .spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Range meter */
.range-meter {
  margin: 1rem 0;
}

.range-meter .range-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.range-meter .progress {
  height: 8px;
  border-radius: 50px;
  background: rgba(0, 229, 255, 0.1);
  overflow: visible;
}

.range-meter .progress-bar {
  border-radius: 50px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  transition: width 1.5s ease;
  position: relative;
}

/* ---------- Battery Section ---------- */
#batterySection { background: var(--bg-primary); }

.battery-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.battery-visual {
  position: relative;
  width: 90px;
  height: 46px;
  margin: 0 auto 1.5rem;
}

.battery-shell {
  width: 80px;
  height: 40px;
  border: 3px solid var(--cyan);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.battery-shell::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 18px;
  background: var(--cyan);
  border-radius: 0 3px 3px 0;
}

.battery-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.5s ease;
}

.battery-fill.fill-5kw  { width: 50%; background: linear-gradient(90deg, var(--green), #34d399); }
.battery-fill.fill-10kw { width: 75%; background: linear-gradient(90deg, var(--cyan), #0099cc); }
.battery-fill.fill-16kw { width: 95%; background: linear-gradient(90deg, #a855f7, #7c3aed); }

.battery-glow {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  pointer-events: none;
}

.battery-kw {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0.5rem 0;
}

.battery-kw.color-5kw  { color: var(--green); }
.battery-kw.color-10kw { color: var(--cyan); }
.battery-kw.color-16kw { color: #a855f7; }

.battery-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.battery-stat:last-child { border-bottom: none; }
.battery-stat .bs-label { color: var(--text-muted); }
.battery-stat .bs-val   { font-weight: 600; color: var(--text-primary); }

/* Popular badge */
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: var(--slate);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Gallery Section ---------- */
#gallerySection { background: var(--bg-secondary); }

.gallery-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--slate);
  box-shadow: var(--glow-cyan);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,15,25,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h6 {
  color: var(--white);
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}

.gallery-overlay span {
  font-size: 0.78rem;
  color: var(--cyan);
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.9);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: all 0.35s ease;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
#lightboxModal .modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

#lightboxModal .modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

/* ---------- Contact Section ---------- */
#contactSection { background: var(--bg-primary); }

.contact-info-card {
  padding: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-card .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card .ci-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-card .ci-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Form Styles */
.form-control-cyber {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control-cyber::placeholder { color: var(--text-muted); }

.form-control-cyber:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
  color: var(--text-primary);
}

[data-theme="light"] .form-control-cyber {
  background: rgba(0,0,0,0.03);
}

.form-label-cyber {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 320px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

/* WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  color: white;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* ---------- Footer ---------- */
#mainFooter {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-brand .f-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-brand .f-brand-name span { color: var(--cyan); }

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0.8rem 0 1.2rem;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--cyan); }

.newsletter-form { position: relative; }

.newsletter-form input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  padding: 12px 120px 12px 18px;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--cyan);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border: none;
  border-radius: 50px;
  color: var(--slate);
  padding: 0 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover { opacity: 0.88; }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

.social-icons { display: flex; gap: 10px; }

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--slate);
  box-shadow: var(--glow-cyan);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Alert / Flash Messages ---------- */
.alert-cyber {
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid;
}

.alert-cyber-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--green);
}

.alert-cyber-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ---------- Particle BG Dots ---------- */
.dot-grid-bg {
  background-image: radial-gradient(circle, rgba(0,229,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ---------- Scroll to Top ---------- */
#scrollTop {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTop:hover {
  background: var(--cyan);
  color: var(--slate);
  box-shadow: var(--glow-cyan);
}

/* ---------- Loading Spinner ---------- */
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--slate);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

#pageLoader .loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(0, 229, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#pageLoader .loader-text {
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: 700;
}

@keyframes spin { to { transform: rotate(360deg); } }

#pageLoader.hidden { opacity: 0; pointer-events: none; }

/* ---------- Utility ---------- */
.text-cyan   { color: var(--cyan) !important; }
.text-green  { color: var(--green) !important; }
.bg-card     { background: var(--bg-card); }
.border-cyan { border-color: rgba(0, 229, 255, 0.3) !important; }

.divider-glow {
  border: none;
  border-top: 1px solid;
  border-image: linear-gradient(90deg, transparent, var(--cyan), transparent) 1;
  margin: 0;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 991.98px) {
  section { padding: 70px 0; }
  .hero-swiper { height: 100dvh; }
  .nav-link { padding: 0.6rem 1rem !important; }
}

@media (max-width: 767.98px) {
  section { padding: 55px 0; }
  .hero-stats { gap: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2rem; }
  .btn-cyber { padding: 10px 20px; font-size: 0.85rem; }
}

/* ============================================================
   AOS VISIBILITY FALLBACK
   If AOS JS/CSS fails (CDN unreachable), [data-aos] elements
   would stay at opacity:0 forever. This override makes every
   element visible immediately; once AOS adds .aos-init to
   <body> we restore normal AOS behavior.
   ============================================================ */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}
body.aos-initialized [data-aos] {
  opacity:   unset !important;
  transform: unset !important;
  transition: unset !important;
}

/* ============================================================
   MEGA MENU — DESKTOP DROPDOWN
   ============================================================ */
.mega-nav-item { position: relative !important; }

.mega-menu {
  min-width: 1080px !important;
  max-width: 95vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 0 !important;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-secondary) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,229,255,0.08) !important;
  margin-top: 10px !important;
  animation: megaSlideIn 0.22s ease forwards !important;
}

@keyframes megaSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.98); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}


.mega-grid {
  display: flex;
  gap: 0;
  padding: 1.4rem 1.4rem 0;
}

.mega-col {
  flex: 1;
  padding: 0 0.8rem;
  min-width: 0;
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { padding-right: 0; }

.mega-col-divider {
  width: 1px;
  background: var(--border-color);
  margin: 0 0.2rem;
  align-self: stretch;
}

.mega-col-header {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background 0.18s ease;
  margin-bottom: 4px;
  color: inherit;
}
.mega-item:hover { background: rgba(0,229,255,0.07); }

.popular-mega {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.14);
}

.mega-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  gap: 1px;
}
.mega-badge small { font-size: 0.6rem; font-weight: 500; opacity: 0.7; }

.mega-item-text { display: flex; flex-direction: column; gap: 2px; }

.mega-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mega-item-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mega-popular-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 50px;
  padding: 1px 8px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.mega-promo { border-radius: 10px; overflow: hidden; }
.mega-promo-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 5px;
  text-align: center;
  letter-spacing: 0.04em;
}

.mega-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.4rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  background: rgba(0,229,255,0.03);
  gap: 0.5rem;
}
.mega-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 8px;
  transition: all 0.18s;
}
.mega-footer-link:hover { color: var(--text-primary); background: rgba(0,229,255,0.08); }
.mega-footer-cta {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #0B0F19 !important;
  font-weight: 700;
  border-radius: 9px;
}
.mega-footer-cta:hover { opacity: 0.9; }

[data-theme="light"] .mega-menu  { background: #ffffff !important; box-shadow: 0 16px 48px rgba(0,0,0,0.15) !important; }
[data-theme="light"] .mega-footer-bar { background: #f8fafc; }

/* ============================================================
   MOBILE SUBMENU ACCORDION (offcanvas)
   ============================================================ */
.mobile-submenu-group {
  padding: 6px 4px;
  border-radius: 12px;
  background: rgba(0,229,255,0.03);
  border: 1px solid var(--border-color);
  margin-bottom: 6px;
}
.mobile-submenu-header {
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.mobile-submenu-item:hover { background: rgba(0,229,255,0.08); color: var(--text-primary); }
.mobile-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

