/* Skeleton & Lazy Image Loading */
.image-skeleton, .gallery-skeleton { position:relative; background: #e2e8f0; overflow:hidden; }
.image-skeleton::before, .gallery-skeleton::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#e2e8f0 0%,#f8fafc 50%,#e2e8f0 100%); animation:skeleton-shimmer 1.2s infinite; background-size:200% 100%; }
@keyframes skeleton-shimmer { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }
.vehicle-image.loading img { opacity:0; }
.vehicle-image.loaded img { opacity:1; transition:opacity .35s ease; }
.thumb-retry { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.85); border:2px dashed #64748b; color:#334155; font-size:12px; flex-direction:column; gap:6px; border-radius:8px; }
.thumb-retry button { background:#FFA500; border:none; color:#fff; padding:6px 12px; font-size:12px; border-radius:6px; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.15); }
.thumb-retry button:hover { background:#ff9400; }
.thumb-retry.hidden { display:none; }
.modal-gallery .retry-icon { width:34px; height:34px; display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid #d6d6d6; border-radius:50%; cursor:pointer; box-shadow:0 2px 4px rgba(0,0,0,.08); }
.modal-gallery .retry-wrapper { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:rgba(255,255,255,.9); border:2px dashed #cbd5e1; border-radius:10px; font-size:12px; }
.modal-gallery .retry-wrapper.hidden { display:none; }
/* Text skeleton for card details */
.details-skeleton { position:relative; display:grid; gap:6px; padding:10px 0 4px; }
.text-skel { height:12px; border-radius:6px; background:#e2e8f0; position:relative; overflow:hidden; }
.text-skel::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#e2e8f0 0%,#f8fafc 50%,#e2e8f0 100%); animation:skeleton-shimmer 1.2s infinite; background-size:200% 100%; }
.text-skel.line1 { width:70%; height:16px; }
.text-skel.line2 { width:55%; }
.text-skel.line3 { width:40%; }
.details-real.pending { visibility:hidden; }

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f4f4;
  width: 100%;
  overflow-x: hidden;
}
html { overscroll-behavior-x: none; overflow-x: hidden; }

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
     background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    flex-wrap: wrap;
  gap: 10px;
        transition: transform .55s cubic-bezier(.25,.8,.25,1), background-color .35s ease, opacity .4s ease;
        will-change: transform;
}

/* Hidden state for auto-hide behavior */
.glass-nav.nav-hidden {
    transform: translateY(-110%);
    opacity: 0.92; /* keep slight presence for quicker perception when returning */
}

.glass-nav .navbar-logo { margin: 0; padding: 0; }
/* .glass-nav .navbar-logo img { max-width: 200px; height: auto; } */
.brand-wordmark {
  font-family: 'Cookie', cursive;
  font-size: 36px;
  color: #ffffff;
  margin-left: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.glass-nav ul { margin: 0 !important; gap: 28px; align-items: center; }
.glass-nav .nav-links { align-items: center; }
.glass-nav .nav-links > li > a { color: #ffffff; }

.glass-nav.scrolled {
    background: rgba(0, 0, 0, 0.30); /*darker when scrolled */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-nav.scrolled .nav-links > li > a { color: #ffffff; }
.glass-nav.scrolled .brand-wordmark { color: #ffffff; }
.glass-nav.scrolled .nav-item:hover { color: #FFA500; }

/* Dropdown content text should be dark on light panel */
.glass-nav .dropdown .dropdown-content h3 { color: #111827; }
.glass-nav .dropdown .dropdown-content ul li a { color: #1f2937 !important; }
.glass-nav .dropdown .dropdown-content ul li a:hover { color: #FFA500 !important; }

/* Responsive tweaks for glass navbar */
@media (max-width: 992px) {
  .glass-nav { height: 70px; padding: 8px 16px; }
  .glass-nav .navbar-logo img { max-width: 180px; }
  .glass-nav ul { gap: 18px; }
  .brand-wordmark { font-size: 30px; }
}

@media (max-width: 768px) {
  .glass-nav { height: 68px; padding: 6px 14px; }
  .glass-nav .navbar-logo img { max-width: 160px; height: 45px; }
  .glass-nav .nav-links { flex-direction: row; width: auto; margin: 0; }
  .glass-nav ul { gap: 12px; }
  .glass-nav .nav-item { font-size: 14px; padding: 6px 8px; }
  .brand-wordmark { font-size: 26px; }
  /* Keep dropdown usable on mobile with fixed nav */
  .glass-nav .dropdown .dropdown-content { 
    position: fixed !important; 
    top: 116px; 
    right: 112px; 
    left: auto; 
    max-width: 90vw; 
    max-height: 70vh; 
  }
}

/* Landing hero spacing balanced with fixed navbar */
.hero-content-overlay { padding: 140px 24px 80px; }
@media (max-width: 1200px) { .hero-content-overlay { padding: 110px 20px 70px; } }
@media (max-width: 992px)  { .hero-content-overlay { padding: 100px 16px 60px; } }
@media (max-width: 768px)  { .hero-content-overlay { padding: 80px 12px 50px; } }

 /* Logo styles */
.navbar-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: transparent;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: none;
  margin-right: auto;
  position: relative;
  transition: all 0.3s ease;
  flex: 0 0 auto; 
  order: 1;  
  margin-left: -50px; 
}

.navbar-logo img {
  margin: 0;
    max-width: 50px;
  width: 20%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.1);
  transition: all 0.4s ease;
}

.navbar-logo:hover img {
  transform: translateY(-2px) scale(1.02);
  
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  order: 3;  
}

.nav-links li {
  margin: 0 2px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: bold;
}

.nav-links a:hover {
  color: #FFA500;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 0;
}

.nav-item {
  position: relative;
  text-decoration: none;
  font-size: 16px;
  color: navy;
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  display: inline-block;
  text-align: center;
}

.nav-item:hover {
  color: #FFA500;
  letter-spacing: 1px;
}

.nav-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFA500, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.nav-item:hover::before {
  transform: translateX(100%);
  animation: slideBorder 1.5s infinite;
}

.nav-item span {
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
  font-size: 18px;
}

.nav-item:hover span {
  animation: bounce 0.5s ease-in-out;
}

/* Pseudo-element for 3D effect */
.nav-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 165, 0, 0.1);
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-item.active {
  background: rgba(255, 165, 0, 0.05);
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

@keyframes slideBorder {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Ripple effect for nav items */
.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 165, 0, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleEffect 1s ease-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(15);
    opacity: 0;
  }
}

/* Dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  background-color: #fff;
  min-width: 300px;
  max-width: 400px;  
  max-height: 500px; 
  overflow-y: auto;  
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  right: 0;  
}

.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content .category {
  padding: 15px;
  margin: 5px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
}

.dropdown-content .category:last-child {
  border-bottom: none;
}

.dropdown-content h3 {
  color: #333;
  font-size: 16px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.dropdown-content h3 i {
  margin-right: 10px;
  color: #FFA500;
  font-size: 18px;
}

.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}

.dropdown-content ul li {
  margin: 8px 0;
  padding: 0;
}

.dropdown-content ul li a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.dropdown-content ul li a:hover {
  color: #FFA500;
  background-color: rgba(240, 237, 233, 0.1);
  padding-left: 12px;
}

.dropdown-content ul li a i {
  margin-right: 8px;
  color: #666;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.dropdown-content ul li a:hover i {
  color: #FFA500;
}

.trailer-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  color: #666;
    object-fit: contain;
}

.dropdown-content ul li a:hover .trailer-icon {
  color: #FFA500;
}

.vehicle-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  color: #666;
    object-fit: contain;
}

.dropdown-content ul li a:hover .vehicle-icon {
  color: #FFA500;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    padding: 6px 0px;
    gap: 8px;
  }

  .navbar-logo { width: auto; margin: 0; order: 1; }
  .navbar-logo img { max-width: 160px; height: auto; }

  .nav-links {
    flex-direction: row;
    align-items: center;
    order: 2;
    width: auto;
    margin: 0;
  }

  .nav-links li { margin: 0 6px; }

  .nav-links a { font-size: 14px; }
  
  /* Mobile dropdown adjustments - handled in glass-nav block */
  .dropdown-content {
    padding: 10px;
  }
 
  .dropdown-content .category {
    padding: 10px;  
    margin: 2px 0;  
  }
}

/* Vehicle Registration Section */
.registration-section {
  background: #f0ebeb;  
  padding: 60px 20px;
  margin-top: 0;
}

.registration-container {
  max-width: 1200px;
  margin: 0 auto;
      display: flex;
      align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.registration-content {
  flex: 1;
}

.registration-content h2 {
  font-size: 2.5rem;
  color: #1a237e;
  margin-bottom: 20px;
  font-weight: 700;
}

.registration-content p {
  font-size: 1.1rem;
   color: #455a64; 
  margin-bottom: 30px;
  line-height: 1.6;
}

.registration-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.feature i {
  font-size: 1.5rem;
  color: #FFA500;
}

.feature span {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.register-btn, .find-vehicle-btn {
      position: relative;
    overflow: hidden;
    background: #FFA500;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

.register-btn::before, .find-vehicle-btn::before {
      content: '';
      position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
      transform: scale(0);
    transition: transform 0.5s ease-out;
    }

.register-btn:hover::before, .find-vehicle-btn:hover::before {
      transform: scale(1);
    animation: glowEffect 1.5s infinite;
}

.register-btn:hover, .find-vehicle-btn:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

@keyframes glowEffect {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0.8;
    }
}

.registration-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;  
}

.registration-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: none;  
}

.registration-img {
  position: absolute;
  max-width: 400px;
  max-height: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: none;
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: all 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.registration-img.img1 {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: showFirstImage 20s infinite;
}

.registration-img.img2 {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  animation: showSecondImage 20s infinite;
}

.registration-img.img3 {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  animation: showThirdImage 20s infinite;
}

.registration-img.img4 {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  animation: showFourthImage 20s infinite;
}

@keyframes showFirstImage {
  0%, 25% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  25.1%, 100% {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
  }
}

@keyframes showSecondImage {
  0%, 24.9% {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  25%, 50% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  50.1%, 100% {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
  }
}

@keyframes showThirdImage {
  0%, 49.9% {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  50%, 75% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  75.1%, 100% {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
  }
}

@keyframes showFourthImage {
  0%, 74.9% {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  75%, 100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Responsive styles for hero section */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .hero-features .feature {
    width: 90%;
    max-width: 300px;
    justify-content: center;
    padding: 15px 25px;
  }
  
  .hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-content-overlay {
    padding: 15px;
  }
  
}

/* Responsive styles for registration section */
@media (max-width: 768px) {
  .registration-container {
    flex-direction: column;
    text-align: center;
    margin-top: -62px;
  }

  .registration-features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 80%;
    max-width: 300px;
    justify-content: center;
  }

  .registration-image {
    order: -1;
    margin-bottom: 30px;
  }
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Registration Video Styles */
 .registration-video {
    width: 100%;
    height: auto;
    max-width: 400px;  
    max-height: 300px; 
    object-fit: contain;
    border-radius: 10px;
    box-shadow: none;  
} 

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    box-sizing: border-box;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    font-family: "Stack Sans Notch", sans-serif;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: #f0f0f0;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-features .feature span {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.hero-btn {
    position: relative;
    overflow: hidden;
    background: #FFA500;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
}

.hero-btn:hover::before {
    transform: scale(1);
    animation: glowEffect 1.5s infinite;
}

.hero-btn:hover {
    background: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.6);
}

/* Click-It animation wrapper: overlay the gif ON the button (right side) */
.btn-with-click-anim {
    position: relative;
    display: inline-block;
}

.btn-with-click-anim .click-it-anim {
    position: absolute;
    right: 12px;
    top: 28%;
    transform: translateY(-50%);
    width: 56px;
    height: auto;
    pointer-events: none; 
    user-select: none;
    z-index: 3;
    animation: subtleFloat 2.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.btn-with-click-anim .click-it-anim.small {
    width: 42px;
    animation-duration: 3.4s;
}


.btn-with-click-anim .hero-btn { padding-right: 96px; }
.btn-with-click-anim .find-vehicle-btn { padding-right: 72px; }

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); opacity: 0.95; }
    50% { transform: translateY(-10px) rotate(2deg) scale(1.03); opacity: 1; }
}

/* Responsive adjustments for click-it */
@media (max-width: 768px) {
    .btn-with-click-anim .click-it-anim { width: 46px; right: 10px; }
    .btn-with-click-anim .click-it-anim.small { width: 45px; height: auto; right: 10px; }
    .btn-with-click-anim .hero-btn { padding-right: 76px; }
    .btn-with-click-anim .find-vehicle-btn { padding-right: 60px; }
}
@media (max-width: 768px) {
    .hero-background {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-content-overlay {
        padding: 20px;
        height: 100%;
        box-sizing: border-box;
    }
    
    .hero-container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .hero-section {
        min-height: 100vh;
        width: 100%;
    }
    
    .hero-gif {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-features {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .hero-features .feature {
        padding: 5px 15px;
        width: 58%;
    }
}

/* Registration Block Styles*/
.registration-block {
    background: #f4f1ef;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    margin-top: 0;
}

.registration-section {
    background: #cfcfcf;  
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 1200px;
    transform: translateY(30px);
    opacity: 0;
    margin-bottom: 20px;
}

/* Find Vehicle Block Styles */
.find-vehicle-block {
    background: #efeeee;  
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    margin-top: 0;
}

.find-vehicle-section {
    background: #cfcfcf;  
    padding: 40px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 12px #555555ad;
    width: 99%;
    max-width: 100%;
    margin-top: 18px;
    margin-left: 7px;
}

.find-vehicle-container {
display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 40px; */
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.find-vehicle-content {
    flex: 1;
}

.find-vehicle-content h2 {
    font-size: 2.9rem;
    color: #1a237e;
    margin-bottom: 28px;
    font-weight: 700;
}

.find-vehicle-content p {
    font-size: 1.1rem;
    color: #455a64;
    margin-bottom: 30px;
    line-height: 1.6;
}

.find-vehicle-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.find-vehicle-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.find-vehicle-features .feature:hover {
    transform: translateY(-5px);
}

.find-vehicle-features .feature i {
    font-size: 1.5rem;
    color: #FFA500;
}

.find-vehicle-features .feature span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.find-vehicle-btn {
    background: #FFA500;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
    font-weight: 600;
}

.find-vehicle-btn:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.find-vehicle-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.find-vehicle-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.find-vehicle-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
}

/* Responsive styles for find vehicle section */
    @media (max-width: 768px) {
    .find-vehicle-container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .find-vehicle-features {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .find-vehicle-features .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .find-vehicle-image {
        order: -1;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .find-vehicle-img {
        width: 100%;
        object-fit: contain;
    }
}

.find-vehicle-video {
    width: 100%;
    height: auto;
        max-width: 400px;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: none;
    margin-left: 0;
}

.registration-img {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: none;  /* Removed shadow */
}

/* Registration Form Styles */
.registration-form-section {
    background: #cfcfcf;
    min-height: 100vh;
    padding: 40px 20px;
}

.registration-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-form-container h1 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 700;
}

.registration-form-container p {
    font-size: 1.1rem;
    color: #455a64;
    margin-bottom: 30px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-groupregi {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    
}

.form-groupregi i {
    position: absolute;
    left: 308px;
    top: 99%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
    font-size: 16px;
  pointer-events: none;
}

.form-groupregi input {
    width: 100%;
    padding: 15px 15px 15px 18px;
    border: 1.8px solid #1210106b;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    box-sizing: border-box;
}

.form-groupregi input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
    outline: none;
}

.form-groupregi.terms {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    margin-top: 15px;
}

.form-groupregi.terms input[type="checkbox"] {
    width: 20px;
    padding: 0;
}

.form-groupregi.terms label {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
    text-align: left;
}

/* File Upload Styles */
.file-upload {
  position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload-label {
    display: flex;
    align-items: right;
    gap: 10px;
    padding: 15px;
    background: #f5f5f5;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #FFA500;
    background: #fff8e1;
}

.file-upload-label i {
    font-size: 24px;
    color: #FFA500;
}

.file-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.file-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.address-group {
    gap: 15px;
}

.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pincode-row {
    display: flex;
    gap: 15px;
}

.pincode-row input {
    width: 180px;
}

.verify-pincode-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #FFA500;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px; 
}

.verify-pincode-btn:hover {
    background: #ff8c00;
    transform: translateY(-2px);
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

/* Submit Button Styles */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: #FFA500;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .registration-form-container {
        padding: 20px;
    }

    .registration-form-container h1 {
        font-size: 2rem;
    }

    .address-row {
        grid-template-columns: 1fr;
    }

    .pincode-row {
        flex-direction: column;
    }

    .pincode-row input {
        width: 100%;
    }

    .verify-pincode-btn {
        width: 41%;
        height: 45px;
        margin-left: 25%;
    }
} 

/* Vehicle Type Selection Styles in registration page */
.list-vehicleback-btn{
    position: relative; 
    top: 10px; 
    left: 0; 
    color: #333;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
} 

.list-vehicleback-btn:hover {
    color: #FFA500; 
    transform: translateX(-3px); 
} 



  .vehicle-select-btn span {
    flex: 1;
    text-align: left;
    margin-right: 100px;
  }
.vehicle-select-btn i {
    position: absolute;
    right: -80%;
    font-size: 16px;
    line-height: 1;
}

.vehicle-type-select {
    position: relative;
    width: 100%;
}

.vehicle-select-btn {
    width: 100%;
    padding: 12px 15px;
    background: #fff;
    border: 0.8px solid #1210106b;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-select-btn:hover {
    border-color: #007bff;
}
.vehicle-dropdown.show {
    display: block; 
}
.vehicle-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vehicle-dropdown.active {
    display: block;
}

.vehicle-category {
  padding: 15px;
    border-bottom: 1px solid #eee;
}

.vehicle-category h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicle-options {
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.vehicle-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-option:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.vehicle-option input[type="radio"] {
    margin: 0;
}

.vehicle-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.vehicle-option span {
    font-size: 14px;
    color: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
    .vehicle-options {
        grid-template-columns: 1fr;
    }
}  
.file-upload-label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f5f5f5;
    border: 1.5px solid #1b1a1a75;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-label span {
    flex: 1;
    text-align: right;
    margin-right: 100px; 
}

.file-upload-label i {
    position: absolute;
    right: -80%; 
    font-size: 20px;
    color: #666;
    line-height: 1;
}

/* Celebration Overlay Styles */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.celebration-overlay.active {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

.celebration-content {
    text-align: center;
    color: white;
}

.celebration-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFA500;
    animation: popIn 0.5s ease-out;
}

.celebration-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: popIn 0.5s ease-out 0.2s both;
}

.fireworks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.firework {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.firework::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: explode 1s ease-out infinite;
}

.firework:nth-child(1) {
    top: 20%;
    left: 20%;
}

.firework:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.3s;
}

.firework:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.6s;
}

.firework:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 0.9s;
}

.firework:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: 1.2s;
}

.firework:nth-child(6) {
    top: 30%;
    left: 50%;
    animation-delay: 1.5s;
}

.firework:nth-child(1)::before { background: #ff0; }
.firework:nth-child(2)::before { background: #f0f; }
.firework:nth-child(3)::before { background: #0ff; }
.firework:nth-child(4)::before { background: #f00; }
.firework:nth-child(5)::before { background: #0f0; }
.firework:nth-child(6)::before { background: #00f; }

@keyframes explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
  opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(15);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(30);
        opacity: 0;
    }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Platform Description Section Styles */
.platform-description {
    background: #f8f9fa;
    padding: 60px 20px;
    margin-top: 40px;
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
}

.platform-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.heading-animation {
    width: 100px;
    height: auto;
}

.platform-heading h2 {
    font-size: 2.5rem;
    color: #1a237e;
    text-align: center;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 768px) {
    .platform-heading {
        flex-direction: column;
    }
    
    .platform-heading h2 {
        font-size: 2rem;
    }
    
    .heading-animation {
        width: 80px;
    }
}

.main-description {
    font-size: 1.2rem;
    color: #455a64;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    margin-bottom: 60px;
}

.features-section h3 {
    font-size: 2rem;
    color: #1a237e;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: #FFA500;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1.1rem;
    color: #455a64;
    line-height: 1.6;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-image: url('attached_assets/images/how-it-works.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
}

@media (max-width: 768px) {
    .how-it-works-section {
        background-image: none !important;
        background: #111827; 
        background-attachment: scroll;
    }
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35) !important;
    z-index: 1;
}

.how-it-works-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-it-works-header h2 {
    font-size: 5.5rem;
    color: white;
    margin: 0 0 20px 0;
    font-family: "Agu Display", serif;
    font-weight: 400;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.how-it-works-header p {
    font-size: 2rem;
    color: #ffd54f;
    margin: 0;
    font-weight: 500;
    
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.how-step-card {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    perspective: 1000px;
}

.how-step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.how-step-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; 
    background-position: center;
    transition: transform 0.6s ease;
}

.how-step-card:hover .how-step-bg {
    transform: scale(1);
}

.how-step-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.how-step-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
    transition: background 0.4s ease;
}

.how-step-card:hover .how-step-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.how-step-number {
    display: none;
}

.how-step-icon {
    display: none;
}

.how-step-overlay h3 {
    font-size: 2rem;
    color: white;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.how-step-card:hover .how-step-overlay h3 {
    transform: translateZ(80px) translateY(-20px) scale(1.1);
    text-shadow: 
        4px 6px 12px rgba(0, 0, 0, 0.6),
        8px 12px 24px rgba(0, 0, 0, 0.4),
        12px 18px 36px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 213, 79, 0.3);
}

.how-step-overlay p {
    font-size: 1.2rem;
    color: white;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
    transform-style: preserve-3d;
}

.how-step-card:hover .how-step-overlay p {
    transform: translateZ(60px) translateY(-10px) scale(1.05);
    text-shadow: 
        3px 5px 10px rgba(0, 0, 0, 0.6),
        6px 10px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 213, 79, 0.2);
}

.how-step-overlay p strong {
    color: #ffd54f;
    font-weight: 700;
}

/* Responsive Design for How It Works */
@media (max-width: 1024px) {
    .how-it-works-header h2 {
        font-size: 2.8rem;
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .how-step-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .how-it-works-header {
        margin-bottom: 50px;
    }

    .how-it-works-header h2 {
        font-size: 2.2rem;
    }

    .how-it-works-header p {
        font-size: 1.1rem;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .how-step-card {
        height: 350px;
    }

    .how-step-overlay {
        padding: 30px 20px;
    }

    .how-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .how-step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .how-step-icon i {
        font-size: 2.5rem;
    }

    .how-step-overlay h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .how-step-overlay p {
        font-size: 1rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .description-container h2 {
        font-size: 2rem;
    }

    .main-description {
        font-size: 1.1rem;
    }

    .features-section h3,
    .how-it-works h3 {
        font-size: 1.8rem;
    }

    .feature-item,
    .step-item {
        padding: 20px;
    }

    .feature-item p,
    .step-item p {
        font-size: 1rem;
    }

    
}

/* login Pages Styles */
.auth-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(179deg, #557cb6 0%, #c3cfe2 100%);
    padding: 20px;
}

.auth-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
}

.auth-logo {
    width: 300px;
    height: auto;
}

.auth-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

.auth-form h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 0px;
    width: 100%;
}

.form-group i {
    position: absolute;
    left: 16px; 
    top: 56%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
    font-size: 16px;
    pointer-events: none; 
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1.5px solid #1b1a1a75;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    box-sizing: border-box;
    margin-top: 10px; 
}

.form-group input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
    outline: none;
}

.form-group.terms {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    margin-top: 15px;
}

.form-group.terms input[type="checkbox"] {
    width: 20px;
    padding: 0;
}

.form-group.terms label {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
    text-align: left;
    margin-bottom: -8px;
}

.auth-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.auth-form form {
    width: 100%;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.auth-switch {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #0b4e9cc9;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* OTP Input Styles */
.otp-group {
    display: none;
    animation: slideDown 0.3s ease forwards;
    width: 100%;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.otp-group input {
    letter-spacing: 2px;
    text-align: center;
    padding-left: 45px !important;
}

/* Responsive Styles for Auth Pages */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 20px;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-form h3 {
        font-size: 1.2rem;
    }

    .form-group input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .form-group i {
        font-size: 14px;
        left: 15px;
        top: 59%;
  }
}

/* Glowing Text Effect */
.glow-text {
    position: relative;
    color: #1a237e;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    animation: textGlow 2s ease-in-out infinite;
}

.glow-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF8C00);
    border-radius: 4px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-text:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 165, 0, 0.6),
                     0 0 30px rgba(255, 165, 0, 0.4),
                     0 0 40px rgba(255, 165, 0, 0.2);
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: blur(10px);
        opacity: 0.5;
    }
    50% {
        filter: blur(15px);
        opacity: 0.8;
    }
}

/* Apply glow effect to specific spans */
.registration-content h2 span,
.find-vehicle-content h2 span {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.registration-content h2 span:hover,
.find-vehicle-content h2 span:hover {
    transform: translateY(-2px);
    color: #FFA500;
}

.registration-content h2 span::before,
.find-vehicle-content h2 span::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(255,165,0,0.3) 0%, transparent 70%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.registration-content h2 span:hover::before,
.find-vehicle-content h2 span:hover::before {
    opacity: 1;
    animation: spanGlow 2s infinite;
}

@keyframes spanGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
  }
}

/* Input Validation Styles */
.form-group input.valid {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

.form-group input.invalid {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

.form-group .validation-message {
    font-size: 0.75rem;
    margin-top: 5px;
    display: none;
    transition: all 0.3s ease;
}

.form-group input.invalid + .validation-message {
    display: block;
    color: #ff6b6b;
}

.form-group input.valid + .validation-message {
    display: none;
}

/* Input focus states */
.form-group input:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
    outline: none;
}

.form-group input.valid:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-group input.invalid:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

/* Vehicle Categories Section with Flip Cards */
.vehicle-categories-section {
    padding: 60px 20px;
    background: #fff;
    max-width: 1200px;
    margin: 0px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FFA500, #ff8c00);
    border-radius: 2px;
}

.flip-cards-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flip-cards-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 270px;
    height: 300px;
    perspective: 1000px;
    margin: 0 auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Enable programmatic flipping via a class (for mobile tap) */
.flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
}

@media (hover: none), (pointer: coarse) {
    .flip-card:hover .flip-card-inner {
        transform: none; 
    }
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 93%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flip-card-front .image-container {
    position: relative;
    width: 100%;
    height: 80%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
}

.flip-card-front .image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    top: 0;
    left: 0;
}

.flip-card-front .image-container img.active {
    opacity: 1;
}

.flip-card-front h3 {
    padding: 15px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.flip-card-back {
    background: linear-gradient(135deg, #FFA500, #ff8c00);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    }

@media (max-width: 768px){
    .flip-card-back {
        width: 93%;
        height: 100%;
    }
}
.flip-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.flip-card-back p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.card-btn {
    padding: 10px 25px;
    background-color: white;
    color: #FFA500;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-btn:hover {
    background-color: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for vehicle categories section */
@media (max-width: 1100px) {
    .flip-cards-row {
        justify-content: center;
    }
    
    .flip-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 1100px) {
    .flip-card {
        max-width: 250px;
    }
}

@media (max-width: 992px) {
    .flip-cards-row {
        justify-content: center;
    }
    
    .flip-card {
        max-width: 270px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .vehicle-categories-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .flip-cards-container {
        gap: 20px;
    }
    
    .flip-cards-row {
        flex-direction: column;
        gap: 75px;
    }
    
    .flip-card {
        max-width: 100%;
        height: 280px;
    }
    
    .flip-card-front .image-container {
        height: 75%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .flip-card {
        height: 250px;
    }
    
    .flip-card-front .image-container {
        height: 70%;
    }
    
    .flip-card-back h3 {
        font-size: 1.3rem;
    }
    
    .flip-card-back p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .card-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Why Choose Herapheri Goods Section */
.why-choose-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    overflow: hidden;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-header {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center 30%;
    max-height: 400px;
    aspect-ratio: 16 / 9; 
}

.why-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(255, 152, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.why-hero-overlay h2 {
    font-size: 4rem;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    font-family: "Agu Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "MORF" 0;
}

.why-hero-overlay p {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.why-hero-overlay strong {
    font-weight: 700;
    color: #ffd54f;
}


.why-features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.why-feature-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: transparent;
    padding: 40px 0;
    transition: transform 0.3s ease;
    position: relative;
}

/* Left Image Layout - Image first, then content */
.why-feature-card.left-image {
    flex-direction: row;
}

.why-feature-card.left-image .why-feature-image {
    order: 1;
}

.why-feature-card.left-image .why-feature-content {
    order: 2;
}

/* Right Image Layout - Content first, then image */
.why-feature-card.right-image {
    flex-direction: row;
}

.why-feature-card.right-image .why-feature-content {
    order: 1;
}

.why-feature-card.right-image .why-feature-image {
    order: 2;
}

/* Feature Image */
.why-feature-image {
    flex: 0 0 45%;
    position: relative;
}

.why-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    max-height: 350px;
    aspect-ratio: 4 / 3; 
}

.why-feature-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Feature Content */
.why-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.4);
}

.why-icon i {
    font-size: 2.2rem;
    color: white;
}

.why-feature-content h3 {
    font-size: 2.5rem;
    color: #1a237e;
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    font-family: "Big Shoulders Stencil", sans-serif;
}

.why-feature-content p {
    font-size: 1.15rem;
    color: #37474f;
    line-height: 1.8;
    margin: 0;
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Each line in paragraph for AOS animation */
.why-feature-content p span {
    display: block;
    margin-bottom: 8px;
}

.why-feature-content p span:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-feature-card {
        padding: 40px;
        gap: 40px;
    }
    
    .why-hero-overlay h2 {
        font-size: 2.8rem;
    }
    
    .why-hero-overlay p {
        font-size: 1.3rem;
    }
}

@media (max-width: 968px) {
    .why-choose-section {
        padding: 60px 0;
    }
    
    .why-choose-header {
        margin-bottom: 60px;
    }
    
    .why-hero-overlay h2 {
        font-size: 2.2rem;
    }
    
    .why-hero-overlay p {
        font-size: 1.1rem;
    }
    
    .why-features-wrapper {
        gap: 40px;
    }
    
    .why-feature-card {
        padding: 30px;
        gap: 30px;
    }
    
    .why-feature-content h3 {
        font-size: 1.8rem;
    }
    
    .why-feature-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 40px 0;
    }
    
    .why-choose-header {
        margin-bottom: 40px;
        border-radius: 15px;
    }
    
    .why-hero-image {
        max-height: 250px;
        transform: translateY(12px);
        object-position: center 50%;
    }
    
    .why-hero-overlay {
        padding: 20px;
    }
    
    .why-hero-overlay h2 {
        font-size: 1.8rem;
    }
    
    .why-hero-overlay p {
        font-size: 1rem;
    }
    
    .why-features-wrapper {
        gap: 30px;
    }
    
    /* Stack on mobile */
    .why-feature-card,
    .why-feature-card.left-image,
    .why-feature-card.right-image {
        flex-direction: column;
        padding: 30px 0;
        gap: 25px;
    }
    
    /* Reset order on mobile - always show image first */
    .why-feature-card.left-image .why-feature-image,
    .why-feature-card.right-image .why-feature-image {
        order: 1;
    }
    
    .why-feature-card.left-image .why-feature-content,
    .why-feature-card.right-image .why-feature-content {
        order: 2;
    }
    
    .why-feature-image {
        flex: 1;
        width: 100%;
    }
    
    .why-feature-image img {
        max-height: 250px;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
    }
    
    .why-icon i {
        font-size: 1.6rem;
    }
    
    .why-feature-content h3 {
        font-size: 1.5rem;
    }
    
    .why-feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 30px 0;
    }
    
    .why-hero-overlay h2 {
        font-size: 1.5rem;
    }
    
    .why-hero-overlay p {
        font-size: 0.9rem;
    }
    
    .why-feature-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .why-feature-image img {
        border-radius: 10px;
        max-height: 200px;
    }
    
    .why-feature-content h3 {
        font-size: 1.3rem;
    }
    
    .why-feature-content p {
        font-size: 0.9rem;
    }
}

/* Review Sidebar Styles */
.review-sidebar {
    position: fixed;
    left: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    background: white;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, opacity 0.4s ease;
    z-index: 1000;
    border-radius: 0 15px 15px 0;
    opacity: 1;
}

.review-sidebar.active {
    left: -9px;
}

.review-sidebar.hidden {
    transform: translateX(-100%);
    opacity: 0.4 ease;
    pointer-events: none;
}

.review-toggle {
    position: absolute;
    right: -38px;
    top: 44%;
    transform: translateY(-50%);
    background: #FFA500;
    border: none;
    padding: 10px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: white;
    transition: all 0.3s ease;
}

.review-toggle:hover {
    background: #ff8c00;
    padding-right: 15px;
}

.review-toggle i {
    font-size: 20px;
}

.review-toggle span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: 500;
}

.review-content {
    padding: 20px;
}
@media (max-width: 768px) {
    .review-content {
        padding: 13px;
    }
}

.review-content h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.rating-container {
    text-align: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 0px;
    border-radius: 10px;
}

.stars {
    display: inline-flex;
    gap: 8px;
    position: relative;
    padding: 5px 0;
}

.stars i {
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
}

.stars:hover i {
    color: #ffd700;
}

.stars i:hover ~ i {
    color: #ddd;
}

.stars i.active {
    color: #ffd700;
}

.stars i.active ~ i {
    color: #ddd;
}

.rating-text {
    margin-top: 10px;
    color: #666;
    font-weight: 500;
}

.rating-descriptions {
    margin: 20px 0;
}

.rating-desc {
    display: none;
    padding: 0;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.rating-desc.active {
    display: block;
}

.rating-desc h4 {
    color: #333;
    margin-bottom: 8px;
}

.rating-desc p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.review-form {
    margin-top: 20px;
}

.review-form textarea {
    width: 85%;
    height: 100px;
    padding: 12px;
    border: 1px solid #00000080;
    border-radius: 8px;
    resize: none;
    margin-bottom: 10px;
    font-family: inherit;
}

.review-form textarea:focus {
    border-color: #FFA500;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.1);
}

.submit-review {
    width: 100%;
    padding: 12px;
    background: #FFA500;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review:hover {
    background: #ff8c00;
    transform: translateY(-2px);
}

.submit-review:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .review-sidebar {
        width: 286px;
        left: -290px;
        top: 327px;
        
    }
    
    .stars i {
        font-size: 20px;
    }

    .rating-desc h4 {
        font-size: 1rem;
    }

    .rating-desc p {
        font-size: 0.8rem;
    }
    
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left center;
        width: 115% !important;
        max-width: 305px;
        overflow: hidden;
    }
    
    .review-form textarea {
        width: 90%;
    }
    .submit-review {
        width: 60%;
    }
}

/* Social Share Drawer Styles */
.share-drawer {
    position: fixed;
    left: -119px; 
    top: calc(54% + 136px);
    width: auto;
    background: transparent; 
    transition: transform 0.8s ease, opacity 0.4s ease;
    z-index: 1000;
    opacity: 1;
}

.share-drawer.active {
    left: 0;
}

.share-drawer.hidden {
    transform: translateX(-100%);
    opacity: 0.4 ease;
    pointer-events: none;
}

.share-toggle {
    position: absolute;
    right: -54px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a73e8;
    border: none;
    padding: 12px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 5px;
    color: white;
    transition: all 0.4 ease;
    width: 65px;
    height: 50px;
    font-size: 22px;
}

.share-toggle:hover {
    background: #1557b0;
    padding-right: 15px;
}

.share-content {
    background: #1a73e8;
    padding: 15px;
    border-radius: 0 15px 15px 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.share-drawer.active .share-content {
    transform: translateX(0);
}

.social-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons a {
    border-radius: 50%;
    color: #3f345f;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 45px;
    box-shadow: 0 5px 15px rgba(93, 70, 232, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    transform: scale(1);
}

/* Social icon specific colors and hover effects */
.social-icons .whatsapp:hover {
    background: #25D366;
    color: white;
    transform: translateX(5px);
}

.social-icons .facebook:hover {
    background: #1877F2;
    color: white;
    transform: translateX(5px);
}

.social-icons .email:hover {
    background: #EA4335;
    color: white;
    transform: translateX(5px);
}

/* Animation for icons */
.social-icons a:hover i {
    animation: jello-horizontal 0.9s both;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .share-drawer {
        left: -108px;
        top: 485px;
    }
    .share-toggle {
        top: 107px;
    }
    
    .social-icons a {
        height: 35px;
        width: 35px;
    }
    
    .social-icons a i {
        font-size: 16px;
    }
}

/* Back Button Styling in login page*/
.back-btn {
    position: absolute; 
    top: 20px; 
    left: 20px; 
    color: #333;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-btn:hover {
    color: #FFA500; 
    transform: translateX(-3px); 
}

/* Footer Styles */
.footer {
    background: #1a227ec5;
    color: #fff;
    padding: 60px 0 0;
    margin-top: 50px;
    clear:both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.footer-column h3 {
    color: #FFA500;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #FFA500;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 30px; 
    margin-top: 5px; 
}

.footer-column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-column ul li a i {
    margin-right: 10px;
    color: #FFA500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #FFA500;
    transform: translateX(5px);
}

.footer-column ul li a:hover i {
    transform: translateX(3px);
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFA500;
    transform: translateY(-3px);
}

/* Contact Info Styles */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.contact-info li i {
    color: #FFA500;
    font-size: 18px;
    margin-top: 3px;
}

/* Footer Bottom Styles */
.footer-bottom {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background: rgba(15, 35, 213, 0.485);
}

.footer-bottom p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-column ul li a {
        justify-content: center;
    }
}

/* About Us Show More Styles */
.about-content {
    position: relative;
    margin-bottom: 15px;
}

.about-text {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.about-text-more {
    line-height: 1.6;
    color: #e0e0e0;
    display: none;
    animation: fadeIn 0.5s ease;
}

.show-more-btn {
    background: transparent;
    border: none;
    color: #FFA500;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    margin-bottom: -5%;
    transition: all 0.3s ease;
    border: 1px solid #FFA500;
    border-radius: 15px;
}

.show-more-btn:hover {
    background: #FFA500;
    color: #fff;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update existing footer column styles */
.footer-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px; 
}

/* Responsive styles for show more */
@media (max-width: 576px) {
    .show-more-btn {
        align-self: center;
    }
}

.service-icon {
    width: 70px; 
    height: auto; 
    vertical-align: middle; 
    margin-left: 5px; 
}

/* Privacy Policy Heading Styles */
.privacy-policy-heading {
    font-size: 3.5rem; 
    color: rgb(243, 236, 236); 
    background-color: #FFA500; 
    padding: 20px; 
    text-align: left; 
    margin-bottom: 20px; 
}

/* Privacy Policy Content Styles */
.privacy-content {
    max-width: 10000px;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
    font-family: 'Verdana', 'Geneva', sans-serif;
    letter-spacing: 0.5px;  
    word-spacing: 2px;  
    color: #074a76;
    text-align: justify;
    margin-left: 80.0pt;
    margin-right: 80.0pt;
}

.privacy-content h2 {
    color: #1a237e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 2.0rem;
}

.privacy-content h3 {
    color: #283593;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.privacy-content p {
    margin-bottom: 15px;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content ul li {
    margin-bottom: 8px;
}

.privacy-content strong {
    color: #1a237e;
}

.privacy-content a {
    color: #1a237e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-content a:hover {
    color: #283593;
    text-decoration: underline;
}

.effective-date {
    color: #004672;
    font-style: italic;
    margin-bottom: 30px;
}

.last-updated {
    color: #004672;
    font-style: italic;
    margin-top: 30px;
    text-align: right;
    margin-bottom: -15%;
}
/* Privacy Policy Logo Styles */
.privacy-logo {
    width: 250px;   
    height: auto;   
    display: block;     
    margin-bottom: -2%;     
}
/* Mobile Responsive Styles for Privacy Policy Content */
@media (max-width: 768px) {
    .privacy-content {
        margin-left: 10px;   
        margin-right: 10px; 
        padding: 10px; 
    }

    .privacy-policy-heading {
        font-size: 2.5rem;  
    }

    .privacy-content h2 {
        font-size: 1.8rem; 
    }

    .privacy-content h3 {
        font-size: 1.5rem;  
    }

    .privacy-content p {
        font-size: 1rem; 
    }
}

/* Refer & Earn Policy and refund policy Styles */
.refer-earn-policy-heading {
    font-size: 3.0rem; 
    color: rgb(243, 236, 236); 
    background-color: #FFA500; 
    padding: 20px; 
    text-align: left; 
    margin-bottom: 20px; 
}

.refund-policy-heading {
    font-size: 3.0rem; 
    color: rgb(243, 236, 236); 
    background-color: #FFA500; 
    padding: 20px; 
    text-align: left; 
    margin-bottom: 20px; 
}

.refer-earn-policy-content {
    max-width: 10000px;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
    font-family: 'Verdana', 'Geneva', sans-serif; 
    letter-spacing: 0.5px; 
    word-spacing: 2px; 
    color: #074a76;
    text-align: justify;
    margin-left: 80.0pt;
    margin-right: 80.0pt;
}

.refer-earn-policy-content p {
    margin-bottom: 15px;
}

.refund-policy-content {
    max-width: 10000px;
    margin: 0 auto;
    padding: 10px;
    font-size: 1.1rem;
    font-family: 'Verdana', 'Geneva', sans-serif; 
    letter-spacing: 0px; 
    word-spacing: 0px; 
    color: #074a76;
    text-align: justify;
    margin-left: 80.0pt;
    margin-right: 80.0pt;
}

/* Mobile Responsive Styles for refer & earn policy and refund policy Content */
@media (max-width: 768px) {
    .refer-earn-policy-content {
        margin-left: 10px;   
        margin-right: 10px; 
        padding: 10px; 
        letter-spacing: 0px; 
        word-spacing: 0px;   
    }

}
/* Terms & Conditions  Styles */
.terms-conditions-heading{
    font-size: 3.0rem;  
    color: rgb(243, 236, 236); 
    background-color: #FFA500; 
    padding: 20px; 
    text-align: left; 
    margin-bottom: 20px;    
}

.terms-conditions-content {max-width: 10000px;
    margin: 0 auto;
    padding: 10px;
    font-size: 17px;
    font-family: 'Verdana', 'Geneva', sans-serif; 
    letter-spacing: 0.5px; 
    word-spacing: 2px; 
    color: #074a76;
    text-align: justify;
    margin-left: 80.0pt;
    margin-right: 80.0pt;
}
.terms-conditions-content h2{
    color: #004672;
}

.terms-conditions-content h3{
    text-align: center;
    margin-top: 60px;
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .terms-conditions-content {
        margin-left: 10px;   
        margin-right: 10px; 
        padding: 10px; 
    }
}

/* register page choose vehicle photo options */
.photo-options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.photo-option {
    flex: 1;
    padding: 10px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.photo-option:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.camera-option {
    background: #e8f4ff;
}

.gallery-option {
    background: #fff8e8;
}

.camera-option i {
    color: #1a73e8;
}

.gallery-option i {
    color: #FFA500;
}

/* Multi-photo upload styles */
.file-preview-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    gap: 10px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 100px;
    margin-top: 10px;
}

.preview-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.preview-image-container:hover {
    transform: scale(1.05);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    text-align: center;
}

.photo-counter {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.photo-error {
    color: #d9534f;
    font-size: 14px;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: rgba(217, 83, 79, 0.1);
    border-left: 3px solid #d9534f;
    border-radius: 3px;
}

.photo-instructions {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #FFA500;
}

.photo-instructions p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.photo-instructions ul {
    margin-left: 25px;
    padding-left: 0;
}

.photo-instructions li {
    margin-bottom: 5px;
}

.photo-instructions i {
    color: #FFA500;
}

@media (max-width: 768px) {
    .preview-image-container {
        width: 80px;
        height: 80px;
    }

    .photo-instructions {
        font-size: 12px;
    }
}

/* Improved Vehicle Photos Upload Styles */
.vehicle-photos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.photo-upload-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border: 2px dashed #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.photo-upload-box:hover {
    border-color: #FFA500;
    background-color: #fff8ee;
}

.photo-upload-box.has-image {
    border-style: solid;
    border-color: #4CAF50;
    background-color: #fff;
}

.photo-preview {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
}

.photo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
}

.photo-label {
    font-weight: bold;
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    margin-bottom: 10px;
    z-index: 3;
    position: relative;
}

.photo-actions {
    display: flex;
    gap: 10px;
    z-index: 3;
    position: relative;
}

.photo-upload-btn, .photo-remove-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 90px;
    justify-content: center;
}

.photo-upload-btn {
    background-color: #FFA500;
    color: white;
}

.photo-upload-btn:hover {
    background-color: #FF8C00;
    transform: translateY(-2px);
}

.photo-remove-btn {
    background-color: #f44336;
    color: white;
}

.photo-remove-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

.photo-upload-box.has-image .photo-preview {
    background-color: transparent;
}

.photo-upload-box.has-image .photo-label {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    font-size: 13px;
    z-index: 5;
}

.photo-upload-box.has-image .photo-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    margin: 0;
    display: flex;
    flex-direction: row;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.photo-upload-box.has-image .photo-upload-btn,
.photo-upload-box.has-image .photo-remove-btn {
    padding: 5px 8px;
    font-size: 12px;
    min-width: auto;
}

/* Add a semi-transparent overlay when hovering over an image to make buttons more visible */
.photo-upload-box.has-image:hover .photo-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .photo-upload-box.has-image .photo-actions {
        flex-direction: column;
        right: 5px;
        bottom: 5px;
        gap: 5px;
    }
    
    .photo-upload-box.has-image .photo-label {
        top: 5px;
        left: 5px;
        font-size: 12px;
        padding: 3px 6px;
    }
}

.photo-error {
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
    margin-top: 10px;
}

.photo-counter {
    text-align: center;
    color: #555;
    margin-top: 10px;
    font-weight: bold;
}

/* Photo Upload Modal */
.photo-upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: #FFA500;
    color: white;
    padding: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upload-view-title {
    font-weight: bold;
    font-size: 18px;
}

.close-modal {
    cursor: pointer;
    font-size: 24px;
}

.modal-options {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.modal-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-option:hover {
    background-color: #f5f5f5;
}

.modal-option i {
    font-size: 24px;
    color: #FFA500;
}

.modal-option span {
    font-size: 16px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .vehicle-photos-container {
        grid-template-columns: 1fr;
    }
    
    .photo-upload-box {
        aspect-ratio: 3/2;
    }
    
    .modal-content {
        width: 95%;
    }
}

/*Feedback Carousel Styles*/

.feedback-carousel-section {
  padding: 50px 0 30px;
  background-color: #f8f9fa;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 16px;
  color: #666;
}

.feedback-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 100%;
}

.feedback-carousel {
  display: flex;
  transition: transform 0.1s linear;    
  will-change: transform;
  padding: 10px 0;
  position: relative;
  left: 0;
}

.feedback-card {
  flex: 0 0 300px;
  margin: 0 15px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 26% );
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Rating-based card styling */
.feedback-card.low-rating {
  background: linear-gradient(to bottom right, #fff5f5, #fff);
  border-left: none;
}

.feedback-card.medium-rating {
  background: linear-gradient(to bottom right, #fff9e6, #fff);
  border-left: none;
}

.feedback-card.high-rating {
  background: linear-gradient(to bottom right, #f1ffee, #fff);
  border-left: none;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feedback-card .user-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feedback-card .user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-right: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Rating-based avatar styling */
.feedback-card .low-rating-avatar {
  background-color: #ff6b6b;
}

.feedback-card .medium-rating-avatar {
  background-color: #ffc107;
}

.feedback-card .high-rating-avatar {
  background-color: #4CAF50;
}

.feedback-card .user-details {
  flex: 1;
}

.feedback-card .user-name {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-bottom: 2px;
}

.feedback-card .user-location {
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
}

.feedback-card .user-location::before {
  content: '\f3c5';     
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  margin-right: 5px;
  color: #999;
}

.feedback-card .rating {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Rating-based star styling */
.feedback-card .low-rating-star {
  color: #ff6b6b;
}

.feedback-card .medium-rating-star {
  color: #ffc107;
}

.feedback-card .high-rating-star {
  color: #ffd700; 
}

/* Rating indicator */
.feedback-card .rating::after {
  content: attr(data-rating);
  margin-left: 8px;
  font-size: 14px;
  color: #999;
}

/* Wrapper for review text to help with expansion */
.feedback-card .review-wrapper {
  position: relative;
  margin-top: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feedback-card .review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  position: relative;
  max-height: 85px;
  overflow: hidden;
  transition: all 0.3s ease-out;
  font-style: normal;
  padding-left: 0px;    
  border-left: none;    
}

.feedback-card.low-rating .review-text {
  border-left: none;    
}

.feedback-card.medium-rating .review-text {
  border-left: none;    
}

.feedback-card.high-rating .review-text {
  border-left: none;    
}

.feedback-card .review-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Expanded card styles */
.feedback-card .review-text.expanded::after {
  opacity: 0;    
}

.feedback-card:hover {
  z-index: 100;    
}


/* Loading animation */
.feedback-card.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.loading-animation {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4a6cf7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* No feedback/error message styles */
.feedback-card.no-feedback,
.feedback-card.error {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 80%;
  margin: 0 auto;
}

.feedback-card.no-feedback p,
.feedback-card.error p {
  color: #666;
  font-size: 16px;
}

.feedback-card.error p {
  color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feedback-card {
    flex: 0 0 280px;
    min-height: 180px;
  }
  
  .feedback-carousel-section {
    padding: 30px 0;
  }
  
  .section-heading h2 {
    font-size: 26px;
  }
  
  .section-heading p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .feedback-card {
    flex: 0 0 260px;
    min-height: 160px;
    padding: 15px;
    margin: 0 10px;
  }
  
  .feedback-card .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .feedback-card .user-name {
    font-size: 14px;
  }
  
  .feedback-card .user-location {
    font-size: 12px;
  }
  
  .feedback-card .review-text {
    font-size: 13px;
    max-height: 70px;
  }
}

/* Vehicle Owner Feedback Carousel Styles */
.vehicle-owner-feedback-section {
  padding: 30px 0 50px;
  background-color: #f7fafc;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.vehicle-owner-carousel-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.vehicle-owner-carousel {
  display: flex;
  transition: transform 0.1s linear;    
  will-change: transform;
  padding: 10px 0;
  position: relative;
  left: 0;    
}


.vehicle-owner-card {
  background: linear-gradient(to bottom right, #e6f2ff, #ffffff);
  border: 1px solid #b3d9ff;
  border-left: none;
}

.vehicle-owner-card .user-avatar {
  background-color: #3366cc;    
}

.vehicle-owner-card.high-rating {
  border-left: none;
}

.vehicle-owner-card.medium-rating {
  border-left: none;
}

.vehicle-owner-card.low-rating {
  border-left: none;
}

/* Change avatar colors to match rating like the customer feedback carousel */
.vehicle-owner-card .low-rating-avatar {
  background-color: #ff6b6b; /* Red for low ratings */
}

.vehicle-owner-card .medium-rating-avatar {
  background-color: #ffc107; /* Yellow/amber for medium ratings */
}

.vehicle-owner-card .high-rating-avatar {
  background-color: #4CAF50; /* Green for high ratings */
}

/* Responsive styles for vehicle owner carousel */
@media (max-width: 768px) {
  .vehicle-owner-feedback-section {
    padding: 30px 0;
  }
  
  .vehicle-owner-carousel-container {
    padding: 15px 0;
  }
}

/*Mobile Navbar: Hamburger + Sidebar Drawer*/
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
}

.glass-nav.scrolled .mobile-menu-btn { color: #ffffff; }

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width:  243px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -8px 0 30px rgba(0,0,0,0.25);
  transition: right 0.35s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.mobile-sidebar.open { right: 0; }

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li { margin: 0; }

.mobile-nav-item {
  display: block;
  padding: 14px 20px;
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-item:hover { color: #FFA500; padding-left: 26px; }

.mobile-nav-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background-color 0.3s ease;
}

.mobile-nav-item:hover::before { background: #FFA500; }

@media (max-width: 768px) {
  .glass-nav { justify-content: space-between; }
  .glass-nav .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; order: 4; right: 4px; position: relative; top: 0px ; }
  .glass-nav .navbar-logo { margin-left: 0; }
}

/* Animated hamburger lines */
.menu { padding: 0; }
.menu .line { fill: none; stroke: #ffffff; stroke-width: 6; transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1); }
.glass-nav.scrolled .menu .line { stroke: #ffffff; }
.menu .line1 { stroke-dasharray: 60 207; stroke-width: 6; }
.menu .line2 { stroke-dasharray: 60 60; stroke-width: 6; }
.menu .line3 { stroke-dasharray: 60 207; stroke-width: 6; }
.menu.opened .line1 { stroke-dasharray: 90 207; stroke-dashoffset: -134; stroke-width: 6; }
.menu.opened .line2 { stroke-dasharray: 1 60; stroke-dashoffset: -30; stroke-width: 6; }
.menu.opened .line3 { stroke-dasharray: 90 207; stroke-dashoffset: -134; stroke-width: 6; }

/* Image Loading Indicators */
.image-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 5;
    font-size: 2rem;
    color: #060606;
}

.vehicle-image {
    position: relative;
    overflow: hidden;
}

/* Make sure the spinner is visible */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Vehicle filter styles */
.filter-section {
    padding: 20px;
    background-color: #1a237e;
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Result grid styles */
.results-container {
    width: 100%;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.showing-count {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-weight: 500;
    color: #333;
}

.sort-options select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
}

.refresh-btn {
    padding: 8px 15px;
    background-color: #FFA500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
}

.refresh-btn i {
    font-size: 16px;
}

/* Animate the refresh icon on hover */
.refresh-btn:hover i {
    animation: spin 1s linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Vehicle Card Styles */
.vehicle-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.vehicle-image img {
    width: 111%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 165, 0, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.vehicle-details {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-info {
    margin-bottom: 15px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.info-item i {
    font-size: 14px;
    color: #FFA500;
    width: 16px;
    text-align: center;
}

.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.highlight-tag {
    background: rgba(255, 165, 0, 0.1);
    color: #FFA500;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.highlight-more {
    background: rgba(26, 35, 126, 0.1);
    color: #1a237e;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.vehicle-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-details-btn {
    background: #FFA500;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background: #ff8c00;
}

/* Responsive styles for vehicle cards */
@media (max-width: 768px) {
    .vehicle-image {
        height: 150px;
    }
    
    .vehicle-title {
        font-size: 16px;
    }
    
    .info-item {
        font-size: 13px;
    }
    
    .view-details-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Premium Vehicle Styles */
.premium-vehicle {
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    transform: translateY(-5px);
    z-index: 2;
}

.premium-vehicle:hover {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-8px);
}

.premium-badge {
    position: absolute;
    top: -6px;
    left: -16px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: auto;
    z-index: 2;
}

.premium-badge i {
    color: #000;
}

.premium-title {
    color: #B8860B;
    font-weight: 700;
}

.premium-info-item {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 3px solid #FFD700;
}

.premium-highlights {
    margin-top: 12px;
}

.premium-tag {
    background-color: #FFF8DC;
    border-color: #FFD700;
    color: #B8860B;
}

.premium-more {
    background-color: #FFF8DC;
    color: #B8860B;
}

.premium-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.premium-btn:hover {
    background: linear-gradient(135deg, #FFC800, #FF9000);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Document Preview Modal Styles */
.document-preview-modal {
    max-width: 800px;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.document-preview-modal .modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.document-preview-modal .modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.document-preview-modal .modal-body {
    padding: 0;
    background-color: #f8f9fa;
}

.document-preview-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.preview-action-btn {
    padding: 8px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.preview-action-btn:hover {
    background-color: #0056b3;
}

/* Document Actions Styles */
.document-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.document-action-btn {
    padding: 6px 10px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.document-action-btn.delete-btn {
    background-color: #dc3545;
    color: white;
    align-self: flex-start;
    margin-top: 5px;
}

.document-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}



.document-uploaded-btn {
    background-color: #28a745;
    color: white;
    cursor: default;
}

.document-status {
    display: flex;
    flex-direction: column;
}

.view-document-btn {
    background-color: #28a745;
    color: white;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #007BFF;
    font-size: 18px;
}

.loading-spinner i {
    font-size: 32px;
    margin-bottom: 15px;
}

.document-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #dc3545;
    text-align: center;
    background-color: #f8d7da;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.document-error i {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.document-error p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #721c24;
}

.error-details {
    font-size: 12px;
    color: #856404;
    background-color: #fff3cd;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Document verification styles */
.verification-message {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verification-message i {
    color: #0d6efd;
}

.status-badge.pending {
    background-color: #ffc107;
    color: #000;
}

.status-badge.success {
    background-color: #28a745;
    color: #fff;
}

.image-preview-container {
    width: 100%;
    max-height: 70vh;
    overflow: auto;
    text-align: center;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 65vh;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    object-fit: contain;
}

.pdf-embed-container {
    width: 100%;
    height: 70vh;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pdf-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: white;
}

.permanent-note i {
    color: #dc3545;
    margin-right: 8px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.permanent-note strong {
    position: relative;
    z-index: 1;
}

/* Document Verification Badges Section */
.document-badges-section {
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #d1e7ff;
    border-radius: 8px;
    background-color: #f0f8ff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.document-badges-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d1e7ff;
}

.document-badges-section h3 i {
    color: #ffc107;
    font-size: 22px;
}

.document-badges-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.document-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-bottom: 10px;
    border-left: 4px solid #e3e3e3;
}

.document-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.document-badge-item:has(.document-badge-status.verified) {
    border-left-color: #28a745;
}

.document-badge-item:has(.document-badge-status.not-verified) {
    border-left-color: #dc3545;
}

.document-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 22px;
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.2);
}

.document-badge-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.document-badge-title {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.document-badge-status {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.document-badge-status i {
    font-size: 14px;
}

.document-badge-status.verified {
    color: #28a745;
}

.document-badge-status.not-verified {
    color: #dc3545;
}

.document-badge-meaning {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 3px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .document-badges-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Pagination Styles */
.pagination-nav { margin:40px 0 20px; display:flex; justify-content:center; }
.pagination-controls { display:flex; gap:8px; flex-wrap:wrap; align-items:center; background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 100%); padding:12px 16px; border-radius:14px; box-shadow:0 4px 14px rgba(0,0,0,.08); }
.pagination-btn { min-width:42px; height:42px; padding:0 14px; border:1px solid #d6dae1; background:#ffffff; color:#1f2937; font-weight:600; border-radius:10px; cursor:pointer; font-size:14px; line-height:40px; display:flex; align-items:center; justify-content:center; position:relative; transition:all .25s cubic-bezier(.4,0,.2,1); }
.pagination-btn:hover:not(:disabled){ background:#1f2937; color:#ffffff; box-shadow:0 3px 10px rgba(0,0,0,.12); transform:translateY(-2px); }
.pagination-btn:focus-visible { outline:3px solid #FFA500; outline-offset:2px; }
.pagination-btn.active { background:#FFA500; color:#ffffff; border-color:#FFA500; box-shadow:0 4px 12px rgba(255,165,0,.4); }
.pagination-btn:disabled { opacity:.45; cursor:not-allowed; background:#f1f5f9; color:#64748b; }
.pagination-ellipsis { width:34px; display:flex; align-items:center; justify-content:center; color:#64748b; font-size:20px; user-select:none; }
@media (max-width:640px){ .pagination-controls { padding:10px 12px; gap:6px; } .pagination-btn { min-width:36px; height:36px; line-height:34px; font-size:13px; } }
@media (prefers-reduced-motion: reduce){ .pagination-btn { transition:none; } }
