@media (max-width: 1199.98px) {
    .hero-scene {
        background-position: right center;
    }

    .hero-copy {
        max-width: 520px;
    }
}

/* ── TABLET & SMALL DESKTOP (≤ 991px) ────────────────────── */
@media (max-width: 991.98px) {
    :root {
        --section-space: 64px;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 1rem;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .navbar .nav-link {
        padding: 0.8rem 0.95rem;
    }

    .common_btn {
        width: 100%;
    }

    /* Hero */
    .hero-scene {
        background-position: 75% center;
        background-size: cover;
        min-height: 520px;
    }

    .hero-overlay {
        display: block;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 40%, rgba(255, 255, 255, 0.75) 75%, rgba(255, 255, 255, 0.25) 100%);
    }

    .hero-row {
        padding-top: 3.5rem;
        padding-bottom: 2rem;
        min-height: 520px;
    }

    .hero-copy {
        max-width: 540px;
    }

    .hero-feature-strip {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        gap: 15px;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--line);
    }

    .hero-feature {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .hero-feature span {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .hero-feature strong {
        font-size: 0.8rem;
    }


    /* Loads / services */
    .booking-card {
        max-width: 100%;
    }

    .booking-card-body {
        padding: 1rem;
    }

    .home-load-section {
        margin-top: -18px;
    }

    .home-load-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-load-view {
        width: auto;
    }

    .home-load-card {
        padding: 0.9rem;
        border-radius: 10px;
    }

    .home-load-card .table-responsive {
        max-height: 280px;
    }

    .home-load-head h2 {
        font-size: 1.15rem;
    }

    .home-load-note {
        align-items: flex-start;
        text-align: left;
    }

    .home-service-card {
        min-height: 104px;
    }

    .home-stats-band .container {
        max-width: 100%;
    }

    .home-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        justify-content: flex-start;
        min-height: 96px;
    }

    .home-stats-band .col-6:nth-child(2n) .home-stat {
        border-right: 0;
    }

    .home-stat strong {
        font-size: 1.65rem;
    }

    .news-item-text {
        max-width: 100%;
    }

    /* Partner CTA band */
    .partner-cta-band {
        padding: 70px 0;
    }

    .pcta-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }

    .pcta-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pcta-benefits {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .pcta-right {
        align-self: center;
        width: 100%;
        max-width: 400px;
    }

    /* Misc layout */
    .section-heading-wrap--between {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-item-title {
        font-size: 1.55rem;
    }

    .comparison-table thead th {
        font-size: 15px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
    }

    .comparison-table tbody td:first-child {
        min-width: 120px;
        font-size: 14px;
        font-weight: 500;
    }

    .why-choose-subtitle {
        font-size: 0.98rem;
    }

    .about-hero-card--primary,
    .about-value-card,
    .about-purpose-wrap,
    .about-story-visual {
        padding: 1.4rem;
    }

    .about-story-tile {
        min-height: 120px;
    }

    .about-page-title {
        max-width: 100%;
    }

    .about-point {
        flex-direction: column;
    }

    .inner-page-card {
        padding: 1.4rem;
    }

    .inner-page-card-title {
        font-size: 1.25rem;
    }

    .services-page-title {
        max-width: 100%;
    }

    .services-menu-block,
    .service-detail-card,
    .service-type-card {
        padding: 1.35rem;
    }

    .service-list-item {
        min-height: auto;
        align-items: flex-start;
    }

    .truck-form-card-body {
        padding: 1rem;
    }

    .truck-form-heading {
        font-size: 1.45rem;
    }

    .contact-form-shell,
    .contact-info-panel {
        padding: 1.25rem;
    }

    .contact-section-title,
    .contact-info-title {
        font-size: 1.65rem;
    }

    .contact-highlight-card {
        flex-direction: column;
    }

    .contact-info-box,
    .contact-highlight-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .contact-info-box-icon,
    .contact-highlight-icon {
        width: 48px;
        height: 48px;
    }

    .contact-form-wrap.booking-card {
        border-right: 2px solid var(--primary);
        border-bottom: 0;
    }

    .contact-layout {
        box-shadow: none;
    }

    .contact-info-panel {
        border-radius: 8px;
    }

    /* ── Interactive Vehicle Explorer — Horizontal scroll carousel ── */
    .find-vehicle-section {
        padding: 50px 0;
    }

    /* Convert vertical sidebar list to horizontal scrollable row */
    .explorer-menu-list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding: 8px 4px 16px !important;
        margin-bottom: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(2, 37, 95, 0.15) transparent;
    }

    .explorer-menu-list::-webkit-scrollbar {
        height: 5px;
    }

    .explorer-menu-list::-webkit-scrollbar-thumb {
        background: rgba(2, 37, 95, 0.15);
        border-radius: 99px;
    }

    .explorer-menu-list::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Tile cards in the carousel */
    .explorer-menu-item {
        flex: 0 0 160px !important;
        width: 160px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px !important;
        gap: 8px !important;
        border-left: 1px solid rgba(22, 32, 51, 0.05) !important;
        border-bottom: 3px solid transparent !important;
        border-radius: 12px !important;
        scroll-snap-align: start;
        transform: none !important;
    }

    .explorer-menu-item:hover {
        transform: none !important;
    }

    .explorer-menu-item.active {
        border-left: 1px solid rgba(22, 32, 51, 0.05) !important;
        border-bottom: 3px solid #0ba54b !important;
        background: #f4f7fc !important;
    }

    .explorer-item-thumbnail {
        width: 60px !important;
        height: 36px !important;
    }

    .explorer-item-name {
        font-size: 0.88rem !important;
    }

    .explorer-item-capacity {
        font-size: 0.72rem !important;
    }

    .explorer-menu-item .badge {
        font-size: 0.6rem !important;
        padding: 2px 7px !important;
    }

    /* Right display panel */
    .explorer-display-panel {
        padding: 24px 22px !important;
        min-height: auto !important;
        border-radius: 18px !important;
    }

    .explorer-stage {
        height: 200px !important;
        margin-bottom: 18px !important;
    }

    .explorer-stage-glow {
        width: 190px !important;
        height: 190px !important;
    }

    .explorer-stage-circle {
        width: 160px !important;
        height: 160px !important;
    }

    .explorer-stage-truck {
        max-height: 140px !important;
    }

    .floating-spec-badge {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .floating-spec-badge--1 {
        top: 8px !important;
        left: 8px !important;
    }

    .floating-spec-badge--2 {
        bottom: 16px !important;
        right: 8px !important;
    }

    .explorer-info-title {
        font-size: 1.4rem !important;
    }

    .explorer-info-desc {
        font-size: 0.86rem !important;
        margin-bottom: 18px !important;
    }

    .explorer-specs-row {
        padding: 12px 0 !important;
        margin-bottom: 18px !important;
    }

    .explorer-spec-val {
        font-size: 0.85rem !important;
    }

    .explorer-price-val {
        font-size: 1.4rem !important;
    }

    .explorer-btn-book {
        padding: 10px 22px !important;
        font-size: 0.88rem !important;
    }
}

/* ── MOBILE LANDSCAPE & PORTRAIT (≤ 767px) ───────────────── */
@media (max-width: 767.98px) {
    :root {
        --section-space: 52px;
    }

    .navbar-brand img {
        width: 140px;
    }

    .footer-logo img {
        width: 150px;
    }

    .hero-scene {
        background-position: 70% center;
        background-size: cover;
        min-height: 480px;
    }

    .hero-overlay {
        display: block;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.88) 100%);
    }

    .hero-row {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        min-height: 480px;
    }

    .hero-actions {
        display: flex;
        flex-direction: row !important;
        gap: 0.75rem;
        margin-top: 1.5rem;
        width: 100%;
    }

    .hero-btn {
        flex: 1;
        min-height: 48px;
        padding: 0.6rem 0.8rem;
        font-size: 0.88rem;
        border-radius: 8px;
        white-space: nowrap;
    }

    .hero-btn-arrow {
        display: none !important;
    }

    .hero-feature-strip {
        gap: 10px;
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .hero-feature {
        gap: 6px;
    }

    .hero-feature-icon-ring {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        font-size: 0.85rem;
    }

    .hero-feature span {
        font-size: 0;
    }

    .hero-feature strong {
        font-size: 0.78rem;
        display: block;
    }

    /* Responsive comparison table card transformation */
    .comparison-table-wrap {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100% !important;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        background: #ffffff !important;
        border: 1px solid rgba(22, 32, 51, 0.08) !important;
        border-radius: 16px;
        padding: 1.25rem 1.15rem;
        margin-bottom: 1.25rem;
        box-shadow: 0 8px 24px rgba(22, 32, 51, 0.03);
    }

    .comparison-table tbody td:first-child {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: var(--primary) !important;
        background: transparent !important;
        padding: 0 0 1rem 0 !important;
        border-bottom: 1px solid rgba(22, 32, 51, 0.06);
        margin-bottom: 0.88rem;
        min-width: auto !important;
    }

    .comparison-table tbody td:nth-child(2),
    .comparison-table tbody td:nth-child(3) {
        display: inline-flex !important;
        align-items: center;
        justify-content: space-between;
        width: 48% !important;
        background: var(--surface-soft) !important;
        padding: 8px 12px !important;
        border-radius: 8px;
        border: 1px solid rgba(22, 32, 51, 0.04) !important;
        margin-right: 4%;
    }

    .comparison-table tbody td:nth-child(2) {
        background: var(--soft) !important;
        border-color: rgba(11, 165, 75, 0.15) !important;
    }

    .comparison-table tbody td:last-child {
        margin-right: 0;
    }

    .comparison-table tbody td:nth-child(2)::before {
        content: "Pakhi Transport";
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--secondary-dark);
    }

    .comparison-table tbody td:nth-child(3)::before {
        content: "Others";
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--muted);
    }

    .comparison-mark {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* ── SMALL MOBILE (≤ 575px) ──────────────────────────────── */
@media (max-width: 575.98px) {
    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-scene {
        background-position: 65% center;
        min-height: 440px;
    }

    .hero-row {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
        min-height: 440px;
    }

    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 0.75rem;
    }

    .hero-text {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-actions {
        margin-top: 1.25rem;
        gap: 0.5rem;
    }

    .hero-btn {
        font-size: 0.82rem;
        padding: 0.5rem 0.6rem;
        min-height: 44px;
        gap: 0.4rem;
    }

    .hero-feature-strip {
        margin-top: 1.5rem;
        padding-top: 1rem;
        gap: 6px;
    }

    .hero-feature-icon-ring {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        font-size: 0.8rem;
    }

    .hero-feature strong {
        font-size: 0.72rem;
    }

    .booking-card-title {
        font-size: 0.98rem;
    }

    .home-service-card {
        align-items: flex-start;
    }

    .home-service-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.15rem;
    }

    .home-stat {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        text-align: center;
    }

    .home-stat i {
        font-size: 1.8rem;
    }

    .phone-group .phone-code {
        max-width: 84px;
        flex-basis: 84px;
    }

    .stats_icon_box {
        width: 88px;
        min-width: 88px;
    }

    .stats_value {
        font-size: 1.7rem;
    }

    .about-news-title {
        font-size: 1.85rem;
    }

    .news-item-title {
        font-size: 1.35rem;
    }

    .footer-brand-mark {
        width: 48px;
        height: 48px;
    }

    .footer-widget-title {
        font-size: 1.05rem;
    }

    .contact-submit-btn,
    .truck-submit-btn {
        width: 100%;
    }

    .contact-section-title,
    .contact-info-title {
        font-size: 1.45rem;
        text-align: center;
    }

    /* Explorer — full-width stacked on very small screens */
    .explorer-menu-item {
        flex: 0 0 148px !important;
        width: 148px !important;
    }

    .explorer-stage {
        height: 180px !important;
    }

    .explorer-stage-truck {
        max-height: 120px !important;
    }

    /* Stack action row vertically */
    .explorer-action-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        text-align: center !important;
    }

    .explorer-btn-book {
        width: 100% !important;
        justify-content: center !important;
        display: inline-flex !important;
    }

    .explorer-specs-row {
        grid-template-columns: 1fr 1fr !important;
    }

    .explorer-price-val {
        font-size: 1.25rem !important;
    }

    .partner-cta-band {
        padding: 50px 0;
    }

    .pcta-left {
        text-align: center;
    }

    .pcta-benefits {
        grid-template-columns: 1fr;
        justify-items: start;
        max-width: max-content;
        margin: 0 auto;
        text-align: left;
    }

    .pcta-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .pcta-btn {
        padding: 12px 24px;
        font-size: 0.94rem;
    }

    /* Process Section — small mobile */
    .process-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
        padding: 10px;
        gap: 8px;
    }

    .process-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .process-card {
        padding: 30px 20px 24px;
    }

    .process-step-badge {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }

    .process-card-icon-wrap {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
}