/* ==========================================================================
   Hind Vehicle Scrap - Main Stylesheet (hvscrap.in)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0F172A;
  --primary-accent: #2E6B34;
  --primary-accent-hover: #1E5128;
  --secondary-accent: #F59E0B;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 10px 30px rgba(46, 107, 52, 0.25);
  --radius-lg: 16px;
  --radius-md: 12px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
}

/* ==========================================
   Header & Navbar Animation
   ========================================== */
.top-bar {
  background-color: var(--primary);
  color: #E2E8F0;
  font-size: 0.875rem;
}

.top-bar a {
  color: #F1F5F9;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #4CAF50;
}

.sticky-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1040;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.brand-badge {
  background: linear-gradient(135deg, #2E6B34, #1E5128);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-theme {
  background-color: var(--primary-accent);
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.btn-theme:hover {
  background-color: var(--primary-accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(46, 107, 52, 0.4);
}

/* Gentle Pulse & Wiggle Animation for CTA Button */
@keyframes ctaPulseWiggle {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(46, 107, 52, 0.6);
  }
  10% {
    transform: scale(1.06) rotate(-2.5deg);
  }
  20% {
    transform: scale(1.06) rotate(2.5deg);
  }
  30% {
    transform: scale(1.06) rotate(-1.5deg);
  }
  40% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0 12px rgba(46, 107, 52, 0);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.btn-animate-pulse {
  animation: ctaPulseWiggle 3.2s infinite ease-in-out;
  display: inline-block;
}

.btn-animate-pulse:hover {
  animation-play-state: paused;
}

/* ==========================================
   Hero Section & Calculator Form
   ========================================== */
.hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: white;
  padding: 70px 0 100px 0;
  position: relative;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-highlight {
  color: #4CAF50;
  position: relative;
}

.hero-badge-pill {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4CAF50;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.quote-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.quote-card-header {
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

/* Vehicle Selector Buttons */
.vehicle-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.vehicle-btn {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-light);
}

.vehicle-btn i {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--text-muted);
  display: block;
}

.vehicle-btn span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.vehicle-btn.active, .vehicle-btn:hover {
  border-color: var(--primary-accent);
  background: rgba(46, 107, 52, 0.08);
}

.vehicle-btn.active i, .vehicle-btn.active span {
  color: var(--primary-accent);
}

.form-control-custom {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-control-custom:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(46, 107, 52, 0.15);
}

/* ==========================================
   Operations Showcase Slider (Clean Grid Layout)
   ========================================== */
.ops-img-fixed {
  height: 380px;
  object-fit: cover;
}

.ops-floating-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Carousel Control Arrows */
.ops-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  opacity: 0.95;
}

.ops-carousel-btn:hover {
  background: var(--primary-accent);
  color: #FFFFFF;
  border-color: var(--primary-accent);
  box-shadow: 0 10px 25px rgba(46, 107, 52, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.ops-carousel-prev {
  left: -24px;
}

.ops-carousel-next {
  right: -24px;
}

/* Stage Pill Tabs Below Carousel */
.ops-stage-tab {
  background-color: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ops-stage-tab.active, .ops-stage-tab:hover {
  background-color: #2E6B34 !important;
  color: #FFFFFF !important;
  border-color: #2E6B34 !important;
  box-shadow: 0 6px 18px rgba(46, 107, 52, 0.35);
}

/* ==========================================
   Process Section
   ========================================== */
.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2.25rem;
  font-weight: 800;
}

.process-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-accent);
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E6B34, #1E5128);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(46, 107, 52, 0.3);
}

/* ==========================================
   Comparison Cards
   ========================================== */
.comparison-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}

.comparison-old {
  background: #FEF2F2;
  border: 2px solid #FCA5A5;
}

.comparison-smart {
  background: #ECFDF5;
  border: 2px solid #6EE7B7;
  box-shadow: var(--shadow-glow);
}

.comparison-list li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
}

.comparison-list li i {
  margin-right: 12px;
  margin-top: 4px;
  font-size: 1.1rem;
}

/* ==========================================
   FAQ Accordion
   ========================================== */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button:not(.collapsed) {
  background-color: #ECFDF5;
  color: var(--primary-accent);
  font-weight: 700;
}

/* ==========================================
   Footer Section & High Visibility Buttons
   ========================================== */
footer {
  background-color: #0B132B;
  color: #E2E8F0;
  padding-top: 60px;
  padding-bottom: 30px;
}

footer h5 {
  color: #FFFFFF !important;
  font-weight: 700;
}

.footer-text {
  color: #CBD5E1 !important;
  line-height: 1.6;
}

.footer-links a {
  color: #CBD5E1 !important;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #4CAF50 !important;
  padding-left: 4px;
}

.footer-contact-list li, .footer-contact-list span {
  color: #CBD5E1 !important;
  line-height: 1.5;
}

.footer-contact-list a {
  color: #FFFFFF !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: #4CAF50 !important;
}

.footer-bottom-text {
  color: #94A3B8 !important;
}

/* High-Visibility Default Footer Buttons */
.footer-btn-google {
  background-color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.footer-btn-google .google-icon {
  color: #4285F4 !important;
  font-size: 1.1rem;
}

.footer-btn-google:hover {
  background-color: #F1F5F9 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.footer-btn-wa {
  background-color: #25D366 !important;
  border: 1px solid #25D366 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.footer-btn-wa .wa-icon {
  color: #FFFFFF !important;
  font-size: 1.2rem;
}

.footer-btn-wa:hover {
  background-color: #1EB954 !important;
  border-color: #1EB954 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #2E6B34;
  border-color: #2E6B34;
  color: white;
  transform: translateY(-3px);
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 991.98px) {
  .ops-img-fixed {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .vehicle-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-card {
    padding: 20px;
  }
  .ops-carousel-prev {
    left: 5px;
  }
  .ops-carousel-next {
    right: 5px;
  }
  .brand-logo-img {
    height: 42px;
  }
}
