@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-blue: #005ce6;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --nav-height: 80px;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    padding-top: 80px !important; /* Force content to start below 80px header */
    margin: 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px !important; /* Fixed height */
    z-index: 9999; /* Ensure it's on very top */
    background: #000 !important; /* Always solid black */
}

.navbar {
    max-width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 18px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 100%;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
    /* Ensure text is always white on dark header */
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-item:hover::after,
.nav-item:active::after {
    transform: scaleX(1);
}

/* Maintain underline when mega menu is visible */
.nav-item:hover::after {
    transform: scaleX(1);
}

.header.scrolled .logo img {
    filter: brightness(0) invert(1);
}

.header.scrolled .nav-right a {
    color: #fff;
}

/* Specific underline for active/hover states as per screenshot */

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

.nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #fff;
    padding: 60px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.model-grid-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 20px;
    padding: 20px 0;
}

.model-card-menu {
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.model-card-menu h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    order: -1;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
}

.model-card-menu h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.model-card-menu:hover h4::after {
    transform: scaleX(1);
}

.model-card-menu img {
    width: 200px;
    /* Scaling 600px to fit menu */
    height: 100px;
    /* Scaling 300px to fit menu */
    object-fit: contain;
    /* Ensures the whole car is seen within the 600x300 ratio box */
    transition: var(--transition);
}

.model-card-menu:hover img {
    transform: scale(1.05);
}

/* Aftersales Mega Menu Specifics */
.aftersales-menu {
    display: flex;
    padding: 30px 0 60px 140px;
    /* Reduced top gap and aligned after logo as in reference */
    align-items: flex-start;
}

.aftersales-left {
    flex: 0 0 200px;
    /* Brining links closer to heading as in reference */
}

.aftersales-left h2 {
    font-size: 18px;
    font-weight: 700;
    /* Slightly less heavy to match reference */
    color: #000;
    text-transform: capitalize;
}

.aftersales-right ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Tighter gap as seen in screenshot */
}

.aftersales-right a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    text-transform: none;
    position: relative;
    padding-bottom: 2px;
}

.aftersales-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.aftersales-right a:hover::after {
    transform: scaleX(1);
}

.aftersales-right a:hover {
    color: #000;
}

/* Series Tabs */
.series-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.series-tab {
    font-size: 15px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding-bottom: 10px;
}

.series-tab.active {
    color: #000;
    font-weight: 700;
}

.series-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
}

/* Responsive Header */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        /* Already handled by sidebar logic usually */
    }

    .logo img {
        height: 14px;
    }

    .nav-right span {
        display: none;
    }

    .nav-right {
        gap: 15px;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Official BYD KV Banner Structure */
.byd-kvBanner-container {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 0 !important; /* Ensure no negative margin */
}

.hero-slider.swiper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .hero-slider.swiper {
        aspect-ratio: 16 / 9; /* Forced landscape for mobile as requested */
    }
}

