/* OM ELECTRICALS - Enhanced Modern Design System */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-orange: #ff6b35;
  --primary-blue: #00d4ff;
  --primary-cyan: #00ffff;
  --accent-gold: #ffd700;
  
  /* Background Colors */
  --bg-dark: #0a0e1a;
  --bg-darker: #050812;
  --bg-card: rgba(35, 39, 43, 0.95);
  --bg-glass: rgba(35, 39, 43, 0.85);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #888888;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
  --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  
  /* Shadows */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-xl: 24px;
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== ENHANCED BACKGROUND SYSTEM ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: 
    /* Main gradient background */
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-dark) 100%),
    /* Electrical grid pattern */
    repeating-linear-gradient(90deg, rgba(0, 212, 255, 0.03) 0px, rgba(0, 212, 255, 0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(0, 212, 255, 0.03) 0px, rgba(0, 212, 255, 0.03) 1px, transparent 1px, transparent 40px),
    /* Radial glow effects */
    radial-gradient(ellipse 800px 400px at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 600px 300px at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 400px 200px at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Animated background particles */
.electrical-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-cyan);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 15s linear infinite;
  box-shadow: 0 0 6px var(--primary-cyan);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }

@keyframes particleFloat {
  0% {
    top: 100vh;
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  10% {
    opacity: 0.6;
    transform: translateY(-10vh) scale(1);
  }
  90% {
    opacity: 0.6;
    transform: translateY(-90vh) scale(1);
  }
  100% {
    top: 0;
    opacity: 0;
    transform: translateY(-100vh) scale(0);
  }
}

/* ===== TYPOGRAPHY SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Lato', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary-orange);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 1rem auto 0 auto;
}

.headline-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 20px rgba(255, 107, 53, 0.3);
}

.lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.accent {
  color: var(--primary-orange) !important;
}

/* ===== NAVBAR ENHANCEMENTS ===== */
.navbar {
  background: rgba(10, 14, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all var(--transition-normal);
  min-height: 70px;
}

/* Ensure navbar consistency across all pages */
.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-item {
  margin: 0 0.25rem;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem !important;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

/* Consistent dropdown styling */
.navbar .dropdown-menu {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-heavy);
  margin-top: 0.5rem;
}

.navbar .dropdown-item {
  color: var(--text-primary) !important;
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
}

.navbar .dropdown-item:hover {
  background: rgba(255, 107, 53, 0.1) !important;
  color: var(--primary-orange) !important;
}

/* Cart dropdown specific styling */
.cart-dropdown {
  min-width: 320px !important;
  max-width: 350px;
}

/* Ensure navbar doesn't collapse unexpectedly */
.navbar-collapse {
  flex-grow: 1;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
  
  .navbar-nav .dropdown-menu {
    border: none;
    background: transparent !important;
    box-shadow: none;
    margin-top: 0;
  }
  
  .navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
  }
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--primary-cyan) !important;
  text-shadow: 
    0 0 10px var(--primary-cyan),
    0 0 20px var(--primary-cyan);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand:hover {
  color: var(--text-primary) !important;
  text-shadow: 
    0 0 15px var(--primary-cyan),
    0 0 30px var(--primary-cyan);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--primary-cyan));
  transition: filter var(--transition-normal);
}

.navbar-brand:hover img {
  filter: drop-shadow(0 0 12px var(--primary-cyan));
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: 1px solid var(--primary-orange);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
}

/* ===== BUTTON SYSTEM ===== */
.btn {
  border-radius: var(--radius-xl);
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-custom-warning {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-custom-warning:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(255, 107, 53, 0.4),
    0 0 30px rgba(255, 107, 53, 0.2);
  color: var(--text-primary);
}

.btn-custom-info {
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-custom-info:hover {
  background: var(--primary-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

/* ===== CARD SYSTEM ===== */
.card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 107, 53, 0.2);
}

.glass-card {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-border {
  border: 2px solid var(--primary-orange);
  box-shadow: 
    0 0 20px rgba(255, 107, 53, 0.3),
    0 0 40px rgba(255, 107, 53, 0.1);
}

.glow-border:hover {
  border-color: var(--primary-cyan);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.4),
    0 0 60px rgba(0, 212, 255, 0.2);
}

/* ===== HERO SECTION ===== */
.hero-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.typewriter {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--primary-orange);
  margin-bottom: 2rem;
  display: inline-block;
  border-right: 3px solid var(--primary-orange);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary-orange); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--primary-orange);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0.5rem;
  transition: all var(--transition-normal);
}

