/* ============================================================
   Rudra Video Analytics — Main Stylesheet
   Dark Navy / Charcoal Theme
   ============================================================ */

:root {
  --bg-primary:    #0a1628;
  --bg-secondary:  #0d1f3c;
  --bg-card:       #112240;
  --bg-card-hover: #162d52;
  --border:        #1e3a5f;
  --accent:        #4fc3f7;
  --accent-dark:   #0288d1;
  --accent-glow:   rgba(79, 195, 247, 0.12);
  --text-primary:  #e2e8f0;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --white:         #ffffff;
  --success:       #10b981;
  --warning:       #f59e0b;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #81d4fa; }

img { max-width: 100%; height: auto; display: block; }

/* ── Top Contact Bar ──────────────────────────────────────── */
.top-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.top-bar a { color: var(--text-secondary); }
.top-bar a:hover { color: var(--accent); }
.top-bar .bi { margin-right: 4px; color: var(--accent); }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background: rgba(10, 22, 40, 0.97) !important;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-brand img { height: 48px; }
.navbar-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}
.navbar-brand span small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon {
  filter: invert(0.7);
}
.nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px !important;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  min-width: 230px;
}
.dropdown-item {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: var(--accent-glow);
  color: var(--accent);
}
.dropdown-item .badge-soon {
  font-size: 0.65rem;
  background: var(--warning);
  color: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #050e1c 0%, #0a1628 40%, #0d2448 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(79,195,247,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(2,136,209,0.06) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(79,195,247,0.3);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }
.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta .btn-primary-accent {
  background: var(--accent);
  color: #050e1c;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: none;
  transition: all 0.25s;
  display: inline-block;
}
.hero-cta .btn-primary-accent:hover {
  background: #81d4fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,195,247,0.3);
  color: #050e1c;
}
.hero-cta .btn-outline-accent {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-left: 12px;
  transition: all 0.25s;
  display: inline-block;
}
.hero-cta .btn-outline-accent:hover {
  background: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(79,195,247,0.1);
}
.hero-image-wrap img {
  width: 100%;
  border-radius: 16px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #050e1c 0%, #0a1628 60%, #0d2448 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(79,195,247,0.06) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}
.breadcrumb-item a { color: var(--accent); font-size: 0.85rem; }
.breadcrumb-item.active { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ── Section Layout ───────────────────────────────────────── */
section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card-service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.card-service:hover {
  background: var(--bg-card-hover);
  border-color: rgba(79,195,247,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(79,195,247,0.1);
}
.card-service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border: 1px solid rgba(79,195,247,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.card-service h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.card-service p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 20px;
}
.card-service .learn-more {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-service .learn-more .bi { transition: transform 0.2s; }
.card-service:hover .learn-more .bi { transform: translateX(4px); }

/* Coming soon overlay */
.card-service.coming-soon {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}
.badge-coming-soon {
  display: inline-block;
  background: var(--warning);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Feature List ─────────────────────────────────────────── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.5);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi-check {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Advantage Cards ──────────────────────────────────────── */
.card-advantage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}
.card-advantage .adv-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.card-advantage h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}
.card-advantage p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* ── Screenshots Gallery ──────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
  cursor: zoom-in;
}
.gallery-item:hover {
  border-color: rgba(79,195,247,0.4);
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.gallery-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Video Section ────────────────────────────────────────── */
.video-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  aspect-ratio: 16/9;
}
.video-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── Made in India ────────────────────────────────────────── */
.made-in-india-section {
  background: linear-gradient(135deg, #0d1b2a, #112240);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 64px 0;
}
.mii-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 36px;
  margin-top: 24px;
}
.mii-badge img { height: 56px; }

/* ── Info Cards (Partners / About) ───────────────────────── */
.card-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  height: 100%;
}
.card-info h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}
.card-info p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, #0d2448 0%, #112240 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); font-weight: 800; margin-bottom: 8px; }
.cta-strip p { color: var(--text-secondary); margin-bottom: 28px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-accent {
  background: var(--accent);
  color: #050e1c;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  transition: all 0.25s;
  display: inline-block;
}
.btn-accent:hover {
  background: #81d4fa;
  color: #050e1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,195,247,0.3);
}
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.25s;
  display: inline-block;
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Contact / Partner Info ───────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
}
.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(79,195,247,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item .ci-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-item .ci-value {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}
.contact-item .ci-value a { color: var(--white); }
.contact-item .ci-value a:hover { color: var(--accent); }

/* ── About Page ───────────────────────────────────────────── */
.about-highlight {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer h6 {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer p { color: var(--text-secondary); font-size: 0.875rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.2s;
  margin-right: 8px;
}
.footer-social a:hover {
  background: var(--accent-glow);
  border-color: rgba(79,195,247,0.4);
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-logo img { height: 44px; margin-bottom: 12px; }
.footer-address { color: var(--text-muted); font-size: 0.82rem; line-height: 1.8; }

/* ── Lightbox (simple) ────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider { border-color: var(--border); margin: 0; }

/* ── Utility ──────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.bg-card { background: var(--bg-card); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 72px 0 56px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-cta .btn-outline-accent { margin-left: 0; margin-top: 12px; }
  .hero-image-wrap { margin-top: 40px; }
}
