/* ============================================
   VAYUPAKSHA AEROSPACE - Modern UI Styles
   Professional Bright Aerospace Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700;900&display=swap');

/* CSS Custom Properties - Design Tokens - BRIGHT THEME */
:root {
  /* Bright Base Palette (60%) */
  --bg-primary: #f4f8fc;
  --bg-secondary: #e9f1f9;
  --bg-surface: #ffffff;
  --bg-elevated: #f0f6fb;

  /* Blue Scale (30%) */
  --blue-electric: #1d4ed8;
  --blue-deep: #1e40af;
  --blue-hover: #2563eb;

  /* Black + Red Accent (10%) */
  --bg-dark: #0b0f19;
  --accent-red: #dc2626;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Legacy Grayscale (for compatibility) */
  --primary-dark: var(--bg-primary);
  --primary-gray: var(--bg-secondary);
  --secondary-gray: var(--bg-elevated);
  --border-gray: rgba(0, 0, 0, 0.1);
  --hover-gray: rgba(0, 0, 0, 0.08);
  --surface-gray: var(--bg-surface);
  --surface-light: var(--bg-elevated);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows - Bright Mode */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(29, 78, 216, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Glassmorphism - Bright Mode */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(29, 78, 216, 0.15);
  --glass-blur: blur(12px);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Exo 2", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

a {
  color: var(--blue-electric);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--blue-hover);
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-md) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
}

header.scrolled {
  padding: var(--space-sm) var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: transform var(--transition-base);
}

.logo a:hover {
  transform: scale(1.02);
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  font-family: 'Roboto Slab', Cambria, Georgia, serif;
}

.logo-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.logo-title .text-white {
  color: #ffffff !important;
}

.logo-title .text-yellow {
  color: #FFC000 !important;
}

.logo-subtitle {
  font-size: 18px;
  font-weight: 900;
  color: #FF0000 !important;
  text-align: center;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  padding: var(--space-sm) var(--space-md);
  position: relative;
  transition: all var(--transition-base);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue-electric);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-electric);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.cart-icon:hover {
  background: var(--hover-gray);
}

.cart-icon a {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.cart-icon a:hover {
  background: var(--blue-electric);
  color: var(--text-white);
  transform: scale(1.05);
}

#cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-red);
  color: var(--text-white);
  border-radius: var(--radius-full);
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  display: none;
  animation: pulse 0.3s ease-out;
}

#cart-badge.visible {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background:
    linear-gradient(
      135deg,
      #e8f4fd 0%,
      #dbeafe 30%,
      #eff6ff 60%,
      #f0f9ff 100%
    );
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(29, 78, 216, 0.03) 100px,
      rgba(29, 78, 216, 0.03) 101px
    ),
    rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: var(--space-lg);
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--blue-electric) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn-primary {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.floating-drone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.6s both;
}

.floating-drone img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(29, 78, 216, 0.2));
  animation: float 4s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-white);
  background: linear-gradient(
    135deg,
    var(--blue-electric) 0%,
    var(--blue-deep) 100%
  );
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.35);
  color: var(--text-white);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-electric);
  background: transparent;
  border: 1px solid var(--blue-electric);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: rgba(29, 78, 216, 0.08);
  border-color: var(--blue-hover);
  color: var(--blue-hover);
}

/* ============================================
   Featured Products Section
   ============================================ */
.featured-products {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg-primary);
  position: relative;
}

.featured-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg transparent,
    var(--border-gray),
    transparent
  );
}

.featured-products h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.featured-products h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue-electric);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--blue-electric),
    var(--blue-hover),
    var(--blue-electric)
  );
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--blue-electric);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-base);
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.product-card .price {
  font-family: "Orbitron", sans-serif;
  font-size: 1.25rem;
  color: var(--blue-electric);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.product-card .btn-primary,
.product-card .add-to-cart {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
}

/* ============================================
   Services Overview Section
   ============================================ */
.services-overview {
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  position: relative;
}

.services-overview h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.services-overview h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--blue-electric);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto var(--space-xl);
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: var(--glass-blur);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-electric);
}

.service-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin-bottom: var(--space-lg);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.services-overview .btn-secondary {
  display: block;
  max-width: 250px;
  margin: 0 auto;
}

/* ============================================
   Trust Badges / Highlights Strip
   ============================================ */
.trust-badges {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: #2D2D2D;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid #404040;
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  color: #00E5FF;
}

.trust-badge span {
  color: #F0F0F0 !important;
  font-weight: 600;
}

/* ============================================
   Products Catalog Page
   ============================================ */
.products-catalog {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--bg-primary);
  min-height: 100vh;
}

.products-catalog h1 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* Filter Bar */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-white);
  background: var(--blue-electric);
  border-color: var(--blue-electric);
}

.products-catalog .product-grid {
  max-width: 1400px;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--bg-primary);
  min-height: 100vh;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
}

.product-detail .details {
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
}

.product-detail .details h1 {
  margin-bottom: var(--space-md);
}

.product-detail .price {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: var(--blue-electric);
  margin-bottom: var(--space-xl);
  font-weight: 700;
}

.product-detail .specs {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
}

.product-detail .specs h3 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.product-detail .specs ul {
  list-style: none;
}

.product-detail .specs li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-detail .specs li::before {
  content: "▹";
  color: var(--blue-electric);
}

.product-detail .add-to-cart {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1rem;
}

