/* ========== RESPONSIVE STYLES ========== */
.container {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ---------- Large Desktop (max-width: 1200px) ---------- */
@media (max-width: 1200.8px) {
    .container {
          
            padding-left: 1.2rem;
            padding-right: 1.2rem;
        }
    .nav-desktop-list {
        gap: 2rem;
    }

}

/* ---------- Tablet Landscape / Small Desktop (max-width: 992px) ---------- */
@media (max-width: 991.98px) {

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .navbar-header {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom-color: var(--border-dark);
    }

    .nav-container {
        display: flex;
        flex-wrap: nowrap;
        min-height: 64px;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
    }

    .nav-desktop-list {
        display: none;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    .navbar-toggler {
        display: block;
        margin-left: auto;
        z-index: 1001;
        font-size: 1.8rem;
    }

    .navbar-toggler .icon-close {
        display: none;
    }

    .navbar-toggler.open .icon-bars {
        display: none;
    }

    .navbar-toggler.open .icon-close {
        display: inline-block;
    }

    .logo-brand {
        padding: 6px 14px;
        letter-spacing: 3px;
        height: 44px;
        white-space: nowrap;
    }

    .mobile-logo .brand-icon {
        background-color: var(--primary);
        width: 80px;
        height: 80px;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        z-index: 999;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--nav-height));
        background: var(--white);
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.6s var(--ease-premium);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list>li {
        /* margin-bottom: 0.5rem; */
        border-bottom: 1px solid var(--border-dark);
    }

    .mobile-menu-list>li:last-child {
        border-bottom: none;

    }

    .mobile-menu-list a {
        text-decoration: none;
        font-weight: var(--font-weight-semibold);
        color: var(--text-default);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-list a:hover {
        color: var(--primary);
        padding-left: 10px;
    }

    .mobile-nav-item {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-dropdown>a {
        cursor: pointer;
    }

    .arrow-down {
        transition: transform 0.3s ease;
        color: var(--primary);
    }

    .mobile-dropdown.open .arrow-down {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding-left: 1rem;
        background: var(--white);
        border-radius: var(--border-radius-sm);
    }

    .mobile-dropdown.open .mobile-submenu {
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .mobile-submenu li a {
        padding: 0.15rem 0;
        color: var(--text-muted);
     
    }



    .mobile-submenu li:hover {
        color: var(--primary);
        padding-left: 10px;
    }


    .image-side {
        display: none;
    }

    .list-side {
        flex: 0 0 100%;
    }


    .btn-hero {
        padding: 14px 30px;
        letter-spacing: 1.5px;
    }

    /* Product showcase */
    .product_showcase-card-1 {
        grid-column: span 12;
        grid-row: span 1;
    }

    .product_showcase-card-2,
    .product_showcase-card-3,
    .product_showcase-card-4,
    .product_showcase-card-5,
    .product_showcase-card-6 {
        grid-column: span 6;
    }

    .product_showcase-bento-grid {
        grid-auto-rows: 350px;
    }

    /* Model section */
    .model-hero {
        min-height: auto;
        padding: 3rem 0 1rem;
    }

    .model-desc {
        max-width: 100%;
    }

    .model-image-wrap {
        height: 420px;
    }

    .model-image {
        max-height: 380px;
    }

    .model-tabs {
        padding: 0.4rem 1rem;
        gap: 0.3rem;
    }

    /* Stats */
    .hero_stats-title {
        text-align: center;
    }

    /* Counter section */
    .counter-item {
        padding: 1rem;
    }

    .image-circle-container img {
        width: 240px;
        height: 240px;
    }

    .first-feature .offset-lg-1,
    .second-feature .offset-lg-1 {
        margin-left: 0 !important;
    }

    .first-feature {
        margin-bottom: 0;
    }

    .counter-sec {
        min-height: auto;
        padding: 60px 0;
    }

    .tech_slide {
        min-height: auto;
    }

    .second-feature {
        margin-top: 0;
    }

    .bus-animation-bg {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        pointer-events: none !important;
    }



    .grd-tech-row {
        row-gap: 1rem;
    }

    /* About page */
    .about-detail-icon i {
        margin-top: 0;
        margin-bottom: 2.5rem;
    }

    .about-detail-icon h5 {
        font-weight: 200;
    }

    .why-choose-plus-icon {
        width: 32px;
        height: 32px;
        bottom: 20px;
        left: 20px;
    }

    .why-choose-plus-icon svg {
        width: 16px;
        height: 16px;
    }

    .about-counter-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .why-choose-card {
        padding-bottom: 70px;
    }

    .why-choose-card:hover .why-choose-card-description {
        margin-bottom: 10px;
    }

    .btn-custom-light {
        padding: 0.4rem 1.5rem;
    }

    /* Custom bus section */
    .bus_config_header {
        text-align: center;
        margin-bottom: 50px;
    }

    .bus_config_main_image {
        margin-bottom: 40px;
    }

    .bus_config_btn {
        display: flex;
        justify-content: center;
        width: fit-content;
        margin: 2rem auto;
    }

    /* Why choose grid  */
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-card {
        grid-row: auto !important;
        min-height: auto;
        padding: 30px 20px;
    }

    /* Awards image */
    .award-image-container {
        margin-bottom: 40px;
    }

    .award-decoration-dots {
        width: 380px;
        height: 380px;
    }

    .award-circle-image-wrapper {
        width: 300px;
        height: 300px;
    }

    .award-logo-row {
        justify-content: center;
        gap: 15px;
    }

    .award-logo-item {
        width: 100px;
        height: 45px;
    }

    .award-btn {
        display: block;
        text-align: center;
        max-width: 200px;
        margin: 0 auto;
    }

    .pattern-dots {
        display: none;
    }

    /* address card */
    .contact-detail h3 {
        margin-block: 2rem;
    }

    .contact-info-row {
        padding: 1.5rem 0;
    }

    .contact-building-img {
        height: 380px;
    }

    .contact-address-card {
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 25px;
        right: 25px;
    }
}

/* ---------- Tablet Portrait (max-width: 768px) ---------- */
@media (max-width: 767.98px) {
    :root {
        --nav-height: 70px;
    }

    .container {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    /* Navigation */
    .nav-container {
        padding: 0 1rem;
    }

    .mobile-menu {
        padding: 1.5rem;
    }

    .mobile-submenu li {
        padding: 0.6rem 0;
    }

    /* Model section */
    .model-hero {
        padding: 2rem;
    }

    .model-header {
        gap: 0.4rem;
    }

    .model-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
        padding: 0.25rem 1rem;
        justify-content: flex-start;
    }

    .model-tab {
        display: inline-block;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 2rem;
        transition: all 0.2s ease;
    }

    .model-tab.active {
        background: var(--primary);
        color: white;
    }

    .model-tab.active::after {
        display: none;

    }

    .model-text-wrap {
        margin-top: 8px;
    }

    .model-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .model-btn {
        margin-bottom: 20px;
    }

    .model-image-wrap {
        height: auto !important;
        min-height: 0 !important;
        padding: 0;
        margin: 0;
    }

    .model-image {
        width: 100%;
        height: auto;
    }

    .model-hero .row {
        row-gap: 10px;
    }

    /* Static header */
    .static-header {
        padding: 2rem 0.3rem 0.5rem;
    }

    .static-header h1 {
        padding-left: 1rem;
    }

    .static-header h1 span::after {
        visibility: hidden;
    }

    /* Counter section */
    .bus-animation-bg {
        display: none;
    }

    .counter-sec {
        min-height: auto;
        padding: 30px 0;
    }

    .feature-card .row {
        flex-direction: column !important;
        text-align: center;
    }

    .feature-card .col-md-5,
    .feature-card .col-md-7 {
        max-width: 100%;
    }

    .feature-card .col-md-5 {
        margin-bottom: 1.5rem;
    }

    .first-feature {
        margin-bottom: 20px;
    }

    .feature-card h3 {
        text-align: left;
    }

    .feature-card p {
        text-align: left;
    }

    .image-circle-container::after {
        display: none;
    }

    .image-circle-container {
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .feature-card .col-md-5 {
        order: -1;
        margin-bottom: 20px;
    }

    .image-circle-container img {
        width: 100%;
        max-height: 270px;
        border-radius: 12px;
        animation: none;
    }

    .tech_slide .col-md-7 {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
    }

    .tech_slide h2 {
        margin-bottom: 15px;
    }

    .tech_slide p {
        margin-bottom: 25px;
    }

    /* GRD World slider */

   .grd-world-section {
       padding: 3rem 0;
   }

   .grd-world-card {
       height: 320px;
   }

   .grd-world-label {
       font-size: 1rem;
       bottom: 1rem;
       left: 1rem;
   }

   .grd-world-nav {
       width: 40px;
       height: 40px;
       font-size: 1.2rem;
   }

    .grd-tech-row {
        gap: 1rem;
    }

    /* Video section */
    .hero-video-section {
        height: 60vh;
    }

    .hero-content {
        padding: 0 20px;
    }

    /* Footer */
    footer {
        padding: 40px 0;
        width: 100%;
    }

    .footer-title {
        margin-bottom: 1.5rem;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    /* About page */
    .about-image-main {
        height: 250px;
        margin-bottom: 15px;
    }

    .about-milestone-card {
        padding: 1rem;
    }

    .about-hero-title {
        margin-bottom: 0.8rem;
    }

    .btn-custom-light {
        width: 100%;
        margin-top: 0.5rem;
    }

    .about-counter-image {
        width: 100%;
        max-width: 100vw;
        aspect-ratio: 4 / 2;
        border-radius: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .about-counter-content {
        flex-direction: column;
        text-align: center;
    }

    .about-counter-content {
        justify-content: center;
    }

    .model-hero .row.align-items-center {
        flex-direction: column-reverse;
        text-align: center;
    }

    /* History section */
    .history-image img {
        max-height: 300px;
    }

    .history-badge {
        bottom: -20px;
        right: -10px;
        padding: 20px;
    }

    /* Product page */
    .product_showcase-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        grid-auto-rows: 400px;
    }

    .product_showcase-bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .product_showcase-card-content {
        padding: 1.5rem;
    }

    .product_showcase-card-details {
        grid-template-rows: 1fr;
    }

    .product_showcase-card-desc,
    .product_showcase-specs-row {
        opacity: 1;
        transform: translateY(0);
    }

    .product_showcase-card-img {
        filter: brightness(0.4) grayscale(0%);
    }

    .accordion-button {
        padding: 20px;
    }

    .accordion-body {
        padding: 0 20px 24px 70px;
    }

    /* Contact page */
    .contact-detail {
        padding: 20px 0;
    }

    .contact-detail h3 {
        margin-block: 1.5rem;
    }

    .contact-info-row {
        flex-wrap: wrap;
        gap: 10px 0;
        padding: 1.2rem 0;
    }

    .contact-row {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-value {
        width: 100%;
        text-align: left;
        padding-left: 55px;
    }

    .contact-building-img {
        max-height: 300px;
    }

    .contact-address-card {
        position: relative;
        bottom: 5rem;
        left: 0;
        right: 0;
        margin-top: 20px;
        padding: 20px;
    }

    .oem-spec__row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .oem-spec__value {
        text-align: left;
        content: '\f17f';

        font-weight: var(--font-weight-extrabold);
        margin-right: 8px;
        display: inline-block;
    }

    .sub-model-feature {
        padding: calc(var(--site-section-padding) / 2) 0;
    }

    model-viewer {
        height: 400px;
    }


}

/* ---------- Mobile (max-width: 576px) ---------- */
@media (max-width: 575.98px) {

    /* Navigation */
    .nav-container {
        padding: 0 0.75rem;
    }

    .logo-brand {
        padding: 6px 12px;
        letter-spacing: 3px;
    }

    .mobile-menu {
        padding: 1rem;
    }

    .mobile-menu-list a {
        padding: 0.75rem 0;
    }

    .mobile-submenu li {
        padding: 0.5rem 0;
    }

    /* Hero */
    .btn-hero {
        padding: 12px 24px;
        letter-spacing: 1px;
    }

    .hero-img {
        object-fit: cover;
        object-position: center center;
    }

    /* Model section */
    .model-hero {
        padding: 2rem 0;
    }

    .model-tab {
        padding: 0.5rem 0.7rem;
    }

    .model-image-wrap {
        height: 240px;
    }

    .model-image {
        max-height: 200px;
    }

    /* Stats */
    .hero_stats {
        padding: 50px 0;
    }

    .hero_stats-title {
        padding: 0 20px;
    }
         .grd-world-card {
             height: 280px;
         }

    /* Footer */
    .social-icons a {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }

    .italic-quote {
        padding-left: 15px;
    }

    /* History */
    .history-image img {
        max-height: 220px;
    }

    .history-badge {
        position: static;
        margin-top: 15px;
        display: inline-block;
    }

    .why-choose-plus-icon {
        width: 28px;
        height: 28px;
        bottom: 15px;
        left: 15px;
    }

    .why-choose-plus-icon svg {
        width: 14px;
        height: 14px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-card {
        padding: 25px 15px 60px;
    }

    /* Awards image */
    .award-decoration-dots {
        width: 240px;
        height: 240px;
    }

    .award-circle-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .award-logo-item {
        width: 70px;
        height: 35px;
    }

    .award-logo-row {
        gap: 10px;
    }

    .btn-custom-light {
        padding: 0.3rem 1.2rem;
    }

    /* Product */
    .product-content {
        padding: 25px;
    }

    .product-media {
        height: 200px;
    }

    /* Contact */
    .contact-building-img {
        max-height: 220px;
    }

    .contact-value {
        padding-left: 45px;
    }

    .contact-address-card {
        padding: 15px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

}

/* ---------- Small Mobile (max-width: 375px) ---------- */
@media (max-width: 375.98px) {
    .btn-hero {
        padding: 7px 14px;
        letter-spacing: 0.7px;
    }

    .italic-quote {
        padding-left: 12px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .about-image-main {
        height: 180px;
    }

    .about-milestone-card {
        padding: 0.7rem;
    }

    /* Technology */
    .tech-quality-protocol {
        text-align: center;
        padding: var(--spacing-xl);
    }

    .tech-quality-icon {
        margin: 0 auto var(--spacing-lg);
    }

    .scroll-to-top {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ---------- Utility / Minor breakpoint (min-width: 768px) ---------- */
@media (min-width: 767.98px) {


    .gallery-hero {
        padding: 80px 0;
    }

    .filter-btn {
        padding: 10px 20px;
        margin: 5px;
    }

    .gallery-item img {
        height: 280px;
    }
}