/* ============================================
   Global Auto Salvage - Main Stylesheet
   Consolidated from header.php and index.php
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: rgb(47, 118, 250);
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --accent-orange: #f97316;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #22c55e;
  --accent-yellow: #eab308;
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #151d3b 5%, #13235c 20%, #0b1936 45%, #010634 75%, #000000 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
  --gradient-warm: linear-gradient(135deg, rgb(15, 0, 114) 0%, rgb(72, 110, 236) 50%, #8b5cf6 100%);
  --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #1e3a8a 100%);
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --shadow-colored: 0 0.5rem 1rem rgba(30, 58, 138, 0.3);
}

/* Base Styles */
body {
  font-family: 'Jura', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    background-attachment: scroll;
  }
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  opacity: 0.8;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-image-overlay {
    opacity: 0.85;
  }
}

.hero-image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 32, 65, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-overlay::before {
    animation: none;
  }
}

.hero-content-container {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-content {
  position: relative;
  padding: 1rem 0;
  z-index: 2;
}

.hero-text-wrapper {
  padding: 1rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-contact-info {
  margin-top: 2rem;
}

.hero-location {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

/* ============================================
   Parts Search Section
   ============================================ */
.parts-search-section {
  margin-top: 2rem;
  background-size: cover;
}

.parts-search-card {
  background: 
    linear-gradient(rgb(219, 219, 219), rgba(236,229,229,0.95)),
    url('../images/bnr/monday.jpg') no-repeat center center;
  background-blend-mode: lighten;
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.parts-search-header {
  text-align: center;
  margin-bottom: 2rem;
}

.parts-search-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.parts-search-subtitle {
  font-size: 1.1rem;
  color: rgb(15, 20, 24);
  margin: 0;
}

@media (max-width: 768px) {
  .parts-search-section {
    padding: 2rem 0 !important;
  }
  
  .parts-search-card {
    padding: 1.5rem;
  }
  
  .parts-search-title {
    font-size: 1.75rem;
  }
  
  .parts-search-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .parts-search-section {
    padding: 1.5rem 0 !important;
    margin-top: 1rem;
  }
  
  .parts-search-card {
    padding: 1.25rem;
    border-width: 1px;
  }
  
  .parts-search-title {
    font-size: 1.5rem;
  }
  
  .parts-search-subtitle {
    font-size: 0.95rem;
  }
  
  .parts-search-header {
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   VRM Lookup Card
   ============================================ */
.vrm-lookup-card {
  background: rgba(81, 159, 231, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: var(--shadow-colored), 0 0 50px rgba(30, 58, 138, 0.2);
  color: var(--dark-color);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.vrm-lookup-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(30, 58, 138, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vrm-lookup-card:hover::before {
  opacity: 1;
}

.vrm-lookup-card .card-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 1.5rem;
  border-bottom: none;
}

.vrm-lookup-card .card-title {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.vrm-lookup-card .card-body {
  padding: 2rem;
}

.vrm-lookup-card .card-footer {
  background: rgba(248, 249, 250, 0.8);
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Alternative VRM Lookup Card styling (from index.php) */
.vrm-lookup-card.slick-search-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vrm-lookup-card.slick-search-card:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ============================================
   Forms and Inputs
   ============================================ */
.vrm-input {
  font-size: 1.25rem;
  padding: 1rem;
  border: 3px solid rgba(30, 58, 138, 0.2);
  border-radius: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.vrm-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25), 0 0 20px rgba(30, 58, 138, 0.3);
  transform: translateY(-3px) scale(1.02);
  background: white;
}

.form-control {
  font-size: 1.25rem;
  padding: 1rem;
  border: 3px solid rgba(30, 58, 138, 0.2);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25), 0 0 20px rgba(30, 58, 138, 0.3);
  transform: translateY(-3px) scale(1.02);
  background: white;
  outline: none;
}

.form-control option {
  padding: 0.5rem;
  text-align: center;
}

/* Slick Search Input Styles */
.slick-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slick-input-icon {
  position: absolute;
  left: 1rem;
  color: rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s ease;
  pointer-events: none;
}

.slick-search-input {
  font-size: 1.1rem;
  padding: 0.85rem 1rem 0.85rem 3rem !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.slick-search-input-large {
  font-size: 1.2rem;
  padding: 1rem 1.25rem 1rem 3.5rem !important;
}

.slick-search-input:focus {
  border-color: rgba(13, 110, 253, 0.6) !important;
  box-shadow: 0 6px 24px rgba(13, 110, 253, 0.3) !important;
  transform: translateY(-2px);
  outline: none;
  background: rgba(255, 255, 255, 0.95) !important;
  animation: glow 2s ease-in-out infinite;
}

.slick-search-input:focus+.slick-input-icon,
.slick-input-wrapper:focus-within .slick-input-icon {
  color: #0d6efd;
  transform: scale(1.1);
}

.slick-search-input::placeholder {
  color: #adb5bd;
  animation: pulse-placeholder 2s ease-in-out infinite;
}

/* ============================================
   Buttons
   ============================================ */
.btn-hero {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 20px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-primary);
  border: none;
  color: white;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.btn-hero::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 ease;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-colored), 0 0 30px rgba(30, 58, 138, 0.4);
}

.slick-search-btn {
  font-size: 1.1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 54px;
}

.slick-search-btn::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;
}

.slick-search-btn:hover::before {
  left: 100%;
}

.slick-search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.slick-search-btn:hover i {
  transform: scale(1.2) rotate(5deg);
}

.slick-search-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

.slick-search-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.slick-search-btn.loading i {
  animation: spin 1s linear infinite;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(30, 58, 138, 0.02)"><circle cx="50" cy="50" r="2"/></svg>') repeat;
  background-size: 50px 50px;
}

.feature-card {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  height: 100%;
  border: none;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-colored), 0 0 40px rgba(30, 58, 138, 0.2);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.2rem;
  position: relative;
  transition: all 0.4s ease;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-warm);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  padding: 5rem 0;
  background: white;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(30, 58, 138, 0.02) 0%, rgba(139, 92, 246, 0.02) 50%, rgba(236, 72, 153, 0.02) 100%);
}

.service-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: 2px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-cool);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-colored), 0 0 50px rgba(30, 58, 138, 0.2);
  border-color: rgba(30, 58, 138, 0.2);
}