.chip:hover {
  background: rgba(255, 107, 53, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.chip i {
  color: var(--primary-orange);
  font-size: 1.1rem;
}

/* ===== FEATURE ICONS ===== */
.feature-icon,
.why-choose-icon,
.product-icon {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
  transition: all var(--transition-normal);
}

.card:hover .feature-icon,
.card:hover .why-choose-icon,
.card:hover .product-icon {
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
  transform: scale(1.1);
}

/* ===== COUNTERS ===== */
.counter {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-orange);
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  margin-bottom: 0.5rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.product-card .card-text {
  flex: 1;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--primary-orange);
  opacity: 0.3;
  font-family: serif;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer .social-icon {
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin: 0 0.75rem;
  transition: all var(--transition-normal);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer .social-icon:hover {
  color: var(--primary-orange);
  text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
}

/* ===== FORM ELEMENTS ===== */
.form-control {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-medium);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  background: var(--bg-card);
  border-color: var(--primary-orange);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-orange);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== DIVIDERS ===== */
.divider-simple {
  height: 3px;
  background: var(--gradient-primary);
  margin: 3rem 0;
  border-radius: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .typewriter {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    white-space: normal;
    border-right: none;
    animation: none;
  }
  
  .chip-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-brand img {
    height: 40px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card.glow-border {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-bg {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .typewriter {
    font-size: 1.4rem;
  }
  
  .chip {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .feature-icon,
  .why-choose-icon,
  .product-icon {
    font-size: 2rem;
  }
  
  .counter {
    font-size: 2rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .particle {
    animation: none !important;
  }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient {
  background: var(--gradient-dark);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-orange);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== CART STYLES ===== */
.cart-dropdown {
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-medium);
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-small);
  margin-right: 0.75rem;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.75rem;
  color: var(--primary-orange);
  margin: 0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.cart-item-remove:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

#cart-count {
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  background: var(--primary-orange);
  color: var(--text-primary);
}

/* ===== FOUNDER CARDS ===== */
.founder-card {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--radius-large);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.founder-card:hover {
  transform: translateY(-8px);
}

.founder-gold {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.founder-silver {
  border-color: rgba(192, 192, 192, 0.6);
  box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
}

.founder-bronze {
  border-color: rgba(205, 127, 50, 0.6);
  box-shadow: 0 0 30px rgba(205, 127, 50, 0.2);
}

/* ===== PRODUCT SEARCH & FILTER ===== */
.products-hero {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.filter-btn {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
  background: transparent;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-orange);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ===== MODAL STYLES ===== */
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--primary-orange);
  border-radius: var(--radius-large);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.modal-footer {
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.product-specs-modal {
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-medium);
  padding: 1rem;
  border-left: 4px solid var(--primary-orange);
}

.product-specs-modal h6 {
  color: var(--primary-orange);
  margin-bottom: 0.75rem;
}

.product-specs-modal div {
  display: flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ===== NOTIFICATION STYLES ===== */
.alert {
  border-radius: var(--radius-medium);
  border: none;
  box-shadow: var(--shadow-medium);
}

.alert-success {
  background: rgba(40, 167, 69, 0.9);
  color: var(--text-primary);
}

.alert-info {
  background: rgba(23, 162, 184, 0.9);
  color: var(--text-primary);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.card,
.btn,
.nav-link {
  will-change: transform;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .btn,
  .scroll-indicator {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* ===== FIXED TEXT VISIBILITY ISSUES ===== */
.testimonial-card {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 2rem;
  text-align: center;
  position: relative;
}

/* Ensure proper background for testimonial sections */
#reviews {
  background: var(--bg-darker) !important;
}

#reviews .section-title {
  color: var(--primary-orange) !important;
}

#reviews p {
  color: var(--text-primary) !important;
}

#reviews .text-secondary {
  color: var(--text-secondary) !important;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--primary-orange);
  opacity: 0.3;
  font-family: serif;
}

.testimonial-card p {
  color: var(--text-primary) !important;
  margin-bottom: 1rem;
}

.testimonial-card .accent {
  color: var(--primary-orange) !important;
  margin-bottom: 0.5rem;
}

.testimonial-card div:last-child {
  color: var(--text-secondary) !important;
}

/* Fix for Trusted By section */
#reviews .card.testimonial-card {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 1rem;
  text-align: center;
  font-weight: 500;
}

#reviews .card.testimonial-card:hover {
  background: rgba(255, 107, 53, 0.1) !important;
  border-color: var(--primary-orange);
}

/* Ensure all text in cards is visible */
.card {
  color: var(--text-primary) !important;
}

.card .text-secondary {
  color: var(--text-secondary) !important;
}

.card .accent {
  color: var(--primary-orange) !important;
}

/* Fix for any white background issues */
body {
  background: var(--bg-dark) !important;
  color: var(--text-primary) !important;
}

/* Ensure proper contrast for all text elements */
.text-light {
  color: var(--text-primary) !important;
}

.text-dark {
  color: var(--text-primary) !important;
}

/* Fix for dropdown menus */
.dropdown-menu {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

.dropdown-item {
  color: var(--text-primary) !important;
}

.dropdown-item:hover {
  background: rgba(255, 107, 53, 0.1) !important;
  color: var(--text-primary) !important;
}

.dropdown-item-text {
  color: var(--text-muted) !important;
}
