/* ==========================================================
   PREMIUM SERVICE PAGES CSS
   ========================================================== */

:root {
    --primary-color: #0F172A;
    --secondary-color: #E11D48;
    --accent-color: #F8FAFC;
    --text-main: #334155;
    --text-light: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --lux-radius: 24px;
    --lux-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --lux-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body {
    color: var(--text-main);
    background-color: #F8FAFC;
    overflow-x: hidden;
}

/* 1. PREMIUM HERO */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--secondary-color);
    display: block;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary-luxury {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.btn-primary-luxury:hover {
    background: #BE123C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.4);
}

.btn-outline-luxury {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-luxury:hover {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-tags {
        display: none;
    }
}

/* GENERAL SECTIONS */
.lux-section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ABOUT CONTENT */
.about-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #495057;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-img-container {
    border-radius: var(--lux-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.about-img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* WHY CHOOSE US (Features) */
.feature-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* FLEET / SERVICES */
.service-card {
    background: #fff;
    border-radius: var(--lux-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #6c757d;
}

.service-list li i {
    color: #E31E24;
    margin-right: 8px;
}

/* POPULAR ROUTES (Destinations) */
.place-card {
    background: #fff;
    border-radius: var(--lux-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.place-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.place-img-wrapper {
    position: relative;
    height: 240px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    overflow: hidden;
}

.place-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.place-card:hover .place-img-wrapper img {
    transform: scale(1.08);
}

.place-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* TIMELINE (Booking Process) */
.booking-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px #F8FAFC;
}

/* CUSTOMER REVIEWS */
.review-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--lux-radius);
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    border-radius: 40px;
    margin: 50px 20px;
    position: relative;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .booking-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-end;
    }

    .timeline-content {
        width: calc(100% - 80px);
    }

    .timeline-icon {
        left: 30px;
        transform: translateX(-50%);
    }
}

/* ROUTE CARDS (Popular Routes) */
.route-card {
    min-height: 250px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.route-card:hover .route-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9));
}

.route-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    transition: var(--transition-smooth);
}

.route-content {
    z-index: 2;
}

.premium-route-card {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.premium-route-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-route-card:hover img {
    transform: scale(1.1);
}

.premium-card-btn {
    transition: all 0.3s ease;
}

.premium-route-card:hover .premium-card-btn {
    background: #E11D48;
    color: white;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

/* HORIZONTAL ROUTE CARDS */
.premium-horizontal-card {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
}

.premium-horizontal-card .route-img-wrapper img {
    transition: transform 0.8s ease;
}

.premium-horizontal-card:hover .route-img-wrapper img {
    transform: scale(1.05);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-book-btn {
    transition: all 0.3s ease;
}

.premium-book-btn:hover {
    background: #BE123C !important;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .route-img-col {
        min-height: 350px;
    }
}

@media (max-width: 991px) {
    .route-img-col {
        min-height: 250px;
    }

    .route-details-col {
        border-right: none !important;
        border-inline-end: none !important;
        border-bottom: 1px solid #dee2e6;
    }
}

/* ==========================================================
   REFERENCE CARD DESIGN (Aspire-Style Clean Travel Cards)
   ========================================================== */

.vth-service-card,
.feature-card,
.service-feature-card,
.cab-service-card,
.why-card-item,
.about-card-hover,
.vth-ref-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 36px 28px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
}

.vth-service-card:hover,
.feature-card:hover,
.service-feature-card:hover,
.cab-service-card:hover,
.why-card-item:hover,
.about-card-hover:hover,
.vth-ref-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(227, 30, 36, 0.3) !important;
}

/* Card Icon / Image Header */
.vth-card-icon-wrapper,
.feature-icon,
.why-icon-box,
.about-icon-box {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    border-radius: 20px !important;
    background: rgba(227, 30, 36, 0.06) !important;
    color: #E31E24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.2rem !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transition: transform 0.35s ease, background-color 0.35s ease !important;
    box-shadow: none !important;
}

.vth-service-card:hover .vth-card-icon-wrapper,
.vth-service-card:hover .feature-icon,
.feature-card:hover .feature-icon,
.service-feature-card:hover .vth-card-icon-wrapper,
.why-card-item:hover .why-icon-box,
.about-card-hover:hover .about-icon-box,
.vth-ref-card:hover .vth-card-icon-wrapper {
    transform: scale(1.08) !important;
    background: rgba(227, 30, 36, 0.12) !important;
}

/* Card Image Header (if card uses image instead of icon) */
.vth-card-img-header {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    margin-bottom: 24px !important;
    transition: transform 0.35s ease !important;
}

.vth-service-card:hover .vth-card-img-header,
.vth-ref-card:hover .vth-card-img-header {
    transform: scale(1.04) !important;
}

