body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff; 
    font-family: Arial, sans-serif;
    color: rgb(0, 0, 0);
}
#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    pointer-events: none; 
}
.header {
    position: relative;
    z-index: 1;
}
/* --- Keep your existing desktop styles here --- */
.nav-bar {
    display: flex;
    position: sticky; top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 100px;
    background: rgba(225, 225, 225, 0.65); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 30px rgba(37, 99, 235, 0.04), 
        0 1px 3px rgba(0, 0, 0, 0.02);
}
.logo img {
    width: 150px;
    height: auto;
}
.nav-links ul{
    list-style: none;
    display: flex;
    gap: 50px;
}
.nav-links ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
}
.nav-links ul li a:hover {
    color: #3b82f6; /* Blue hover color */
}
.menu-toggle, .close-btn {
    display: none;
}
body.menu-open {
  overflow: hidden;
}



@media (max-width: 768px) {
  /* 1. HEADER CONTAINER FIXED OVER ALL */
  .nav-bar { 
    padding: 20px 20px !important; 
    position: relative !important;
    z-index: 99998 !important; /* Slider se thoda neche */
  }
  
  .menu-toggle { 
    display: block !important; 
  }
  
  /* 2. SLIDER CONTAINER MUKAMMAL TOP PER */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: -100vw !important;   /* Shuru mein baahar hide */
    width: 100vw !important;   /* Full window width */
    height: 100vh !important;  /* Full window height */
    background-color: #ffffff !important; /* Solid background */
    transition: right 0.4s ease-in-out !important;
    padding: 120px 24px 40px 24px !important;
    box-sizing: border-box !important;
    
    /* YEH LINIEIN ASAL MASLA HAL KARENGEE */
    z-index: 2147483647 !important; /* Browser ki sab se aakhri aur top possible layer value */
    isolation: isolate !important;   /* Is layer ko poori website se alag standard uncha karega */
    
    /* Links vertical alignment */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .nav-links.active {
    left: 0 !important; /* Slider active hone par screen cover */
  }
  
  /* 3. LINKS INTERNAL SPACING */
  .nav-links ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 40px !important;
    margin: 40px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }
  
  .nav-links ul li {
    display: block !important;
    width: auto !important;
  }
  
  .nav-links ul li a {
    text-decoration: none !important;
    color: #000000 !important;  /* Readable pure black */
    font-size: 26px !important;  
    font-weight: 600 !important;
    text-align: center !important;
    display: inline-block !important;
  }
  
  /* 4. CLOSE BUTTON */
  .close-btn {
    display: block !important;
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    font-size: 32px !important;
    color: #000000 !important;
    z-index: 2147483647 !important; /* Cross button bhi layer ke top par */
    cursor: pointer !important;
  }
}

/*header content section hero*/

