@media (max-width: 768px) {

    /* Header Mobile styling */
    .site-header {
        padding: 15px 20px;
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
    }

    .desktop-only {
        display: none !important;
    }

    .header-mobile-toggle {
        display: block;
        flex: 1;
    }

    .header-center {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .header-right-placeholder {
        display: block !important;
        flex: 1;
    }

    .logo-main {
        height: 24px;
    }

    .mobile-menu-btn {
        font-size: 15px;
        display: flex;
        align-items: center;
        color: white;
        text-decoration: none;
        font-weight: 400;
        gap: 5px;
    }

    .mobile-menu-btn i {
        font-size: 16px;
    }

    /* Hero Section Mobile styling */
    .hero-section {
        position: relative;
        height: 100vh;
        width: 100%;
        overflow: hidden;
        padding: 0 20px;
        display: flex;
        align-items: flex-end;
        /* Align content to the bottom */
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Make sure the video/image fills the screen */
        object-position: center;
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 10;
        margin-bottom: 60px;
        /* distance from the bottom fixed bar */
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .hero-tagline img {
        height: 32px;
    }

    .hero-tagline h2,
    .bannerTitle {
        font-size: 18px;
        line-height: 24px;
    }

    .hero-btn {
        max-width: 100%;
        font-size: 14px;
        padding: 12px 20px;
        border-radius: 4px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    /* Footer Mobile styling */
    .site-footer {
        padding: 40px 0px 150px 0px;
        /* space bottom for fixed action bar capsule */
        background: #000000;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        /* Left-align both logo and links */
        text-align: left;
        margin-bottom: 30px;
        padding: 0 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-logo {
        position: static;
        height: 22px;
        margin-bottom: 10px;
        margin-left: 0;
        /* Keep left-aligned */
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    /* Row 1 (cars): flex row with padding-right: 10%, no grid columns */
    .row-cars {
        display: flex !important;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 350px;
    }

    .row-cars .footer-link {
        width: auto !important;
        padding-right: 10%;
    }

    .row-cars .grid-spacer {
        display: none !important;
    }

    .row-services {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 10px 15px;
        width: 100%;
        max-width: 100%;
    }

    .row-services .footer-link {
        width: auto !important;
    }

    .row-services .footer-divider {
        display: inline-block !important;
        color: rgba(255, 255, 255, 0.3);
    }

    .footer-link {
        font-size: 15px;
        color: #ffffff;
        font-weight: 300;
        letter-spacing: 0.5px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        text-align: left;
        white-space: nowrap;
        /* Prevent ugly text wrapping */
    }

    .footer-divider {
        display: inline-block !important;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.25);
        font-weight: 300;
        justify-self: center;
        padding: 0;
        /* NO padding to prevent grid expansion/overflow */
    }

    .grid-spacer {
        display: inline-block !important;
        visibility: hidden;
    }

    .footer-socials {
        display: flex !important;
        justify-content: center;
        gap: 28px;
        margin-top: 35px;
        margin-bottom: 25px;
        width: 100%;
    }

    .social-icon {
        width: 22px;
        height: 22px;
        filter: brightness(0) invert(1);
        /* Pure white social icons */
        opacity: 0.85;
        object-fit: contain;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 35px;
    }

    .footer-bottom span {
        color: #666666;
        font-size: 12px;
        font-weight: 300;
        letter-spacing: 0.3px;
        margin-bottom: 0;
    }

    .footer-bottom-links {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom-links a {
        font-size: 12px;
        color: #888888;
        font-weight: 300;
        text-decoration: underline;
        text-decoration-color: rgba(255, 255, 255, 0.2);
    }

    .floating-actions {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 24px;
        width: calc(100% - 32px);
        border-radius: 20px;
        padding: 16px 12px;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .action-item {
        font-size: 11px;
        font-weight: 300;
        color: #ffffff;
        gap: 8px;
        letter-spacing: 0.3px;
        opacity: 0.9;
    }

    .action-item img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 992px) {
    .featured-news-card {
        flex-direction: column;
    }

    .featured-image-container {
        width: 100%;
    }

    .featured-content-container {
        width: 100%;
        padding: 30px;
    }

    .featured-title {
        font-size: 20px;
    }

    .news-grid-card {
        width: 47%;
        margin-right: 6%;
    }

    .news-grid-card:nth-child(3n) {
        margin-right: 6%;
    }

    .news-grid-card:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .news-page-section {
        padding: 100px 20px 60px 20px;
    }

    .news-grid-card {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .orange-overlay {
        padding: 15px 20px;
    }

    .orange-overlay-title {
        font-size: 14px;
    }

    .orange-overlay-sub {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    img.img-half {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 !important;
        display: block !important;
    }

    .news-detail-body .images-row,
    .images-row {
        flex-direction: column;
        gap: 15px;
    }

    .news-detail-body .images-row img,
    .images-row img,
    .news-detail-body .images-row p,
    .images-row p {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .news-detail-section {
        padding: 100px 20px 60px 20px;
    }

    .news-detail-header {
        gap: 15px;
    }

    .news-back-arrow {
        font-size: 20px;
        margin-top: 2px;
    }

    .news-detail-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .news-detail-body {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 992px) {
    .dealer-split-container {
        flex-direction: column;
    }

    .dealer-list-panel {
        width: 100%;
        padding: 40px 20px;
    }

    .dealer-map-panel {
        width: 100%;
        height: 450px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dealer-map-panel iframe {
        min-height: 450px;
    }

    .dealer-cards-list {
        max-height: 400px;
    }

    .car-model-l2 {
        display: block;
        border-bottom: none;
        height: auto;
    }

    .car-model-l2 .mobile-menu-car-thumb {
        height: 90px;
        margin-left: 20px;
    }

    .car-model-l2 span {
        padding-left: 40px;
        line-height: 60px;
    }
}
@media (max-width: 768px) {
    .desktop-hide { display: block !important; background: transparent; border: none; color: white; cursor: pointer; }
    .model-sub-nav-container {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 0;
    }
    .model-sub-nav-header {
        height: 50px;
        margin-right: 0;
        padding: 0 20px;
    }
    .model-sub-nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(40, 40, 40, 0.98);
        padding: 10px 0;
        max-height: calc(100vh - 50px);
        overflow-y: auto;
    }
    .model-sub-nav-links.active {
        display: flex;
        height:100vh;
    }
    .model-sub-nav-link {
        padding: 9px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }
}