/* Card Title */
.vth-service-card h3,
.vth-service-card h4,
.vth-service-card h5,
.feature-card h5,
.service-feature-card h5,
.cab-service-card h5,
.why-card-item h5,
.about-card-hover h5,
.vth-ref-card h3,
.vth-ref-card h4,
.vth-ref-card h5 {
    color: #0F172A !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    letter-spacing: -0.3px !important;
}

/* Card Description */
.vth-service-card p,
.feature-card p,
.service-feature-card p,
.cab-service-card p,
.why-card-item p,
.about-card-hover p,
.vth-ref-card p {
    color: #64748B !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}

/* Card Action / Link */
.vth-card-action {
    margin-top: auto !important;
    padding-top: 22px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Directional Staggered Scroll Animations */
.vth-card-anim-left,
.vth-card-anim-up,
.vth-card-anim-right,
.vth-card-anim-down {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.vth-card-anim-left {
    transform: translateX(-35px);
}

.vth-card-anim-right {
    transform: translateX(35px);
}

.vth-card-anim-up {
    transform: translateY(35px);
}

.vth-card-anim-down {
    transform: translateY(-35px);
}

.vth-card-anim-left.vth-animated,
.vth-card-anim-right.vth-animated,
.vth-card-anim-up.vth-animated,
.vth-card-anim-down.vth-animated {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {

    .vth-card-anim-left,
    .vth-card-anim-right,
    .vth-card-anim-up,
    .vth-card-anim-down {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}




/* ==========================================================
   MOBILE HERO & RESPONSIVE FIXES (Below 768px)
   ========================================================== */
@media (max-width: 767.98px) {

    .about-hero-overlay {
        /* Overlay permitted on mobile for high readability */
    }

    .about-hero-section .container {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .vth-script-eyebrow {
        font-size: 1.5rem !important;
    }

    .about-hero-section h1 {
        font-size: clamp(2rem, 7.5vw, 2.7rem) !important;
        letter-spacing: -0.6px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        margin-bottom: 0.75rem !important;
    }

    .about-hero-section p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        margin-bottom: 1.25rem !important;
    }

    .about-hero-section .d-flex.flex-wrap {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .about-hero-section .d-flex.flex-wrap .btn,
    .about-hero-section .d-flex.flex-wrap a {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        min-height: 46px !important;
    }

    .story-img-main {
        height: 250px !important;
    }

    .story-badge-exp {
        left: 10px !important;
        bottom: 10px !important;
        padding: 10px 16px !important;
    }
}

/* ==========================================================
   CINEMATIC HERO STYLING (MATCHING DESTINATION HERO REFERENCE)
   ========================================================== */
.vth-hero-tn {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0F172A;
}

.vth-hero-tn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.vth-hero-tn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(7, 18, 35, 0.62) 0%,
            rgba(7, 18, 35, 0.38) 42%,
            rgba(7, 18, 35, 0.08) 100%);
    z-index: 2;
}

@media (max-width: 767.98px) {
    .vth-hero-tn {
        min-height: 440px !important;
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .vth-hero-tn-overlay {
        background: linear-gradient(180deg,
                rgba(7, 18, 35, 0.48) 0%,
                rgba(7, 18, 35, 0.22) 55%,
                rgba(7, 18, 35, 0.12) 100%) !important;
    }

    .vth-hero-tn .hero-main-title {
        font-size: clamp(2.1rem, 7.5vw, 2.7rem) !important;
        line-height: 1.15 !important;
    }

    .vth-hero-tn p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

/* ==========================================================
   CINEMATIC FULL-WIDTH HERO SECTION (SERVICE PAGES)
   ========================================================== */
.service-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    background: #0F172A;
    display: flex;
    align-items: center;
}

.service-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(7, 18, 35, 0.62) 0%,
            rgba(7, 18, 35, 0.38) 42%,
            rgba(7, 18, 35, 0.08) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 0;
}

@media (max-width: 767.98px) {
    .service-hero {
        min-height: 480px !important;
        padding: 40px 0 !important;
    }

    .service-hero-overlay {
        background: linear-gradient(180deg,
                rgba(7, 18, 35, 0.48) 0%,
                rgba(7, 18, 35, 0.22) 55%,
                rgba(7, 18, 35, 0.12) 100%) !important;
    }

    .service-hero-content h1 {
        font-size: clamp(2.1rem, 7.5vw, 2.7rem) !important;
        line-height: 1.15 !important;
    }
}


/* ==========================================================
   MASTER HERO STYLING (EXACT MATCH FOR TAMIL NADU REFERENCE)
   ========================================================== */
.vth-hero-tn {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0F172A;
}

.vth-hero-tn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.vth-hero-tn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(7, 18, 35, 0.62) 0%,
            rgba(7, 18, 35, 0.38) 42%,
            rgba(7, 18, 35, 0.08) 100%);
    z-index: 2;
}

@media (max-width: 767.98px) {
    .vth-hero-tn {
        min-height: 440px;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .vth-hero-tn-overlay {
        background: linear-gradient(180deg,
                rgba(7, 18, 35, 0.48) 0%,
                rgba(7, 18, 35, 0.22) 55%,
                rgba(7, 18, 35, 0.12) 100%) !important;
    }

    .vth-hero-tn .hero-main-title {
        font-size: clamp(2.1rem, 7.5vw, 2.7rem);
        line-height: 1.15;
    }

    .vth-hero-tn p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 575.98px) {
    .vth-hero-tn {
        min-height: 380px;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .vth-hero-tn .hero-main-title {
        font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
    }

    .vth-hero-tn .d-flex.flex-wrap {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .vth-hero-tn .d-flex.flex-wrap .btn,
    .vth-hero-tn .d-flex.flex-wrap a.btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================
   FLEET VEHICLE DETAILS MODAL - MOBILE RESPONSIVE CARD STYLING
   ========================================================== */

/* Lock body scrolling when modal is open */
body.modal-open {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 767.98px) {
    #vehicleDetailsModal .modal-dialog {
        width: calc(100% - 24px) !important;
        max-width: 420px !important;
        margin: 12px auto !important;
        display: flex !important;
        align-items: center !important;
        min-height: calc(100% - 24px) !important;
    }

    #vehicleDetailsModal .vmodal-content,
    #vehicleDetailsModal .modal-content {
        width: 100% !important;
        max-height: 82vh !important;
        height: auto !important;
        border-radius: 18px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25) !important;
        background: #ffffff !important;
        border: none !important;
    }

    #vehicleDetailsModal .vmodal-header,
    #vehicleDetailsModal .modal-header {
        flex-shrink: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        padding: 0.75rem 1rem !important;
        background: #0f172a !important;
        color: #ffffff !important;
    }

    #vehicleDetailsModal .vmodal-header h5,
    #vehicleDetailsModal .modal-title {
        font-size: 1.05rem !important;
    }

    #vehicleDetailsModal .vmodal-body,
    #vehicleDetailsModal .modal-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-height: calc(82vh - 65px) !important;
        padding: 0.75rem 0.85rem !important;
        background-color: #f8fafc !important;
    }

    #vehicleDetailsModal .vmodal-footer,
    #vehicleDetailsModal .modal-footer {
        flex-shrink: 0 !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
        padding: 0.65rem 1rem !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    #vehicleDetailsModal .vmodal-footer .btn,
    #vehicleDetailsModal .modal-footer .btn {
        padding: 6px 14px !important;
        font-size: 0.82rem !important;
    }

    /* Compact Vehicle Image */
    #vehicleDetailsModal #vModalImage {
        width: 100% !important;
        max-height: 130px !important;
        object-fit: contain !important;
    }

    #vehicleDetailsModal .vmodal-img-wrapper,
    #vehicleDetailsModal .p-3.bg-white.rounded-4 {
        padding: 6px 8px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    /* Compact Tariff & Notes Cards */
    #vehicleDetailsModal .vmodal-card,
    #vehicleDetailsModal .p-3.bg-white.rounded-3 {
        padding: 8px 10px !important;
        margin-bottom: 6px !important;
        border-radius: 10px !important;
    }

    #vehicleDetailsModal .vmodal-card-heading,
    #vehicleDetailsModal h6 {
        font-size: 0.75rem !important;
        margin-bottom: 4px !important;
    }

    #vehicleDetailsModal .small {
        font-size: 0.75rem !important;
    }

    #vehicleDetailsModal .fs-6 {
        font-size: 0.85rem !important;
    }

    #vehicleDetailsModal .vmodal-notes-card,
    #vehicleDetailsModal .mt-4.p-3,
    #vehicleDetailsModal .mt-3.mt-md-4 {
        margin-top: 0.5rem !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }

    #vehicleDetailsModal .vmodal-notes-list,
    #vehicleDetailsModal ul.text-muted {
        font-size: 0.72rem !important;
        padding-left: 0.85rem !important;
        line-height: 1.45 !important;
    }

    #vehicleDetailsModal ul.text-muted li {
        margin-bottom: 3px !important;
    }

    #vehicleDetailsModal .badge {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
    }
}

/* Small Screens (320px to 360px) */
@media (max-width: 360px) {
    #vehicleDetailsModal #vModalImage {
        max-height: 100px !important;
    }

    #vehicleDetailsModal .modal-dialog {
        width: calc(100% - 16px) !important;
        margin: 8px auto !important;
    }
}