.service-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card .card-body {
  position: relative;
  z-index: 2;
  background: white;
}

/* Business Info Section Service Cards */
.business-info-section a.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.business-info-section a.service-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.business-info-section a.service-card-link:hover .service-card {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-colored), 0 0 50px rgba(30, 58, 138, 0.2);
  border-color: rgba(30, 58, 138, 0.2);
}

.business-info-section a.service-card-link .service-card {
  transition: all 0.4s ease;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: var(--gradient-hero);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

a.stat-item,
a.stat-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

a.stat-item:hover,
a.stat-item-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(45deg, #fff, #f0f9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ============================================
   Brand Logos
   ============================================ */
.brand-logos {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.brand-logos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(30, 58, 138, 0.03)"><polygon points="50,0 100,50 50,100 0,50"/></svg>') repeat;
  background-size: 40px 40px;
}

.brand-logo {
  height: 70px;
  width: auto;
  margin: 1rem;
  opacity: 0.6;
  transition: all 0.4s ease;
  filter: grayscale(100%);
  border-radius: 10px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
}

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
  background: white;
}

/* Brand Cards */
.brand-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 100;
  pointer-events: auto;
  cursor: pointer;
}

.brand-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
}

.brand-card-inner {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  z-index: 101;
}

.brand-card:hover .brand-card-inner {
  border-color: #0d6efd;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
  transform: translateY(-3px);
}