.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 50px 100px;
}
.content img {
    width: 700px;
    height: auto;
    opacity: 1; 
    content: url('images/hero-image.png');
}
h1{
    font-size: 56px;
}
.blue-text {
    color: #3b82f6; 
}
p{
    font-size: 20px;
    line-height: 1.6;
    max-width: 600px;
}
.cta-button {
    margin-top: 40px;
    margin-right: 20px;
    display: inline-block;
    padding: 15px 40px;
    background-color: #3b82f6; 
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
.button{
    margin-top: 40px;
    display: inline-block;
    padding: 15px 30px;
    background-color:transparent; 
    color: #585858;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
    border: 1px solid #585858;
}
.cta-button:hover{
    background-color: #0252a3;
}

/* HERO CONTENT PHONE RESPONSIVE CODE */
@media (max-width: 768px) {
    .header {
        height: auto; 
    }
    .content {
        position: relative; 
    }
    .content img {
        position: absolute;
        top: 0; 
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 340px;   
        opacity: 01; 
        z-index: 1;        
        pointer-events: none;
        content: url('images/phone-image.png'); 
    }
    h1 {
        font-size: clamp(24px, 8vw, 42px); 
        width: 100%;
        text-align: center;
    }
    p {
        font-size: 16px;
        max-width: 100%;
        margin-top: 15px;
    }
    .cta-button, .button {
        display: block;      
        width: 100%;         
        text-align: center;  
        margin-top: 15px;    
        margin-right: 0;  
        padding: 12px 0;  
    }
}

/* --- Added 480px for Hero Section Padding --- */
@media (max-width: 480px) {
    .content {
        padding: 30px 15px; /* Mobile par spacing set ki */
    }
}

/* --- Top Rented Cars Section Styling --- */
.popular-cars {
    padding: 50px 100px;
    background-color: transparent;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-bottom: 30px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.sub-title {
    color: #2563eb; 
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top:12px;
    margin-bottom: 8px;
}
.main-title {
    color: #000000;
    font-size: 42px;
    font-weight: bold;
    margin-top: 0;
}
.description {
    color: #9ca3af; 
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.car-card {
    background-color: #ffffff;
    width: 320px;
    border-radius: 4px; 
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.card-img-wrapper {
    background-color: #f3f4f6; 
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.car-image {
    width: 320px;
    height: auto;
    object-fit: contain;
}
.card-content-box {
    background-color: #e5e7eb; 
    padding: 20px 25px 25px 25px;
}
.car-name {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
.car-tag {
    display: inline-block;
    background-color: #ffffff;
    color: #6b7280;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}
.car-specs-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    box-sizing: border-box;
}
.spec-item {
    color: #4b5563;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap:5px;
}
.spec-icon {
    font-size: 14px;
    margin-right: 4px;
    opacity: 0.7;
}
.car-range-line {
    color: #4b5563;
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.check-icon {
    color: #10b981; 
    margin-right: 6px;
    font-weight: bold;
}
.view-btn {
    background-color: #0266cc; 
    color: #ffffff;
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.view-btn a {
    color: white;
    text-decoration: none;
}
.view-btn:hover {
    background-color: #0252a3; 
}

@media (max-width: 768px) {
    .popular-cars {
        padding: 40px 60px;
    }
    .section-header {
        font-size: 28px;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    .car-card {
        width: 100%;
        max-width: 280px;
    }
    .car-image {
        width: 280px;
        height: auto;
        object-fit: contain;
    }
}

/* --- Added 480px for Popular Cars Text Overflows --- */
@media (max-width: 480px) {
    .popular-cars {
        padding: 30px 15px;
    }
    .main-title {
        font-size: 28px; /* Badi car section headings ko chota kiya */
    }
    .sub-title {
        font-size: 16px;
    }
}

/*----services section---*/

.services-section {
    padding-bottom: 50px;
    padding-left: 100px;
    padding-right: 100px;
    background-color: transparent;
    font-family: Arial, sans-serif;
    margin-bottom: 50px;
}
.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}
.services-tag {
    color: #2563eb; 
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
.services-title {
    color: #000000;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}
.services-desc {
    color: #9ca3af; 
    font-size: 14px;
    line-height: 1.6;
}
.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    width: 350px;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(186, 210, 230, 0.75); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    box-sizing: border-box;
}
.card-icon-box {
    margin-bottom: 25px;
}
.service-icon {
    width: auto;
    height: 50px; 
    object-fit: contain;
}
.card-title {
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}
.card-text {
    color: #374151; 
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 35px;
}
.read-more-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #d1d5db;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    width: auto; 
    min-width: 130px;
    transition: all 0.3s ease;
}
.read-more-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

@media (max-width: 768px) {

    .services-section {
        padding: 40px 50px;
    }
    .services-header {
        margin-bottom: 40px;
    }
    .services-title {
        font-size: 28px; 
    }
    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;}
    .service-card {
        width: 100%;
        max-width:300px;height: 370px;}
    
}
        /* --- Added 480px for Services Alignment --- */
@media (max-width: 480px){
    .services-section
     {padding: 30px 15px;}
    .services-title 
      {font-size: 24px;}
    
}


/* --- Instant Quote Section Styling --- */
.quote-section{
    padding: 50px 100px;
    background: linear-gradient(to bottom, #4a6785 0%, #2f4458 100%);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
.quote-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.quote-header {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}
.form-header h2 {
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.form-header h3 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-row {
    display: flex;
    width: 100%;
    gap: 25px;
}
.inputs-three .input-group {
    flex: 1;
}
.full-width {
    width: 100%;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-group label {
    color: #ffffff;
    font-size: 15px;
}
.input-group input,.input-group textarea,.input-group select {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid #ffffff;
    color: #ffffff;
    padding: 12px;
    font-size: 15px;
    outline: none;
    border-radius: 0px;
    width: 100%;
    box-sizing: border-box;
}
.input-group select option {
    background-color: #2f4458;
    color: #ffffff;
}
.input-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}
.input-group textarea {
    resize: vertical;
}
.btn-row {
    justify-content: flex-end;
}
.submit-btn {
    background-color: transparent;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background-color: #ffffff;
    color: #2f4458;
}
@media (max-width: 768px) {
    .quote-section {
        padding: 40px 60px;
    }
    .form-header h2 {
        font-size: 20px;
    }
    .form-header h3 {
        font-size: 16px;
    }
    .form-row, .inputs-three {
        flex-direction: column;
        gap: 20px;
    }
    .btn-row {
        justify-content: center;
    }
    .submit-btn {
        width: 100%;
        text-align: center;
    }
}
/* --- Added 480px for Form Spacing --- */
@media (max-width: 480px) {
    .quote-section {
        padding: 30px 15px;
    }
}

 
 
 /* --- Footer Section Styling --- */
 .footer-section {
    background-color: transparent;
    padding: 80px 80px 60px 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-container {
    display: flex;
    justify-content:space-between;
    align-items: flex-start;max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
.footer-col {
    flex: 1;display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;}
.brand-col {
        flex: 1.5;
}
.logo-img {
        height: 48px;
        width: auto;
        margin-bottom: 25px;
    }
    .brand-desc {
        color: #9ca3af;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 320px;    
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1.5px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 2px;
    box-sizing: border-box;
    background-color: transparent;
    transition: all 0.2s ease;
}.social-icon i {
    font-size: 15px;
}
.social-icon:hover {
    background-color: #3b82f6;color: #ffffff;
}
.footer-title {
    color: #374151;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 16px;
}
.footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-links li a:hover {
    color: #3b82f6;
}
@media (max-width: 768px) {
    .footer-section {
        padding: 50px 20px 40px 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }
    .footer-col, .brand-col {
        align-items: center;
        text-align: center;
    }
    .brand-desc {
        max-width: 100%;
    }
}
/* --- Car 1 & Car 2 Top Section: Product Images and Details --- */
.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 100px;

}
.slider-container {
    flex: 1.2;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
 }
.slide-img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;      
}
.slide-btn {   
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: white;
    color: rgb(189, 189, 189);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    user-select: none;
}
.slide-btn:hover {
    background-color:#3b82f6;
    color:white;
}
.prev-btn {
     left: 10px;
}
.next-btn {
     right: 0px; 
}
.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 25px 0;
    color: #000000;
}
.specs-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    color: #555555;
    font-size: 14px;
}
.range-info {
    font-size: 14px;
    color: #555555;
    margin-bottom: 30px;
}
.bcta-button {
    display: inline-block;
    text-align: center;
    background-color:#3b82f6;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    text-decoration: none;
}
.bcta-button:hover {
    background-color:#2a61b9;
}
/* Bottom Section: Description & Features */

.detail {
    margin-top: 40px;
    border-top: 1px solid #eeeeee;
    padding: 50px 100px;
}
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000000;
}
.description-text, .key-text{
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
    position: relative;
}
/* FAQ Section */
.faq-section {
    margin-top: 50px;
    border-top: 1px solid #eeeeee;
    padding: 50px 100px;
}
.faq-item {
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0;
}
.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #171a20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.faq-answer {
    font-size: 14px;
    color: #666666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
}
.faq-item.active .faq-answer {
    margin-top: 10px;
}
.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    .product-header {
        flex-direction: column;
        gap: 25px;
        padding: 50px;
    }
    .slider-container, .product-details {
        flex: none;
        width: 100%;
    }
    .product-title {
        font-size: 26px;
        margin-top: 10px;
    }
    .cta-button {
        width: 100%;
        box-sizing: border-box;
    }
    .specs-icons {
        flex-wrap: wrap;
        gap: 10px;
    }
    .slide-btn {
        width: 30;
        height: 30px;
        font-size: 14px;
    }
}
/* --- Added 480px for Product Details & FAQ Padding --- */
@media (max-width: 480px) {
    .product-header, .detail, .faq-section {
        padding: 30px 15px; /* Side spaces kam kar diye chote screens par */
    }
    .product-title {
        font-size: 22px;
    }
    
}       
    /* --- Rental Contract Section Styling --- */
    .rent-cont {
        padding: 50px 100px;
    }
    h2 {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
        font-size: 48px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 18px;
        font-weight: 600;
    }
    @media (max-width: 768px) {
        .rent-cont {
            padding: 25px 50px;
        }
    }
    /* --- Added 480px for Rental Contract Fix --- */
    @media (max-width: 480px) {
        .rent-cont {
            padding: 15px 20px;
        }
        h2 {
            font-size: 28px;
            margin-bottom: 15px;
        }
        h3 {
            font-size: 18px;
        }
        h4 {
            font-size: 16px;
        }
        .rct{
            padding:0px 30px;
        }
    }
    /* --- Preloader Container Background --- */
    #custom-preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0f172a;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        transition: opacity 0.5s ease;
        padding: 20px;
        box-sizing: border-box;
    }
    .brand-text {
        font-family: 'Montserrat', sans-serif;
        font-size: 3rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .word {
        color: #ffffff;
        opacity: 0;
        transform: translateY(20px);
        animation: revealWord 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    .word:nth-child(1) {
         animation-delay: 0.2s; 
    }
    .word:nth-child(2) {
        animation-delay: 0.6s;
    }
    .word:nth-child(3) { 
        animation-delay: 1.0s;
     }
     @keyframes revealWord {
        to {
            opacity: 1;
            transform: translateY(0);
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
        }
    }
    .preloader-hidden {
        opacity: 0;
        pointer-events: none;
    }
    @media (max-width: 768px) {
       .brand-text {
        font-size: 2.2rem;
        gap: 12px;
        letter-spacing: 1px;
        }
   }
    /* --- Added 480px for Custom Preloader Text --- */
    @media (max-width: 480px) {
        .brand-text {
            font-size: 1.6rem;
            gap: 8px;
            letter-spacing: 0.5px;
        }
        
        
    }
    .back-home-btn{
        color:#3b82f6;
        font-size:16px;
        font-style:none;
    }
  
    