/* Modern Hero Section Styles */
/* Note: background is set in common.css - do not override here */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.sub-tabs .nav-link {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sub-tabs .nav-link:hover {
    background: #e9ecef;
    border-color: #257ef8;
    color: #257ef8;
}

.sub-tabs .nav-link.active {
    background: #257ef8;
    border-color: #257ef8;
    color: white;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #257ef8;
    box-shadow: 0 0 0 0.2rem rgba(37, 126, 248, 0.15);
    background: white;
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    color: #6c757d;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.swap-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.swap-btn:hover {
    background: #257ef8;
    border-color: #257ef8;
    color: white;
    transform: rotate(180deg);
}

.btn-explore {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

/* Trust Badges */
.trust-badges-desktop {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
    font-size: 24px;
    color: #ffd700;
}

.trust-badge p {
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Modern Car Cards */
.section-header {
    text-align: left;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #257ef8, #1e6fd8);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

.viewall {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #257ef8;
    color: #257ef8;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.viewall:hover {
    background: #257ef8;
    color: white;
    transform: translateX(5px);
}

.modern-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    margin: 0px;
}

.modern-card:hover {
   
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

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


.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.car-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.car-badge i {
    color: #ffd700;
}

.car-details {
    padding: 4px;
}

.car-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.car-features {
    display: flex;
    gap: 6px;
    margin-bottom: 9px;
    flex-wrap: wrap;
}

.car-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.car-features i {
    color: #257ef8;
    font-size: 14px;
}

.price-section {
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: #28a745;
}

.amount {
    font-size: 28px;
    font-weight: 700;
    color: #28a745;
}

.unit {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.modern-btn {
    background: linear-gradient(135deg, #257ef8, #1e6fd8);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.modern-btn:hover {
    background: linear-gradient(135deg, #1e6fd8, #1a5fb8);
    transform: translateX(5px);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .booking-card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .main-tabs .nav-link {
        padding: 12px 15px;
        min-width: auto;
        font-size: 14px;
    }
    
    .trust-badges-desktop {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-badge {
        justify-content: center;
        text-align: center;
    }
    
    .car-features {
        justify-content: center;
    }
    
    .price-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 15px 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .booking-card {
        padding: 20px;
    }
    

}
/* Modern About Section */
.modern-content {
    background: white;
    padding: 9px;
  
  
    position: relative;
}

    .modern-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 30px;
        text-align: justify;
    }


.modern-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #257ef8, #1e6fd8);
    border-radius: 2px 0 0 2px;
}



.modern-btn-secondary {
    background: transparent;
    border: 2px solid #257ef8;
    color: #257ef8;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-btn-secondary:hover {
    background: #257ef8;
    color: white;
    transform: translateX(5px);
}

.text-primary {
    color: #257ef8 !important;
}

/* Enhanced Section Headers */
.hdng_btn.norml_hdng.d-flex {
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.0rem;
    font-weight: 700;
    
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Improved Grid Layout for Car Cards */
.review_sldr.owl-carousel .owl-item {
    padding: 1px;
}

/* Enhanced Hover Effects */
.modern-card {
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.modern-card:hover::before {
    left: 100%;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading-shimmer {
    animation: shimmer 1.5s ease-in-out infinite;
    background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
    background-size: 800px 104px;
}

/* Improved Typography */
.hero-section, .about_sec {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Enhanced Accessibility */
.modern-btn:focus,
.modern-btn-secondary:focus,
.btn-explore:focus {
    outline: 3px solid rgba(37, 126, 248, 0.3);
    outline-offset: 2px;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .booking-card {
        background: #1a1a1a;
        color: white;
        border-color: #333;
    }
    
    .form-control {
        background: #2a2a2a;
        border-color: #444;
        color: white;
    }
    
    .modern-content {
        background: #1a1a1a;
        color: white;
        border-color: #333;
    }
}

/* Performance Optimizations */
.modern-card,
.booking-card,
.modern-content {
    will-change: transform;
    backface-visibility: hidden;
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .modern-btn,
    .modern-btn-secondary,
    .btn-explore {
        display: none;
    }
}
/* Equal Height Cards Fix */
.review_sldr.owl-carousel .owl-item {
    display: flex;
    align-items: stretch;
}

.modern-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px; /* Ensure minimum height for consistency */
}

.car-details {
  
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.car-details h3 {
    min-height: 25px;
    display: flex;
    align-items: center;
}
.car-features {
    min-height: 10px;
    align-items: center;
}
.price-section {
    margin-top: auto; /* Push to bottom */
}

/* Ensure all images have same aspect ratio */
.car-image {
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive adjustments for equal heights */
@media (max-width: 768px) {
    .modern-card {
        min-height: 380px;
    }
    
    .car-details h3 {
        min-height: 20px;
        font-size: 1.0rem;
    }
}

@media (max-width: 576px) {
    .modern-card {
        min-height: 350px;
    }
    
    .car-image {
        height: 180px;
    }
}

/* Owl Carousel specific fixes for equal heights */
.owl-carousel .owl-item .modern-card {
    height: 100%;
}

.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .owl-stage .owl-item {
    display: flex;
}


@media only screen and (min-width:100px) and (max-width:768px)
 {
    .order-mbl-2 {
    order: 2;
}

 .order-mbl-1 {
    order: 1;
}


 }