.brand-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-logo-img {
  transform: scale(1.1);
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  text-align: center;
  margin-top: auto;
  transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
  color: #0d6efd;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-hero);
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.footer-section {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  border-radius: 12px;
  box-shadow: var(--shadow-colored);
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer a:hover {
  color: white;
  transform: translateX(8px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer h5,
.footer h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.footer ul li a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-info .contact-item {
  padding: 0.5rem 0;
}

.contact-info .contact-item i {
  font-size: 1.1rem;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-link i {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.certifications {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.certifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-success);
}

.cert-badge {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

.cert-badge i {
  font-size: 1.1rem;
}

.footer-links {
  position: relative;
  z-index: 10;
}

.footer-links a {
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
  z-index: 11;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
  pointer-events: none;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ============================================
   Navigation / Header
   ============================================ */
/* Responsive logo sizing */
@media (max-width: 991px) {
  .navbar-brand picture img {
    height: 50px !important;
  }
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link:hover span:last-child {
  width: 80% !important;
}

.navbar-nav .nav-link:last-child:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4) !important;
}

.navbar-toggler {
  border: none !important;
}

/* Header Search Form Styles */
.header-search-form {
  flex: 1;
  max-width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 0.5rem;
  min-width: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  height: 100%;
}

.header-search-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
  pointer-events: none;
}

.header-search-input {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  height: 38px;
  line-height: 38px;
  box-sizing: border-box;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.header-search-input:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
  outline: none;
  color: white !important;
}

.header-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
}

.header-clear-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.header-search-btn {
  padding: 0.5rem 0.9rem !important;
  border-radius: 25px !important;
  height: 38px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25) !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
  line-height: 1;
}

.header-search-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Slick Search Card
   ============================================ */
.slick-search-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slick-search-card:hover {
  transform: translateY(0);
  box-shadow: none !important;
}

.slick-search-card .card-body {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slick-search-card .card-body:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ============================================
   Review Cards
   ============================================ */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #0d6efd;
}

.review-header {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.review-text {
  flex-grow: 1;
  color: #495057;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.review-item {
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
}

.reviews-section {
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* ============================================
   Parts Result Cards
   ============================================ */
.parts-result-card {
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.parts-result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #0d6efd;
}

.parts-result-card .card-title {
  color: #212529;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
}

.parts-result-card .card-body {
  padding: 1.25rem;
}

#partsResultsContainer .row {
  margin-top: 1rem;
}

/* ============================================
   Loading & Result Display
   ============================================ */
.loading {
  display: none;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.result-display {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #e8f5e8;
  border-left: 4px solid var(--success-color);
}

.error-display {
  background: #f8d7da;
  border-left-color: var(--danger-color);
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-float i {
  font-size: 32px;
}

/* ============================================
   GAS Logo Spinner
   ============================================ */
.gas-spinner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gas-spinner.show {
  display: flex;
}

.gas-spinner-logo {
  width: 100px;
  height: 100px;
  background-image: url('images/logo/gas-icn-rnd-red-xxx.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: gasRotate 1s linear infinite;
  margin-bottom: 20px;
}

.gas-spinner-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.gas-spinner-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-align: center;
}

/* ============================================
   Animations
   ============================================ */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

@keyframes pulse-placeholder {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(13, 110, 253, 0.3);
  }
  50% {
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.4);
  }
}

@keyframes gasRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spin {
  animation: spin 1s linear infinite;
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-content-container {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-contact-info {
    margin-top: 1.5rem;
  }
  
  .btn-hero {
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
  }
  
  .hero-location {
    font-size: 0.9rem;
  }

  .vrm-lookup-card {
    padding: 2rem;
    margin-top: 2rem;
  }

  .vrm-lookup-card .card-body {
    padding: 1.5rem;
  }
  
  .vrm-lookup-card .card-title {
    font-size: 1.25rem;
  }
  
  .vrm-lookup-card .card-header {
    padding: 1.25rem;
  }

  .vrm-input {
    font-size: 1.1rem;
    padding: 0.9rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .service-card img {
    height: 180px;
  }

  .brand-logo {
    height: 50px;
    margin: 0.5rem;
  }

  .navbar-brand span {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .certifications {
    padding: 1.5rem;
  }

  .footer {
    padding: 3rem 0 1rem;
  }

  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
    margin-top: 1rem;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
    font-size: 28px;
  }

  .whatsapp-float i {
    font-size: 28px;
  }

  .slick-search-card .card-body {
    padding: 1.5rem !important;
  }

  .slick-search-input {
    font-size: 1rem;
  }

  .slick-search-input-large {
    font-size: 1rem;
    padding: 0.85rem 1rem 0.85rem 3rem !important;
  }

  .slick-search-btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
  }

  #partsSearchForm .col-md-9,
  #partsSearchForm .col-md-3,
  #heroPartsSearchForm .col-md-9,
  #heroPartsSearchForm .col-md-3 {
    width: 100%;
  }

  .header-search-btn {
    padding: 0.35rem 0.6rem !important;
    height: 32px;
    min-width: 35px;
    font-size: 0.85rem;
  }

  .header-search-btn i {
    font-size: 0.9rem;
  }

  .header-search-form {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    min-width: auto;
    align-items: center;
    justify-content: center;
  }

  .header-search-wrapper {
    width: 100%;
  }

  .header-search-input {
    width: 100% !important;
  }

  .navbar-nav {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-content-container {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .hero-text-wrapper {
    padding: 0.5rem 0;
  }
  
  .btn-hero {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
  }
  
  .hero-location {
    font-size: 0.85rem;
    text-align: center;
  }

  .vrm-lookup-card {
    padding: 1.5rem;
  }

  .vrm-lookup-card .card-body {
    padding: 1.25rem;
  }
  
  .vrm-lookup-card .card-title {
    font-size: 1.1rem;
  }
  
  .vrm-lookup-card .card-header {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .service-card .card-body {
    padding: 1.5rem;
  }

  .header-search-form {
    flex-direction: row;
    gap: 0.5rem;
  }

  .header-search-btn {
    flex-shrink: 0;
    margin-left: 0.5rem !important;
  }

  .header-search-wrapper {
    flex: 1;
    min-width: 0;
  }

  .brand-card-inner {
    padding: 1rem 0.75rem;
    min-height: 120px;
  }

  .brand-logo-img {
    max-height: 50px;
  }

  .brand-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 991px) {
  .header-search-btn {
    padding: 0.35rem 0.6rem !important;
    height: 32px;
    min-width: 35px;
    font-size: 0.85rem;
  }

  .header-search-btn i {
    font-size: 0.9rem;
  }
}

/* Form Label Transitions */
.form-label {
  transition: color 0.3s ease;
}

.slick-input-wrapper:focus-within+.form-text {
  color: #0d6efd;
}

