/* ==========================================================================
   Divyanshi Electricals & Electronics - Premium Styling
   Design System: Deep Navy Blue & Electric Orange/Amber Theme
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #0B1E36;
  --secondary-navy: #162E4D;
  --accent-orange: #F58220;
  --accent-orange-hover: #E06C0C;
  --amber-gold: #FFB800;
  --light-bg: #F4F7FB;
  --white: #FFFFFF;
  --dark-text: #1E293B;
  --muted-text: #64748B;
  --border-color: #E2E8F0;
  --card-shadow: 0 10px 30px rgba(11, 30, 54, 0.08);
  --glow-shadow: 0 8px 25px rgba(245, 130, 32, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-text);
  background-color: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-navy);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-navy);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a {
  color: #E2E8F0;
}
.top-bar a:hover {
  color: var(--amber-gold);
}
.top-bar-icon {
  color: var(--accent-orange);
  margin-right: 6px;
}
.top-bar-badge {
  background: linear-gradient(135deg, var(--accent-orange), var(--amber-gold));
  color: var(--primary-navy);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.navbar-custom.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 25px rgba(11, 30, 54, 0.12);
}
.navbar-brand-img {
  height: 48px;
  width: auto;
}
.nav-link-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-navy) !important;
  margin: 0 10px;
  position: relative;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-orange);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 80%;
}
.nav-link-custom:hover {
  color: var(--accent-orange) !important;
}

/* Custom Buttons */
.btn-electric {
  background: linear-gradient(135deg, var(--accent-orange), #FF6F00);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--glow-shadow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-electric:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 130, 32, 0.4);
  background: linear-gradient(135deg, #FF6F00, var(--accent-orange));
}

.btn-navy-outline {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-navy-outline:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071526 0%, #0B1E36 50%, #162E4D 100%);
  padding: 140px 0 100px;
  color: #FFFFFF;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.18) 0%, rgba(245, 130, 32, 0) 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(255, 184, 0, 0) 70%);
  pointer-events: none;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 130, 32, 0.15);
  border: 1px solid rgba(245, 130, 32, 0.4);
  color: var(--amber-gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hero-title span {
  color: var(--accent-orange);
  background: linear-gradient(135deg, var(--amber-gold), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 600px;
  margin-bottom: 32px;
}

/* Deals In Ticker / Highlights Pills */
.deals-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.deal-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.deal-pill i {
  color: var(--accent-orange);
}
.deal-pill:hover {
  background: rgba(245, 130, 32, 0.2);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.hero-card-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card-img-wrap:hover img {
  transform: scale(1.04);
}
.hero-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 30, 54, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
}

/* ==========================================================================
   Deals In / Products Showcase Section
   ========================================================================== */
.section-padding {
  padding: 90px 0;
}
.bg-light-custom {
  background-color: var(--light-bg);
}
.section-header {
  margin-bottom: 50px;
  text-align: center;
}
.section-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: inline-block;
}
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--amber-gold));
  margin: 0 auto;
  border-radius: 2px;
}

/* Product Card */
.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(11, 30, 54, 0.15);
  border-color: rgba(245, 130, 32, 0.4);
}
.product-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0B1E36;
}
.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-box img {
  transform: scale(1.08);
}
.product-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(11, 30, 54, 0.85);
  backdrop-filter: blur(6px);
  color: var(--amber-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.product-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 130, 32, 0.1);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin-bottom: 20px;
  flex-grow: 1;
}
.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.85rem;
  color: #475569;
}
.product-features-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features-list li i {
  color: var(--accent-orange);
}

/* ==========================================================================
   Power & Solar Load Calculator Widget
   ========================================================================== */
.calculator-card {
  background: linear-gradient(135deg, #0B1E36 0%, #162E4D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(11, 30, 54, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.calculator-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.2) 0%, transparent 70%);
}
.calc-input-group {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.calc-input-group:focus-within {
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.1);
}
.calc-label {
  font-size: 0.88rem;
  color: #CBD5E1;
  font-weight: 500;
  margin-bottom: 4px;
}
.calc-control {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-weight: 600;
  width: 100%;
  outline: none;
}
.calc-control option {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.calc-result-box {
  background: rgba(245, 130, 32, 0.15);
  border: 2px dashed rgba(245, 130, 32, 0.5);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.calc-result-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber-gold);
  line-height: 1;
  margin: 10px 0;
}
.calc-result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E2E8F0;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.feature-box {
  background: #FFFFFF;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
}
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.15), rgba(255, 184, 0, 0.2));
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}
.feature-box:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--accent-orange), var(--amber-gold));
  color: #FFFFFF;
  transform: rotateY(180deg);
}

/* ==========================================================================
   Contact & Location Card
   ========================================================================== */
.contact-info-card {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 130, 32, 0.2);
  color: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-text h6 {
  color: #94A3B8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-text p, .contact-text a {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}
.contact-text a:hover {
  color: var(--amber-gold);
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
}
.form-control-custom {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control-custom:focus {
  background-color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}
.float-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}
.float-whatsapp {
  background-color: #25D366;
}
.float-call {
  background-color: var(--accent-orange);
}

/* Footer */
.footer-custom {
  background-color: #071424;
  color: #E2E8F0;
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-custom p {
  color: #CBD5E1;
}
.footer-custom .text-muted {
  color: #CBD5E1 !important;
}
.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--amber-gold);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* Quick Inquiry Modal Styling */
.modal-content-custom {
  border-radius: var(--radius-md);
  border: none;
  overflow: hidden;
}
.modal-header-custom {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 20px 24px;
}

/* Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(245, 130, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); }
}
.pulse-glow {
  animation: pulseGlow 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-section {
    padding: 120px 0 60px;
  }
  .hero-card-img-wrap {
    margin-top: 40px;
  }
}
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .calculator-card, .contact-info-card, .contact-form-card {
    padding: 24px;
  }
}
