        /* Page Loader Styles */
        .page-loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }
        
        .loader-content {
            text-align: center;
        }
        
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        .loader-text {
            color: var(--dark);
            font-weight: 500;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .page-loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        :root {
            --primary: #ff4f00;
            --secondary: #eee9e9;
            --dark: #222;
            --light: #fff;
            --gray: #777;
            --light-gray: #eaeaea;
        }
html, body {
  overflow-x: hidden;
}



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            overflow-x: hidden;
        }

        /* Navbar Styles */
        .navbar {
            background-color: var(--secondary);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
           /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .logo {
            height: 50px;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .contact-btn {
            background-color: var(--primary);
            color: white;
            padding: 10px 20px;
         
            font-weight: 600;
            transition: all 0.3s;
        }

        .contact-btn:hover {
            background-color: var(--primary);
            transform: translateY(-2px);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 24px;
        }

        .mobile-menu {
            position: fixed;
            top: 70px;
            right: -100%;
            width: 100%;
            height: calc(100vh - 70px);
            background-color: var(--secondary);
           /* box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);*/
            transition: right 0.3s ease;
            z-index: 999;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu a {
            text-decoration: none;
            color: var(--dark);
      
            font-size: 18px;
            padding: 10px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .mobile-menu .contact-btn {
            width: fit-content;
            margin-top: 20px;
        }

        /* Hero Section */
   

.search-box {
    background-color: #0a2748;
    padding: 50px 20px 50px 20px; /* top right bottom left */
    border-radius: 15px;
    margin-bottom: 30px;
}



        .search-filters {
            
            border-radius: 10px;
            padding: 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: space-between;
        }

        .filter-group {
            flex: 1;
            min-width: 150px;
            position: relative;
        }

        .filter-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--gray);
            font-size: 14px;
        }

.filter-select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  appearance: none;
  color:var(--primary);
  background-color: white;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}


@media screen and (max-width: 768px) {
  .filter-select {
    background-image: none;
  }
}


        .filter-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(255, 79, 0, 0.2);
        }

        .explore-btn {
            background-color: var(--primary);
            color: var(--light);
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            align-self: flex-end;
        }

        .explore-btn:hover {
            background-color: var(--primary);
            transform: translateY(-2px);
        }

        /* Sections Common Styles */
        .section {
            padding: 80px 5%;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        /* Recommended Cars */
        .recommended-cars .swiper {
            padding: 20px 0 40px;
           
        }

        .car-card {
            background-color: var(--light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .car-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .car-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .car-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

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

          .wishlist-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 106px;
            height: 36px;
         
           
            display: flex;
            align-items: center;
            justify-content: center;
          
            cursor: pointer;
            border: none;
            transition: all 0.3s;
        }

      @supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
 .wishlist-btn{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
     color: var(--primary);
     font-weight:bold;
     border-radius:13px;
  }
  
      }
        .car-details {
            padding: 20px;
        }

        .car-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .car-specs {
            color: var(--gray);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: var(--light-gray);
            opacity: 1;
        }

        .swiper-pagination-bullet-active {
            background-color: var(--primary);
        }

        /* Car Body Types */
        .body-types {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .body-type-btn {
            padding: 8px 20px;
      color:black;
            border: 1px solid var(--dark);
           
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .body-type-btn.active, .body-type-btn:hover {
            background-color: var(--primary);
            color: var(--light);
            border-color: var(--primary);
        }

        /* Cars by Budget */
        .budget-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .budget-filter {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .budget-label {
            font-weight: 600;
        }

         /* Hero Slider */
        .hero-slider {
            position: relative;
         /*   height: 500px;*/
           
            overflow: hidden;
         
        }

       .hero-slide {
  position: relative;
  height: 100%;
  overflow: hidden;
}



/* Ensure content is above overlay */
.slide-content {
  position: absolute;
  z-index: 2;
}


        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .slide-content {
            position: absolute;
            bottom: 40px;
            right: 40px;
            color: var(--light);
            text-align: right;
            max-width: 500px;
        }
        
       .slide-content2 {
    position: absolute;
    /* bottom: 40px; */
    /* right: 40px; */
    color: var(--light);
    text-align: right;
    max-width: 500px;
}

        .slide-title {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .slide-specs {
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .hero-slider .swiper-pagination {
            bottom: 20px;
            right: 20px;
            left: auto;
            width: auto;
        }

        /* Brands Section */
        .brands {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 20px;
            margin: 40px 0;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
           background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            transition: all 0.3s;
        }

        .brand-logo:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .brand-logo img {
            max-width: 100%;
            max-height: 50px;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s;
        }

        .brand-logo:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

        /* Blog Section */
        
        .container{
            margin:20px;
        }
       /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .blog-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .blog-img {
            height: 200px;
            overflow: hidden;
        }
        
        .blog-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .blog-content {
            padding: 20px;
        }
        
        .blog-date {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        
        .blog-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        
        .blog-title a {
            color: var(--dark);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .blog-title a:hover {
            color: var(--secondary);
        }
        
        .blog-excerpt {
            margin-bottom: 15px;
        }
        
        .read-more {
            color: var(--primary);
            font-weight: 600;
            text-decoration: nothing;
            font-size: 0.9rem;
        }

        /* Footer */
        footer {
            background-color: black;
            color: var(--light);
            padding: 60px 5% 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

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

     

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

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

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

        .social-links a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            text-align: center;
            color: var(--gray);
            font-size: 0.9rem;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .search-filters {
                flex-direction: column;
            }

            .filter-group {
                width: 100%;
            }

            .explore-btn {
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .testimonial-section {
                flex-direction: column;
            }

            .slide-content {
                bottom: 20px;
                right: 20px;
            }

            .slide-title {
                font-size: 0.8rem;
            }
            
            .slide-specs{
                 font-size: 0.5rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 1.8rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .hero-slider {
               /* height: 400px;*/
            }
        }
        
        /* new */
        
        #bud{
            background-color: var(--primary);
        }
        
        .partu{
            color: var(--primary);
        }
        .social-whatsapp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: transparent;
  
}

.social-icons {
  display: flex;
  gap: 10px;
}

.icon {
  background-color: #000;
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.icon:hover {
  opacity: 0.8;
}

.whatsapp a {
  background-color: #000;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.whatsapp a:hover {
  opacity: 0.8;
}

/* Compact layout on small viewports */
@media (max-width: 576px) {
  .social-whatsapp-bar {
    padding: 8px 12px;
  }

  .icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .whatsapp a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

#hh{
    
    background-color: var(--secondary);
}
    
    .custom-margin {
  margin: 90px;
  margin-top: -40px; 
  
}


@media (max-width: 768px) {
  .custom-margin {
    margin: 15px;
    margin-top:  -40px; 
  
  }
  
.contact-btn {
    background-color: var(--primary);
    color: white;
    font-size:0.8rem;
    padding: 6px 20px;
    font-weight: 600;
    transition: all 0.3s;
}
}

.filter-select option {
    color: orange;
}

/* Default: PC view */
#mob {
  display: none;
}

/* Mobile view: width <= 768px */
@media (max-width: 768px) {
  #pc {
    display: none;
  }
  #mob {
    display: block;
  }
}


.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 40% transparent black */
    z-index: 1;
}



/* ---- Video ---- */

    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        
        .section2 {
            width: 100%;
        }
        
        /* Loading indicator */
        .video-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.2rem;
            text-align: center;
            z-index: 5;
            background: rgba(0, 0, 0, 0.7);
            padding: 20px 30px;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Full-screen Video Section */
        .fullscreen-video-section {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            margin: 60px 0;
        }
        
        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        #fullscreen-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #000;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            background: rgba(0, 0, 0, 0.3);
            padding: 30px;
            transition: opacity 0.3s ease;
        }
        
        .video-overlay:hover {
            background: rgba(0, 0, 0, 0.5);
        }
        
        .unmute-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 10;
        }
        
        .unmute-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: scale(1.1);
        }
        
        .video-controls {
            width: 100%;
            max-width: 800px;
            background: rgba(0, 0, 0, 0.7);
            padding: 15px 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 15px;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .video-overlay:hover .video-controls {
            opacity: 1;
        }
        
        .play-pause-btn {
            background: transparent;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .play-pause-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .progress-container {
            flex: 1;
            height: 5px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 5px;
            cursor: pointer;
            position: relative;
        }
        
        .progress-bar {
            position: absolute;
            height: 100%;
            background: var(--primary);
            border-radius: 5px;
            width: 0%;
            transition: width 0.1s linear;
        }
        
        /* Optimization notice */
        .optimization-notice {
            max-width: 1000px;
            margin: 40px auto;
            padding: 20px;
            background: #f9f9f9;
            border-left: 4px solid var(--primary);
        }
        
        .optimization-notice h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .optimization-notice ul {
            margin-left: 20px;
            margin-bottom: 15px;
        }
        
        .optimization-notice li {
            margin-bottom: 8px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) and (orientation: portrait) {
            .fullscreen-video-section {
                height: 100vw; /* Make container square based on width */
                margin: 30px 0;
            }
            
            #fullscreen-video {
                object-fit: contain; /* Show full video without cropping */
                background: #000;
            }
            
            .video-overlay {
                padding: 15px;
            }
            
            .video-controls {
                padding: 10px 15px;
                max-width: 90%;
            }
            
            .play-pause-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .unmute-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
                top: 10px;
                right: 10px;
            }
        }
        
        @media (max-width: 768px) and (orientation: landscape) {
            .fullscreen-video-section {
                height: 100vh;
            }
            
            #fullscreen-video {
                object-fit: cover;
            }
            
            .video-controls {
                padding: 10px 15px;
                max-width: 90%;
            }
            
            .play-pause-btn {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .unmute-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
        }
        
        
/* ----- Video end ---- */