/* ============================================
   About Page
   ============================================ */
.about {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--bg-primary);
  min-height: 100vh;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about h1 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.about-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
}

.about-section h2 {
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-gray);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-xl) - 5px);
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--blue-electric);
  border-radius: 50%;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.timeline-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.team-member {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  transition: all var(--transition-base);
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: var(--blue-electric);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-secondary);
  margin-bottom: var(--space-md);
  border: 3px solid var(--blue-electric);
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.team-member p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================
   Services Page
   ============================================ */
.services-page {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--bg-primary);
  min-height: 100vh;
}

.services-page h1 {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-page .services-grid {
  max-width: 1200px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================
   Contact Page
   ============================================ */
.contact {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--bg-primary);
  min-height: 100vh;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-form-wrapper h1 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xl);
}

/* Floating Labels Form */
.form-group {
  position: relative;
  margin-bottom: var(--space-xl);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-base);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--transition-base);
}

.form-group textarea ~ label {
  top: var(--space-lg);
  transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-electric);
  background: var(--bg-surface);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: var(--space-sm);
  font-size: 0.75rem;
  color: var(--blue-electric);
  background: var(--bg-surface);
  padding: 0 var(--space-xs);
}

#contact-form button {
  width: 100%;
  padding: var(--space-lg);
  font-size: 1rem;
}

/* Contact Info */
.contact-info-wrapper {
  padding: var(--space-xl) 0;
}

.contact-info-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-info-item:hover {
  border-color: var(--blue-electric);
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--blue-electric);
}

.contact-info-text h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto var(--space-2xl);
}

.footer-section h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  color: var(--text-white);
  position: relative;
}

.footer-section h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--blue-electric);
  margin-top: var(--space-sm);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0;
}



.cart-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

.cart-empty a {
  color: var(--blue-electric);
  text-decoration: underline;
}

.cart-empty a:hover {
  color: var(--blue-hover);
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--blue-electric);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(100px + var(--space-2xl));
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: var(--space-2xl);
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .floating-drone img {
    max-width: 300px;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: var(--space-sm) var(--space-md);
  }

  .logo img {
    height: 45px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-gray);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .cart-icon {
    margin-left: auto;
    margin-right: var(--space-md);
  }

  .hero {
    padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .floating-drone img {
    max-width: 250px;
  }

  .featured-products,
  .services-overview,
  .products-catalog,
  .services-page,
  .about,
  .contact,
  .product-detail {
    padding: var(--space-2xl) var(--space-md);
  }

  .product-grid,
  .services-grid {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  .trust-badges-grid {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .filters {
    padding: var(--space-md);
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.7rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.75rem;
  }

  .product-card img {
    height: 150px;
  }

  .cart-modal {
    padding: var(--space-lg);
  }

  .cart-actions {
    flex-direction: column;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-gray);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-electric);
}

/* Selection */
::selection {
  background: var(--blue-electric);
  color: var(--text-white);
}

/* ============================================
   Universal Readable Defaults - Contrast Fixes
   ============================================ */

body {
  background: #f5f7fa !important;
  color: #0f172a !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f172a !important;
}

p,
span,
li {
  color: #334155 !important;
}

a {
  color: #1e40af !important;
}

section {
  padding: 80px 0;
}

.card,
.product-card {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.footer,
footer {
  background: #0b1120 !important;
  color: #ffffff !important;
}

/* Ensure no dark-on-dark or light-on-light combinations */
.footer p,
footer p,
.footer span,
footer span,
.footer li,
footer li,
.footer a,
footer a {
  color: #ffffff !important;
}

.footer a:hover,
footer a:hover {
  color: #60a5fa !important;
}

/* Override any hardcoded dark text on light backgrounds */
* {
  color-scheme: light;
}

/* Ensure all text elements have proper contrast */
body,
main,
section,
article,
aside,
div,
header,
nav,
footer {
  color: #0f172a !important;
}

/* Fix any light text that might be on white backgrounds */
div,
section,
article,
aside,
header,
nav,
main,
p,
span,
li,
h1,
h2,
h3,
h4,
h5,
h6,
a {
  color: #0f172a !important;
}

/* Dark section overrides */
.dark,
.dark-section,
[class*="dark"],
[class*="bg-dark"],
[style*="background"] {
  background: #0b1120 !important;
  color: #ffffff !important;
}

/* Ensure cards have proper styling */
.card,
.product-card,
.service-card,
.team-member,
.about-section,
.contact-form-wrapper,
.contact-info-item,
.filter-btn {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Footer specific overrides */
.footer-section h4,
.footer-section p,
.footer-bottom p {
  color: #ffffff !important;
}

/* CTA Section overrides for dark background */
.cta-section h2, .custom-solution-cta h2, .about-feature-card h3 {
  color: #ffffff !important;
}

.cta-section p, .custom-solution-cta p, .about-feature-card p {
  color: #f0f0f0 !important;
}

.cta-section ::selection, .cta-section p::selection, .cta-section h2::selection,
.custom-solution-cta ::selection, .custom-solution-cta p::selection, .custom-solution-cta h2::selection,
.about-feature-card ::selection, .about-feature-card p::selection, .about-feature-card h3::selection {
  background: var(--blue-electric);
  color: #ffffff !important;
}

/* Nav Link overrides */
.nav-links a {
  color: #ffffff !important;
}