.background-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.background-slide {
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Styles */

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Hero Buttons (Rectangular as per screenshot) */
.btn-pill {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 2px;
    /* Rectangular with slight radius */
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Showcase Section */
.section-showcase {
    padding: 100px 0;
    background: #fff;
}

.container-wide {
    max-width: 1600px;
    /* Increased for a fuller feel */
    margin: 0 auto;
    padding: 0 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 32px;
    font-weight: 700;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    /* Increased gap for better premium feel */
}

.card-model {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-model img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

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

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.btn-outline.dark {
    color: #000;
    border-color: #000;
}

.btn-outline.dark:hover {
    background: #000;
    color: #fff;
}

/* Innovation Section */
.section-innovation {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.innovation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 2;
}

.innovation-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    color: #fff;
}

.innovation-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

.innovation-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.innovation-image {
    flex: 1.2;
    overflow: hidden;
    /* Ensure rounded corners work on images */
}

.innovation-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.innovation-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .innovation-flex {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .innovation-content h2 {
        font-size: 32px;
    }
}

/* Innovation Full Section */
.section-innovation-full {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #000;
}

.innovation-bg-full {
    width: 100%;
    height: auto;
}

.innovation-bg-full img {
    width: 100%;
    height: auto;
    display: block;
}

.innovation-content-full {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
}

.innovation-content-full h2 {
    color: #fff;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Split Links Section (Lokasi & Dealer) */
.section-split-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 60vh;
}

@media (max-width: 992px) {
    .section-split-links {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.split-link-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.split-link-item:last-child {
    border-right: none;
}

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

.split-bg img,
.split-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: var(--transition);
}

.split-link-item:hover .split-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.split-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.split-content h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 100px 40px 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a img {
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.social-icons a:hover img {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Sidebar / Mobile Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    z-index: 1600;
    transition: var(--transition);
    padding: 20px 40px;
    /* Reduced from 40px to push content up */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    /* Ensure it scrolls if content is long */
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    /* Reduced from 40px to push content up */
}

.close-sidebar {
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    color: #000;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Reduced gap for a tighter, cleaner look */
}

.sidebar-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

.accordion-toggle.active+.accordion-content {
    opacity: 1;
}

.accordion-content .sidebar-link {
    padding-left: 20px;
    /* Indent sub-items */
}

.sidebar-label {
    color: #999;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 5px;
}

.sidebar-label:first-child {
    margin-top: 0;
}

.sidebar-link {
    font-size: clamp(12px, 3.5vw, 14px);
    /* Responsive font size */
    font-weight: 600;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 10px 12px;
    display: block;
    border-radius: 6px;
    margin: 2px 0;
}

.sidebar-link:hover,
.sidebar-link:active {
    color: #000;
    background-color: #f0f0f0;
    /* Visible hover background */
    transform: translateX(6px);
    /* Smooth movement instead of padding change */
}

.sidebar-divider {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Visible but subtle divider on white bg */
    margin: 5px 0;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE BREAKPOINTS --- */

@media (max-width: 1200px) {
    .navbar {
        padding: 0 40px;
    }

    .model-grid-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .model-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .navbar {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-pill {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .section-header h3 {
        font-size: 24px;
    }

    .card-info {
        padding: 20px;
    }

    .card-info h4 {
        font-size: 18px;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* Cookie Settings Icon */
.cookie-settings {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Global Container Utility */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* BYD World Section (Grid Left, Text Right) */
.section-byd-world {
    background: #000;
    color: #fff;
    padding: 100px 0;
}

.world-flex {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.world-grid-left {
    flex: 1.3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.world-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.world-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

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

/* Global Container & Layout Fixes */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* BYD World Section */
.section-byd-world {
    background: #000;
    color: #fff;
    padding: 100px 0;
    width: 100%;
}

.world-flex {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.world-grid-left {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.world-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.world-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    opacity: 0.8;
}

.world-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.world-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 2;
}

.world-card-overlay h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.world-card .btn-detail {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.world-card:hover .btn-detail {
    opacity: 1;
    transform: translateY(0);
}

.world-content-right {
    flex: 0.8;
}

/* Clean Professional Sales Card */
.sales-consultant-card {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.consultant-header {
    margin-bottom: 20px;
}

.consultant-title-group h2 {
    font-size: 32px !important;
    font-weight: 800;
    color: #000 !important;
    margin: 0 0 5px 0 !important;
}

.consultant-badge {
    font-size: 11px;
    font-weight: 700;
    color: #3a7ec4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.consultant-intro-text {
    margin: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.consultant-intro-text p {
    font-size: 14px !important;
    line-height: 1.8;
    color: #444 !important;
    text-align: justify !important;
    margin: 0 !important;
}

.consultant-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.photo-wrapper {
    width: 140px;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.info-block label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-block p {
    font-size: 13px !important;
    color: #1a1a1a !important;
    margin: 0 0 15px 0 !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 8px;
}

.contact-item i {
    width: 16px;
    color: #3a7ec4;
}

.btn-wa-premium {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-wa-premium:hover {
    background: #333;
    transform: translateY(-5px);
}

/* Responsive Alignment */
@media (max-width: 1200px) {
    .world-flex {
        flex-direction: column;
        gap: 40px;
    }

    .world-grid-left,
    .world-content-right {
        width: 100%;
    }

    .sales-consultant-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section-byd-world {
        padding: 60px 0;
    }

    .consultant-body {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 20px;
    }

    .info-block p,
    .contact-item {
        justify-content: center;
        text-align: center !important;
    }

    .consultant-title-group h2 {
        font-size: 24px !important;
    }
}

/* Gallery Slider Responsive Fix */
.section-gallery {
    padding: clamp(60px, 8vw, 100px) 0;
    background: #fff;
    overflow: hidden;
}

.gallery-slider {
    padding-bottom: 60px !important;
    cursor: grab;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    /* Portrait orientation as requested */
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .gallery-item img {
        aspect-ratio: 3 / 4;
        /* Maintain portrait on mobile */
    }
}

.gallery-pagination {
    bottom: 10px !important;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    opacity: 1;
    background: #000;
}

/* About Page Styles */
.about-hero {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

/* Service Maintenance Page Styles */
.service-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    overflow: hidden;
    background: #000;
}

#service-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the screen completely without cropping */
    background: #000;
}

.video-container {
    width: 100%;
    height: 100%;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show the full video without cropping */
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 600px;
}

.about-hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.about-hero-content p {
    font-size: 20px;
    opacity: 0.9;
}

.section-about-intro {
    position: relative;
    width: 100%;
    height: auto;
    /* Height now follows image aspect ratio */
    display: block;
    /* Content will be positioned absolutely over image */
    overflow: hidden;
    color: #252728;
    text-align: center;
}

.intro-bg {
    position: relative;
    width: 100%;
    z-index: 1;
}

.intro-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Ensures whole image is visible */
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.intro-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 1500px;
    /* Wide enough to follow manual <br> breaks */
    max-width: 95%;
    margin-top: 6.25vw;
    padding: 0;
}

.intro-content h2 {
    font-size: 40px;
    /* Precise size from inspect screenshot */
    font-weight: 500;
    /* Medium weight for cleaner look */
    margin-bottom: 20px;
    /* Precise margin from inspect screenshot */
    letter-spacing: -1px;
    color: #252728;
}

.intro-content p {
    font-size: 16px;
    font-weight: 300;
    /* Light weight for more elegance */
    line-height: 1.7;
    /* Balanced for 16px font */
    color: #252728;
    max-width: 100%;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

.intro-content p strong {
    color: #000;
    font-weight: 600;
    /* Medium-bold instead of extra-bold */
}

@media (max-width: 1024px) {
    .intro-content h2 {
        font-size: 42px;
    }

    .intro-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-about-intro {
        height: auto;
        min-height: 80vh;
        padding: 80px 0;
        align-items: center;
        /* Center vertically on mobile */
    }

    .intro-content {
        margin-top: 0;
    }

    .intro-content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .intro-content p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .intro-content h2 {
        font-size: 28px;
    }

    .intro-content p {
        font-size: 14px;
    }
}

.section-tech-about {
    padding: 100px 0;
    background: #f9f9f9;
}

.tech-grid-about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-card-about {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.tech-card-about img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tech-info-about {
    padding: 30px;
}

.tech-info-about h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
}

.tech-info-about p {
    color: #666;
    line-height: 1.6;
}

.section-map {
    padding: 120px 0;
    background: #fff;
    text-align: center;
}

.map-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.map-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #000;
}

.map-image img {
    width: 100%;
}

@media (max-width: 1024px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid-about {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 48px;
    }
}

/* ================================
   GLOBALISASI SECTION
================================ */
.section-globalization {
    background: linear-gradient(180deg, #0e2d5e 0%, #1e5096 40%, #3a7ec4 80%, #4a90d4 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    width: 100%;
}

.global-header {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    pointer-events: none;
}

.global-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.global-stats {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

.global-stats strong {
    font-weight: 700;
    color: #fff;
}

.world-map {
    position: relative;
    width: 100%;
}

.map-bg-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    /* Make the dotted map much clearer */
}

/* Map Pin Points */
.map-point {
    position: absolute;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}

/* Amerika Utara */
.point-na {
    left: 16%;
    top: 39%;
}

/* Eropa */
.point-eu {
    left: 40%;
    top: 40%;
}

/* Asia Pasifik */
.point-ap {
    left: 51.5%;
    top: 56%;
}

/* Timur Tengah & Afrika */
.point-me {
    left: 38%;
    top: 58%;
}

/* Amerika Latin */
.point-sa {
    left: 24%;
    top: 70%;
}


/* === PULSE RINGS (vw-based, matching BYD visual) === */
.pulse-ring {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    pointer-events: none;
    transition: all 0.8s ease;
}

/* Ring 1 - inner static base */
.pulse-ring:nth-child(1) {
    width: 6vw;
    height: 6vw;
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

/* Ring 2 & 3 - expansive filled ripples */
.pulse-ring:nth-child(2),
.pulse-ring:nth-child(3) {
    width: 6vw;
    height: 6vw;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    animation: ripple-fill 4s linear infinite;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes ripple-fill {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

/* Active state (when hovered/clicked) */
.map-point.active .pulse-ring:nth-child(1) {
    background: rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%) scale(1.3);
}

.map-point.active .pulse-ring:nth-child(2),
.map-point.active .pulse-ring:nth-child(3) {
    background: rgba(255, 255, 255, 0.1);
}

/* === PIN ICON === */
.pin-dot {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.map-point.active .pin-dot,
.map-point:hover .pin-dot {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.5));
}

/* Region Label */
.region-label {
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.map-point.active .region-label,
.map-point:hover .region-label {
    opacity: 1;
}

/* Glassmorphism Info Card */
.region-info-card {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 280px;
    background: rgba(20, 50, 110, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 24px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 20;
}

.region-info-card.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.region-info-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}

.country-grid span {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

/* === Otomotif Section === */
.section-otomotif {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 100vh;
    max-height: 900px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    overflow: hidden;
}

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

.otomotif-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.otomotif-content h2 {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.otomotif-content p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* === Technology Feature Sections (Blade Battery) === */
.section-tech-feature {
    position: relative;
    width: 100%;
    min-height: 700px;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.tech-feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.tech-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.tech-feature-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-feature-title {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.tech-feature-list {
    margin-top: auto;
    margin-bottom: auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tech-feature-item {
    border-left: 2px solid #fff;
    padding-left: 24px;
    color: #fff;
}

.tech-feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tech-feature-item p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* === DM-i Feature Section === */
.section-dmi-feature {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.dmi-feature-bg {
    display: block;
    width: 100%;
    height: auto;
}

.dmi-feature-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dmi-feature-title {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.dmi-feature-grid {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
}

.dmi-feature-item {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0 10px;
}

/* Vertical lines that start exactly at the top of the heading and go down */
.dmi-feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 1px;
    height: 130px;
    background-color: #fff;
}

.dmi-feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0px;
}

.dmi-feature-item p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    max-width: 200px;
    margin: 0 auto;
}

/* === DM-p Feature Section === */
.section-dmp-feature {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.dmp-feature-bg {
    display: block;
    width: 100%;
    height: auto;
}

.dmp-feature-content {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: center;
}

.dmp-feature-title {
    color: #fff;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dmp-feature-subtitle {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* === e-Platform 3.0 Feature Section === */
.section-eplatform-feature {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.eplatform-feature-bg {
    display: block;
    width: 100%;
    height: auto;
}

.eplatform-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.eplatform-feature-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.eplatform-header {
    text-align: center;
    width: 100%;
    margin-top: 8%;
}

.eplatform-feature-title {
    color: #fff;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.eplatform-feature-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.eplatform-feature-list {
    position: absolute;
    top: 55%;
    left: 8%;
    /* Adjust to match the screenshot padding */
    transform: translateY(-50%);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.eplatform-feature-item {
    border-left: 2px solid #fff;
    padding-left: 24px;
    color: #fff;
}

.eplatform-feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.eplatform-feature-item p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* === Intelligent Cockpit Feature Section === */
.section-cockpit-feature {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.cockpit-feature-bg {
    display: block;
    width: 100%;
    height: auto;
}

.cockpit-feature-content {
    position: absolute;
    top: 13%;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: center;
}

.cockpit-feature-title {
    color: #fff;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cockpit-feature-subtitle {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* === Interactive Tech Tabs Section === */
.section-tech-tabs {
    width: 100%;
    padding: 60px 40px;
    background-color: #fff;
}

.tech-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.tech-tab-content {
    display: none;
    width: 100%;
    background-color: #f8f8f8;
}

.tech-tab-content.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-tab-image {
    width: 55%;
    display: flex;
}

.tech-tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-tab-text {
    width: 45%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-tab-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.4;
}

.tech-tab-text p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.tech-tab-text p:last-child {
    margin-bottom: 0;
}

.tech-tabs-nav {
    display: flex;
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.tech-tab-btn {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    font-size: 15px;
    font-weight: 400;
    color: #999;
    cursor: pointer;
    position: relative;
    top: -1px;
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
}

.tech-tab-btn.active {
    color: #111;
    border-top: 2px solid #111;
    font-weight: 600;
}

.tech-tab-btn:hover {
    color: #111;
}

/* === Vehicle Safety Section === */
.section-safety-feature {
    width: 100%;
    background-color: #fff;
    padding-bottom: 80px;
}

.safety-hero {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.safety-bg {
    display: block;
    width: 100%;
    height: auto;
}

.safety-hero-content {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: center;
}

.safety-title {
    color: #333;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.safety-subtitle {
    color: #555;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.safety-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: -150px;
    /* Overlaps the bottom of the image */
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.safety-card {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Very subtle shadow for separation */
}

.safety-card-logo {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.safety-card-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.safety-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.safety-card p {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

/* === Reusable Hero Feature Section === */
.section-hero-feature {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.hero-feature-bg {
    display: block;
    width: 100%;
    height: auto;
}

.hero-feature-content {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    /* Increased to prevent unwanted line breaks */
    padding: 0 20px;
    z-index: 1;
    text-align: center;
}

.hero-feature-title {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* ==========================================================================
   SERVICE & MAINTENANCE PAGE STYLES
   ========================================================================== */

/* === Service Benefits Section === */
.service-benefits {
    padding: 80px 0;
    background: #fff;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.service-header p {
    font-size: 15px;
    color: #666;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Extremely tight gap like screenshot */
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.benefit-card {
    background: linear-gradient(to bottom, #00adef 0%, #15459b 100%);
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    width: 380px;
    /* Force consistent width */
    flex: 0 0 auto;
    /* Prevent stretching */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 25px;
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-card p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* === Service Timeline Section === */
.service-timeline {
    padding: 80px 0;
    background: #fff;
}

.timeline-table-wrapper {
    max-width: 1000px;
    margin: 0 auto 80px;
}

.timeline-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eaeaea;
}

.timeline-table th {
    background: #f1f1f1;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    border: 1px solid #eaeaea;
    text-align: center;
}

.timeline-table td {
    padding: 20px;
    font-size: 13px;
    color: #444;
    border: 1px solid #eaeaea;
    text-align: center;
}

.timeline-nodes-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 250px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dcdcdc;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-node {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 100%;
    display: flex;
    justify-content: center;
}

.node-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid #c83232;
    border-radius: 50%;
}

.node-box {
    position: absolute;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.node-up .node-box {
    bottom: 55%;
}

.node-down .node-box {
    top: 55%;
}

.node-box strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.node-box p {
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}

.timeline-asterisk {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 13px;
    color: #666;
}

/* === Genuine Parts Section === */
.service-parts {
    padding: 80px 0;
    background: #fafafa;
}

.parts-split {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.parts-img {
    flex: 1;
}

.parts-img img {
    width: 100%;
    height: auto;
    display: block;
}

.parts-content {
    flex: 1.2;
}

.parts-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.4;
}

.parts-list {
    list-style: none;
    padding: 0;
}

.parts-list li {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
}

.parts-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #111;
    font-weight: bold;
}

.parts-list li strong {
    color: #111;
}

/* === Service CTA Section === */
.service-cta {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.cta-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.btn-black {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   WARRANTY PAGE STYLES
   ========================================================================== */

.warranty-hero {
    padding: 15px 15px 5px 15px;
    background: #fff;
    width: 100%;
}

.warranty-hero-bg {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.warranty-hero-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.warranty-cards-section {
    padding: 5px 15px 40px 15px;
    background: #fff;
}

.warranty-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1600px;
    margin: 0 auto;
}

.warranty-card {
    background: linear-gradient(180deg, #8cb5e0 0%, #3e78b1 100%);
    border-radius: 25px;
    padding: 50px 25px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(62, 120, 177, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
}

.warranty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(62, 120, 177, 0.3);
}

.warranty-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1.2px;
    font-style: italic;
    text-transform: uppercase;
}

.card-img-wrapper {
    width: 100%;
    margin-bottom: 35px;
    padding: 0 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    width: 90%;
    height: auto;
    border-radius: 18px;
    display: block;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-desc p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.warranty-details-section {
    padding: 60px 0 100px;
    background: #fff;
}

.warranty-details-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.details-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    text-align: left;
}

.warranty-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    width: 100%;
}

.tab-btn {
    flex: 1;
    padding: 14px 10px;
    background: #fff;
    border: 1px solid #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
    margin: 0 2px;
    /* Small gap as per screenshot */
}

.tab-btn.active {
    background: #000;
    color: #fff;
}

.tab-content-wrapper {
    margin-bottom: 80px;
    text-align: center;
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
    text-align: left;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.warranty-accordion-section {
    width: 100%;
    margin-bottom: 50px;
}

.warranty-accordion-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 22px 30px;
    background: #f2f2f2;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #e8e8e8;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
}

.accordion-item.active .accordion-content {
    border-bottom: 1px solid #f2f2f2;
}

.accordion-content p {
    padding: 25px 30px;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.accordion-body {
    padding: 30px;
}

.accordion-body p {
    padding: 0;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.accordion-body li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.accordion-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
}

.details-footer {
    margin-top: 50px;
    text-align: left;
}

.details-footer p {
    font-size: 13px;
    color: #888;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   ROADSIDE EMERGENCY PAGE STYLES
   ========================================================================== */

.roadside-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.roadside-hero-bg {
    width: 100%;
    height: auto;
}

.roadside-hero-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container-medium {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-centered {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.cs-section {
    padding: 60px 0;
    background: #fff;
}

.cs-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.cs-image {
    flex: 1;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cs-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #3e78b1;
    /* Solid blue from target */
    color: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
}

.cs-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-info-item i {
    font-size: 18px;
}

.cs-content {
    flex: 1;
}

.cs-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    text-align: justify;
}

.access-info p {
    font-size: 15px;
    color: #000;
}

.roadside-assistance-section {
    padding: 40px 0 100px;
    background: #fff;
}

@media (max-width: 992px) {
    .cs-flex {
        flex-direction: column;
        gap: 30px;
    }

    .roadside-hero,
    .warranty-hero,
    .warranty-cards-section {
        padding: 15px;
    }
}

/* ==========================================================================
   BYD APPS PAGE STYLES
   ========================================================================== */

.apps-hero {
    width: 100%;
    height: auto;
    background: #000;
    overflow: hidden;
    position: relative;
}

.apps-hero .video-container {
    width: 100%;
    height: auto;
}

.apps-hero video {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

.apps-banner-section {
    width: 100%;
    background: #fff;
    padding: 0;
}

.apps-banner-full {
    width: 100%;
}

.apps-banner-full img {
    width: 100%;
    height: auto;
    display: block;
}

.apps-features-section {
    padding: 80px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.apps-download-section {
    padding: 80px 0 120px;
    background: #fff;
}

.apps-download-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.apps-download-section p {
    font-size: 16px;
    color: #444;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.store-link img {
    height: 50px;
    transition: transform 0.3s ease;
}

.store-link:hover img {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .apps-hero {
        height: 60vh;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* BYD APPS DETAIL MODAL */
.app-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-details-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: modalScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #000;
    color: #fff;
    transform: rotate(90deg);
}

.detail-slide-inner {
    display: flex;
    align-items: center;
    padding: 80px 100px;
    gap: 60px;
    min-height: 500px;
}

.detail-slide-inner.reverse {
    flex-direction: row-reverse;
}

.detail-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.detail-text {
    flex: 1.2;
}

.detail-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #3a7ec4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.detail-text h4 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 25px;
}

.detail-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.app-details-slider {
    padding-bottom: 50px !important;
}

.app-details-slider .swiper-button-next,
.app-details-slider .swiper-button-prev {
    color: #000;
    width: 50px;
    height: 50px;
    background: #f8f8f8;
    border-radius: 50%;
}

.app-details-slider .swiper-button-next:after,
.app-details-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 900;
}

.app-details-slider .swiper-pagination-bullet-active {
    background: #000;
}

@media (max-width: 992px) {
    .detail-slide-inner {
        flex-direction: column !important;
        padding: 60px 40px;
        text-align: center;
        gap: 40px;
    }

    .detail-text h4 {
        font-size: 24px;
    }
}

/* ==========================================================================
   PRICELIST PAGE STYLES
   ========================================================================== */

.pricelist-section {
    padding: 140px 0 100px;
    background: #fff;
}

.pricelist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .pricelist-grid {
        grid-template-columns: 1fr;
    }
}

.car-price-card {
    text-align: center;
    padding: 20px;
}

.car-price-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.car-price-card:hover .car-price-image {
    transform: translateY(-10px);
}

.car-price-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.car-price-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #000;
    text-transform: uppercase;
}

.variant-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 15px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    border-radius: 4px;
}

.variant-btn.active {
    border-color: #005ce6;
    background: #fff;
    box-shadow: 0 0 0 1px #005ce6;
}

.variant-btn h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.variant-btn span {
    font-size: 11px;
    color: #666;
    display: block;
    margin-bottom: 3px;
}

.variant-btn .start-at {
    font-size: 10px;
    color: #999;
}

.price-display {
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: inline-block;
    width: 100%;
    max-width: 450px;
}

.price-display h3 {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.price-display p {
    font-size: 11px;
    color: #888;
    line-height: 1.4;
}

.specs-grid-price {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
}

.spec-item-price {
    text-align: center;
}

.spec-item-price h4 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.spec-item-price p {
    font-size: 11px;
    color: #888;
    text-transform: capitalize;
}


/* ==========================================================================
   CAR DETAIL PAGE STYLES (BYD SEAL)
   ========================================================================== */

/* Section wrapper - sits below the fixed header */
.car-hero {
    width: 100%;
    background-color: #000;
}

/* Image wrapper */
.car-hero-img-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

/* Full image, natural height */
.car-hero-img-wrap>img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.car-hero-overlay-top {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
    z-index: 10;
    text-align: center;
}

.car-hero-title {
    font-size: clamp(28px, 8vw, 40px);
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.car-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding-bottom: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.car-specs-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
}

.car-spec-item {
    flex: 1;
    text-align: center;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.car-spec-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.car-spec-item h3 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.car-spec-item p {
    font-size: clamp(10px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Transparent Header for Car Pages (kept but not used currently) */
.transparent-car-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.transparent-car-header:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.transparent-car-header.scrolled,
.transparent-car-header.scrolled:hover {
    background: #111 !important;
    backdrop-filter: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}



/* Designer Section — Full Image with Text Overlay */
.seal-designer-section {
    position: relative;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
}

.seal-designer-bg {
    width: 100%;
    line-height: 0;
}

.seal-designer-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.seal-designer-content {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
    padding: 0 20px;
}

.seal-designer-content h2 {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 45px;
    color: #000;
    letter-spacing: 1px;
}

.seal-designer-content p {
    max-width: 1000px;
    margin: 0 auto;
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.8;
    color: #333;
}

@media (max-width: 992px) {
    .seal-designer-section {
        background: #fff;
    }

    .seal-designer-bg {
        height: 50vh;
        width: 100%;
        overflow: hidden;
    }

    .seal-designer-bg img {
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .seal-designer-content {
        position: relative;
        top: 0;
        padding: 40px 20px;
    }

    .seal-designer-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .seal-designer-content p {
        font-size: 14px;
        max-width: 100%;
    }
}

.btn-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    text-decoration: none;
    border-radius: 50px;
    /* Make it a pill shape */
}

.btn-pill:hover {
    background: #fff !important;
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-car {
    border: 1px solid #000;
    background: transparent;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-outline-car:hover {
    background: #000;
    color: #fff;
}

/* Overlay Layout (Timpa Foto) */
.seal-full-kv-section {
    position: relative;
    width: 100%;
    background: #000;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.seal-kv-image {
    width: 100%;
    line-height: 0;
}

.seal-kv-image img {
    width: 100%;
    height: auto;
    display: block;
}

.seal-kv-header {
    position: absolute;
    top: 12%;
    /* Diturunkan sedikit agar tidak terlalu mepet ke atas */
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 5%;
    z-index: 10;
    background: transparent !important;
}

.seal-kv-header h1 {
    font-size: 40px;
    /* Exact size requested */
    font-weight: 700;
    margin-bottom: 35px;
    /* Ditambah sedikit agar tidak terlalu kemepetan dengan teks bawah */
    color: #fff;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.seal-kv-header p {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 16px;
    /* Exact size requested */
    line-height: 1.4;
    /* Dibuat lebih mepet lagi sesuai permintaan */
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}


.seal-kv-footer {
    position: absolute;
    bottom: 8%;
    /* Timpa di bawah foto */
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    background: transparent !important;
}

/* Light Section Overlays */
.section-light .seal-kv-header h1,
.section-light .seal-kv-header p {
    color: #000;
    text-shadow: none;
}

.section-light .btn-pill {
    border: 1px solid #000 !important;
    color: #000 !important;
}

.section-light .btn-pill:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Light mode for car specs */
.section-light .car-spec-item {
    color: #000 !important;
}

.section-light .car-spec-item h3 {
    color: #000 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.section-light .car-spec-item p {
    color: #666 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.section-light .car-spec-item:not(:last-child)::after {
    background: rgba(0, 0, 0, 0.12) !important;
    height: 80% !important;
    top: 10% !important;
    right: 0 !important;
    width: 1px !important;
}

.section-light .car-specs-grid {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .seal-full-kv-section {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        line-height: normal;
        background: #000;
        margin-bottom: 0;
        /* Ensure no gaps between sections */
    }

    .seal-kv-image {
        position: relative !important;
        height: auto !important;
        /* Back to auto to prevent cropping */
        order: 1 !important;
        background: #000;
        line-height: 0;
    }

    .seal-kv-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        /* No cropping as requested */
        display: block;
    }


    .seal-kv-header {
        position: relative !important;
        top: 0 !important;
        order: 2 !important;
        padding: 40px 25px 20px !important;
        background: #000 !important;
        width: 100% !important;
        left: 0 !important;
    }

    .seal-kv-header h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
    }

    .seal-kv-header p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .seal-kv-footer {
        position: relative !important;
        bottom: 0 !important;
        order: 3 !important;
        padding: 10px 25px 60px !important;
        background: #000 !important;
        width: 100% !important;
        left: 0 !important;
    }

    .car-specs-grid {
        display: flex !important;
        flex-direction: column !important;
        /* Stack for better mobile fit */
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
    }

    .car-spec-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    .car-spec-item:last-child {
        border-bottom: none;
    }

    .car-spec-item h3 {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }

    .car-spec-item p {
        font-size: 12px !important;
    }

    /* Light Mode Overrides for Mobile */
    .section-light {
        background: #f9f9f9 !important;
    }

    .section-light .seal-kv-header,
    .section-light .seal-kv-footer {
        background: #f9f9f9 !important;
    }

    .section-light .seal-kv-header p {
        color: #666 !important;
    }

    .section-light .car-spec-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .section-light .car-spec-item:last-child {
        border-bottom: none !important;
    }

    .section-light .car-spec-item:not(:last-child)::after {
        display: none !important;
        /* Hide desktop vertical lines */
    }

    /* Brochure section adjustment */
    .seal-full-kv-section:last-of-type .seal-kv-header {
        padding: 50px 25px 80px !important;
    }

    .seal-full-kv-section:last-of-type .btn-pill {
        width: 100%;
        text-align: center;
        padding: 18px !important;
        font-size: 14px !important;
        background: #fff !important;
        color: #000 !important;
        /* High contrast button for mobile */
    }
}




/* Interior Features Grid */
.interior-grid {
    padding: 100px 80px;
    background: #f4f4f4;
}

.interior-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #ccc;
}

.interior-card {
    background: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interior-card h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    margin-bottom: 20px;
}

.interior-card p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #666;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .car-specs-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .car-spec-item:not(:last-child)::after {
        display: none;
    }

    .interior-row {
        grid-template-columns: 1fr;
    }

    .interior-card {
        padding: 40px;
    }
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Language Toggle Styling */
.language-toggle {
    font-size: 18px !important;
}

/* Navbar adjustment */
.navbar {
    padding: 0 40px;
}

.nav-links {
    gap: 30px;
}

.nav-item {
    padding: 0 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .car-hero {
        height: 70vh;
        overflow: hidden;
    }

    .car-hero-img-wrap {
        height: 100%;
    }

    .car-hero-img-wrap img {
        height: 100%;
        object-fit: cover;
    }

    /* Fix Hero Overlap in Mobile */
    .car-hero-overlay-top {
        top: 20px;
    }

    .car-hero-overlay-bottom {
        padding-bottom: 30px;
    }

    .car-specs-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }

    .car-spec-item h3 {
        font-size: 18px;
    }

    .car-spec-item:not(:last-child)::after {
        display: none;
    }
}

/* --- Index.php & Global Mobile Responsiveness Overrides --- */
@media (max-width: 768px) {

    /* Global Overflow Fix */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    .container-wide {
        padding: 0 15px !important;
    }

    img,
    video,
    iframe {
        max-width: 100% !important;
        height: auto;
    }

    /* Header Fixes */
    .header {
        height: 60px !important;
    }

    .navbar {
        padding: 0 15px !important;
        height: 60px !important;
    }

    .logo img {
        height: 14px !important;
    }

    /* Footer Fixes */
    .footer {
        padding: 40px 20px 20px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px 20px !important;
        text-align: left !important;
        margin-bottom: 40px !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-col:first-child,
    .footer-col:last-child {
        grid-column: span 2 !important;
    }

    .footer-col h6 {
        margin-bottom: 15px !important;
        font-size: 15px !important;
    }

    .footer-col ul {
        padding: 0 !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        padding-top: 25px !important;
    }

    .footer-bottom div {
        justify-content: center !important;
        gap: 20px !important;
    }

    /* Index Content: BYD World Section */
    .section-byd-world {
        padding: 40px 0 !important;
    }

    .world-flex {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .world-grid-left {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .world-card {
        aspect-ratio: 16 / 9 !important;
    }

    .sales-consultant-card {
        padding: 25px !important;
        width: 100% !important;
    }

    .consultant-body {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .consultant-photo-side {
        margin: 0 auto !important;
    }

    .consultant-info-side {
        text-align: center !important;
    }

    .contact-item {
        justify-content: center !important;
    }

    .info-block p {
        text-align: center !important;
    }

    /* Index Content: Gallery */
    .section-gallery {
        padding: 50px 0 !important;
    }

    .section-header h3 {
        font-size: 24px !important;
    }

    /* Index Content: Split Links */
    .section-split-links {
        height: auto !important;
        grid-template-columns: 1fr !important;
    }

    .split-link-item {
        height: 300px !important;
    }

    .split-content h3 {
        font-size: 28px !important;
    }

    /* Innovation Section */
    .innovation-content-full h2 {
        font-size: 24px !important;
    }
}

/* ================================================
   SERVICE PAGE — MOBILE OVERRIDES (max-width: 768px)
   ================================================ */
@media (max-width: 768px) {

    /* ---- 1. VIDEO HERO ---- */
    .service-hero {
        padding: 0 !important;
        margin: 0 !important;
        background: #000 !important;
        height: auto !important;
        /* Pastikan tinggi otomatis */
        min-height: 0 !important;
        /* Hapus batas minimal */
    }

    .service-hero .video-container {
        width: 100% !important;
        height: auto !important;
        /* Biarkan mengikuti rasio video */
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
        background: #000 !important;
        display: block !important;
    }

    .service-hero video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        /* Pastikan utuh tanpa zoom */
        display: block !important;
    }

    /* ---- 2. BENEFITS SECTION ---- */
    .service-benefits {
        overflow-x: hidden !important;
        padding: 40px 0 !important;
    }

    .service-header {
        padding: 0 20px !important;
        margin-bottom: 30px !important;
    }

    .service-header h2 {
        font-size: clamp(20px, 6vw, 24px) !important;
    }

    /* 1 Kolom Rapi */
    .benefits-grid,
    .benefits-row.top-row,
    .benefits-row.bottom-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    .benefit-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
    }

    /* ---- TABLE FIX ---- */
    .timeline-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }

    .timeline-table {
        min-width: 320px !important;
        /* Pastikan tidak terlalu lebar */
        border-collapse: collapse !important;
    }

    .timeline-table th {
        font-size: 11px !important;
        /* Perkecil font header */
        padding: 10px 5px !important;
        line-height: 1.3 !important;
    }

    .timeline-table td {
        font-size: 10px !important;
        /* Perkecil font isi */
        padding: 10px 5px !important;
        line-height: 1.4 !important;
    }

    /* ---- 3. TIMELINE ---- */
    .timeline-nodes-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 40px 10px !important;
        /* Kurangi padding samping */
        gap: 0 !important;
    }

    .timeline-node {
        min-width: 140px !important;
        /* Perkecil lebar tiap node */
    }

    .node-box {
        padding: 10px 8px !important;
        /* Perkecil padding kotak */
        min-height: 100px !important;
    }

    .node-box strong {
        font-size: 11px !important;
        /* Perkecil font judul */
        line-height: 1.2 !important;
    }

    .node-box p {
        font-size: 9px !important;
        /* Perkecil font deskripsi */
        line-height: 1.3 !important;
    }

    .node-circle {
        width: 12px !important;
        /* Perkecil lingkaran merah */
        height: 12px !important;
    }

    /* ---- 4. PARTS SECTION (Foto Kedua) ---- */
    .parts-split {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .parts-img {
        width: 100% !important;
        height: auto !important;
        /* Otomatis sesuai rasio foto */
        max-height: none !important;
    }

    .parts-img img {
        width: 100% !important;
        height: auto !important;
        /* Full landscape otomatis */
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .parts-content {
        padding: 0 20px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .service-header h2 {
        font-size: 18px !important;
    }

    .benefit-card {
        padding: 25px 15px !important;
    }
}

/* ========================================
   WARRANTY PAGE — DESKTOP STYLES
   ======================================== */
.warranty-hero-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.warranty-details-section {
    padding: 80px 0;
    background: #fff;
}

.details-header {
    margin-bottom: 50px;
    text-align: center;
}

.details-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

/* Tabbed Menu */
.warranty-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.tab-btn.active {
    background: #000;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background: #f1f1f1;
    color: #000;
}

/* Tab Content */
.tab-content-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

/* Accordion Section */
.warranty-accordion-section {
    max-width: 1000px;
    margin: 0 auto;
}

.warranty-accordion-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: #f9f9f9;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f1f1f1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: #fff;
    opacity: 0;
    visibility: hidden;
}

/* Tampilkan isi jika item di halaman (Warranty, Apps, Roadside) sedang aktif */
.accordion-item.active .accordion-content {
    opacity: 1;
    visibility: visible;
}

/* Tampilkan isi jika tombol di Sidebar sedang aktif */
.accordion-toggle.active+.accordion-content {
    opacity: 1;
    visibility: visible;
}

.accordion-content p {
    padding: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.details-footer {
    margin-top: 50px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   WARRANTY PAGE — MOBILE OVERRIDES (max-width: 768px)
   ================================================ */
@media (max-width: 768px) {
    .warranty-hero-bg img {
        height: auto !important;
        min-height: 180px !important;
        object-fit: cover !important;
    }

    .warranty-details-section {
        padding: 40px 0 !important;
    }

    .details-header h2 {
        font-size: clamp(18px, 5.5vw, 22px) !important;
        margin-bottom: 20px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    /* Tabs: Layout Button */
    .warranty-tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: center !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }

    .tab-btn {
        padding: 10px 8px !important;
        font-size: 11px !important;
        flex: 1 1 30% !important;
        min-width: 90px !important;
        text-align: center !important;
        height: auto !important;
        line-height: 1.2 !important;
    }

    .tab-pane p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
        text-align: center !important;
    }

    .warranty-accordion-section {
        margin-top: 35px !important;
        padding: 0 15px !important;
    }

    .warranty-accordion-section h2 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }

    .accordion-header {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }

    .accordion-content p {
        font-size: 12px !important;
        padding: 12px 15px !important;
    }

    .details-footer p {
        font-size: 10px !important;
        padding: 0 15px !important;
        margin-top: 25px !important;
        line-height: 1.4 !important;
    }
}

/* ================================================
   BYD APPS PAGE — MOBILE OVERRIDES (max-width: 768px)
   ================================================ */
@media (max-width: 768px) {

    /* ---- 1. APPS HERO (Video) ---- */
    .apps-hero {
        padding: 0 !important;
        margin: 0 !important;
        background: #000 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .apps-hero .video-container {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
        background: #000 !important;
        display: block !important;
    }

    .apps-hero video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* ---- 2. APPS BANNER ---- */
    .apps-banner-section {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .apps-banner-full img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* ---- 3. FAQ SECTION (Apps) ---- */
    .apps-faq-section {
        padding: 40px 15px !important;
    }

    .apps-faq-section h2 {
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }
}



/* ================================================
   CONTACT PAGE — MOBILE OVERRIDES (max-width: 992px)
   ================================================ */
@media (max-width: 992px) {
    .contact-section {
        padding: 40px 0 20px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-visual {
        height: 550px !important;
        /* Tinggi ditambah agar terlihat full body */
        order: -1 !important;
        margin-bottom: 25px !important;
    }

    .contact-visual .image-wrapper img {
        object-position: center 15% !important;
        /* Fokus ke area atas agar kaki terlihat lebih banyak */
    }

    .contact-title-area {
        text-align: center !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important;
    }

    .contact-title-area h1 {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }

    .contact-title-area p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .contact-details {
        gap: 25px !important;
        padding: 0 15px !important;
    }

    .consultant-card {
        padding: 25px 20px !important;
        margin-bottom: 40px !important;
    }

    .btn-test-drive {
        width: 100% !important;
        text-align: center !important;
        padding: 16px 20px !important;
    }

    .map-section {
        height: 600px !important;
        /* Peta diperluas untuk mengisi ruang hitam */
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .map-section iframe {
        display: block !important;
        height: 100% !important;
    }
}

/* ================================================
   ABOUT BYD PAGE — MOBILE OVERRIDES (max-width: 768px)
   ================================================ */
@media (max-width: 768px) {

    /* ---- GLOBAL RESET FOR ABOUT PAGE ---- */
    .section-about-intro,
    .section-globalization,
    .section-otomotif,
    .section-tech-feature,
    .section-dmi-feature,
    .section-dmp-feature,
    .section-eplatform-feature,
    .section-cockpit-feature,
    .section-hero-feature,
    .section-safety-feature {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #000 !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        overflow: visible !important;
    }

    /* Hide desktop line breaks */
    .section-about-intro br,
    .section-otomotif br,
    .section-tech-feature br,
    .section-dmi-feature br,
    .section-eplatform-feature br,
    .section-hero-feature br,
    .section-cockpit-feature br,
    .section-safety-feature br {
        display: none !important;
    }

    /* ---- 1. VIDEO SECTION (RESTORE FULL LANDSCAPE) ---- */
    .about-hero {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        margin-left: -50vw !important;
        padding: 0 !important;
        background: #000 !important;
        line-height: 0 !important;
        overflow: hidden !important;
        display: block !important;
        margin-top: 0 !important;
        top: 0 !important;
    }

    .about-hero .video-container {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important; /* Ensure landscape on mobile */
        margin: 0 !important;
        padding: 0 !important;
    }

    .about-hero video {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        /* BACK TO COVER */
    }

    /* ---- 2. INTRO SECTION (FIX VISIBILITY) ---- */
    .intro-bg {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        order: 1 !important;
    }

    .intro-bg img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .intro-content {
        position: relative !important;
        padding: 50px 25px !important;
        background: #000 !important;
        text-align: center !important;
        order: 2 !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    .intro-content h2 {
        font-size: 28px !important;
        color: #fff !important;
        margin-bottom: 25px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .intro-content p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        color: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .intro-content strong {
        color: #3a7ec4 !important;
        font-weight: 700 !important;
    }

    /* ---- 3. CONTENT CONTAINERS (FIX OVERLAP & TEXT) ---- */
    .otomotif-content,
    .tech-feature-content,
    .dmi-feature-content,
    .dmp-feature-content,
    .eplatform-feature-content,
    .cockpit-feature-content,
    .hero-feature-content,
    .safety-hero-content {
        position: relative !important;
        width: 100% !important;
        padding: 50px 25px !important;
        background: #000 !important;
        text-align: center !important;
        order: 2 !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        height: auto !important;
    }

    .hero-feature-subtitle,
    .hero-feature-content p,
    .dmi-feature-item p,
    .tech-feature-item p,
    .eplatform-feature-item p {
        color: #fff !important;
        /* Make ALL subtitles white */
        font-size: 14px !important;
        line-height: 1.7 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Titles inside content */
    .tech-feature-title,
    .dmi-feature-title,
    .dmp-feature-title,
    .eplatform-feature-title,
    .cockpit-feature-title,
    .otomotif-content h2,
    .hero-feature-title,
    .safety-title {
        position: relative !important;
        font-size: 26px !important;
        color: #fff !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        display: block !important;
    }

    /* Special Fix for DMI Grid */
    .dmi-feature-grid {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
    }

    .dmi-feature-item::after {
        display: none !important;
    }

    /* Hide desktop lines */

    /* Special Fix for E-Platform List */
    .eplatform-feature-list {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .eplatform-header {
        margin: 0 0 30px 0 !important;
    }

    /* ---- 4. GLOBALIZATION MAP ---- */
    .section-globalization {
        background: #fff !important;
        padding: 50px 0 !important;
    }

    .global-header {
        position: relative !important;
        transform: none !important;
        top: 0 !important;
        left: 0 !important;
        padding: 0 25px 30px !important;
    }

    .global-header h2 {
        font-size: 26px !important;
        color: #000 !important;
        margin-bottom: 12px !important;
    }

    .global-stats {
        font-size: 14px !important;
        color: #555 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px 20px !important;
        line-height: 1.4 !important;
    }

    .map-wrapper {
        background: #fff !important;
        min-height: 0 !important;
        margin-top: 10px !important;
    }

    .world-map {
        transform: scale(1.2) !important;
        margin: 0 auto !important;
    }

    /* ---- 5. TECH TABS & SAFETY ---- */
    .section-tech-tabs {
        background: #fff !important;
        padding: 50px 20px !important;
    }

    .tech-tabs-container {
        width: 100% !important;
        max-width: none !important;
    }

    .tech-tab-content.active {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        align-items: flex-start !important;
    }

    .tech-tab-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 20px !important;
    }

    .tech-tab-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .tech-tab-text {
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
        flex: none !important;
    }

    .tech-tab-text h2 {
        font-size: 22px !important;
        color: #000 !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .tech-tab-text p {
        font-size: 14px !important;
        color: #444 !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }

    .tech-tabs-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 30px !important;
        width: 100% !important;
    }

    .tech-tab-btn {
        font-size: 13px !important;
        padding: 15px !important;
        text-align: center !important;
        width: 100% !important;
        border: 1px solid #eee !important;
    }

    .safety-cards-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        background: #fff !important;
        padding: 0 !important;
    }

    .safety-card {
        background: #f8f8f8 !important;
        padding: 30px 20px !important;
        min-height: 0 !important;
    }
}

.about-hero, .apps-hero {
    width: 100%;
    height: calc(100vh - 80px); /* Mengisi sisa tinggi layar setelah header */
    background: #000;
    overflow: hidden;
    position: relative;
}

.about-hero .video-container, .apps-hero .video-container {
    width: 100%;
    height: 100%;
}

.about-hero video, .apps-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video akan memenuhi area tanpa celah */
}

@media (max-width: 768px) {
    .about-hero, .apps-hero {
        height: auto; /* Di mobile mengikuti aspect ratio landscape */
    }
    
    .about-hero .video-container, .apps-hero .video-container {
        aspect-ratio: 16 / 9;
    }
}