/* ==========================================
   MOBILE RESPONSIVE OVERRIDES
   Global CSS file for mobile and tablet views
   3-tier: 992px (tablet) → 768px (compact) → 576px (simplified mobile)
   ========================================== */

/* ─────────────────────────────────────────
   UTILITY CLASSES FOR MOBILE SIMPLIFICATION
   ───────────────────────────────────────── */
/* These are applied purely via CSS selectors at mobile breakpoints */

/* ------------------------------------------
   Hamburger Menu Button (Inserted via JS)
   ------------------------------------------ */
.hamburger-menu {
    display: none !important;
    background: var(--white);
    border: 2px solid var(--gray-light);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.hamburger-menu .bar {
    display: block;
    height: 2px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hamburger-menu .bar:nth-child(1) { width: 20px; }
.hamburger-menu .bar:nth-child(2) {
    width: 14px;
    transform: translateX(3px);
}

/* Hover effects */
.hamburger-menu:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(248, 147, 32, 0.2);
    transform: translateY(-2px);
}

.hamburger-menu:hover .bar {
    background-color: var(--primary-color);
}

.hamburger-menu:not(.active):hover .bar:nth-child(1) {
    width: 14px;
    transform: translateX(-3px);
}

.hamburger-menu:not(.active):hover .bar:nth-child(2) {
    width: 20px;
    transform: translateX(0);
}

/* Morphing active 'X' when open */
.hamburger-menu.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(248, 147, 32, 0.35);
}

.hamburger-menu.active .bar {
    background-color: var(--white);
    width: 18px !important;
    transform: translateX(0) !important;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg) !important;
}

.hamburger-menu.active .bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg) !important;
}

.hamburger-menu.active:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Prevent body scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Background overlay when menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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


/* ==========================================
   TIER 1: TABLETS (max-width: 992px)
   Full content visible, layout adjustments
   ========================================== */
@media screen and (max-width: 992px) {

    /* Top Header */
    .top-header {
        font-size: 12px;
        padding: 8px 0;
    }

    .contact-info {
        gap: 15px;
    }

    /* Header layout */
    .header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo-box {
        margin: 0 !important;
    }

    /* Show hamburger */
    .hamburger-menu {
        display: flex !important;
    }

    /* Off-canvas drawer */
    .main-header .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        max-width: 85vw;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 24px 30px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-header .nav-menu.active {
        right: 0;
    }

    /* Nav links */
    .nav-link {
        width: 100%;
        display: block;
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        border-left: 3px solid transparent;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-link:not(.nav-btn):hover,
    .nav-link:not(.nav-btn).active {
        background-color: var(--primary-light) !important;
        color: var(--primary-color) !important;
        border-left-color: var(--primary-color);
        padding-left: 22px;
    }

    .nav-btn {
        text-align: center;
        margin-top: 15px;
        border-bottom: none;
        border-left: none !important;
    }

    /* ── Dropdown mobile accordion ── */
    .dropdown {
        width: 100% !important;
        text-align: left !important;
    }

    .dropdown-toggle {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer;
    }

    /* Kill hover-triggered display from styles.css on touch devices */
    .dropdown:hover .dropdown-menu,
    .dropdown:hover .dropdown-menu.mega-menu {
        display: block !important;
        /* max-height is controlled via JS inline styles — do not set here */
    }

    /* Base layout for accordion — JS sets max-height via inline style */
    .dropdown-menu,
    .dropdown-menu.mega-menu {
        display: block !important;
        position: static !important;
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        /* Transition is set by JS inline style so no need here */
    }

    .dropdown-arrow {
        transition: transform 0.3s ease !important;
    }

    .dropdown-item {
        display: block !important;
        text-align: left !important;
        padding: 10px 15px 10px 24px !important;
        font-size: 14px !important;
        color: var(--gray-dark) !important;
        border-left: 3px solid transparent !important;
        background: transparent !important;
        margin-bottom: 4px !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }

    .dropdown-item:hover {
        background-color: var(--primary-light) !important;
        color: var(--primary-color) !important;
        padding-left: 30px !important;
        border-left-color: var(--primary-color) !important;
    }

    /* ── Grid & Layout ── */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px !important;
    }

    .slide-grid,
    .why-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slide-right-col {
        display: none;
    }

    .slide-title {
        font-size: 36px;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
    }

    .about-images,
    .values-image-wrapper {
        width: 100%;
        margin-bottom: 0 !important;
    }

    /* Service page grids */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overlapping-img {
        display: none;
    }

    .services-grid-new,
    .why-grid,
    .machinery-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* ── Standalone Pages TIER 1 ── */
    /* About Page (Tablet) */
    .about-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .about-stats-grid .about-stat-divider {
        display: none;
    }
    .about-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-vm-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vm-center-img {
        max-height: 300px;
    }
    .values-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-feature-image {
        min-height: 300px;
        height: 300px;
    }
    .journey-timeline-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .journey-timeline-row::before {
        display: none;
    }

    /* Contact Page (Tablet) */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Projects Page (Tablet) */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Machinery & Assets (Tablet) */
    .ma-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ma-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ma-equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ma-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================
   TIER 2: COMPACT MOBILE (max-width: 768px)
   Reduced spacing, hidden top header
   ========================================== */
@media screen and (max-width: 768px) {

    /* Hide top header to save space */
    .top-header {
        display: none;
    }

    /* Main header */
    .logo-img {
        height: 38px;
    }

    .main-header {
        padding: 12px 0;
    }

    /* Hero — height & left alignment overrides */
    .hero-slider-section {
        height: auto;
        min-height: 520px;
        padding: 0;
    }

    .slides-wrapper {
        height: 100%;
        min-height: 520px;
    }

    .slide {
        height: auto;
        min-height: 520px;
        padding: 60px 0 50px;
        display: flex;
        align-items: center;
    }

    .slide-grid {
        text-align: left;
    }

    .slide-left-col {
        align-items: flex-start;
        max-width: 75%;
    }

    .slide-content.left-align {
        text-align: left;
    }

    .slide-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .slide-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .slide-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 10px;
        width: 75%;
    }

    .slide-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Section titles */
    .about-title,
    .services-title,
    .why-title,
    .values-title,
    .machinery-title {
        font-size: 26px;
    }

    .about-feature-item {
        font-size: 14px;
    }

    /* Service page hero */
    .highway-hero,
    .road-hero,
    .bridge-hero,
    .civil-hero,
    .industrial-hero,
    .earthwork-hero,
    .pm-hero,
    .about-hero,
    .contact-hero,
    .projects-hero,
    .machinery-hero {
        height: 360px;
    }

    .highway-hero-title,
    .road-hero-title,
    .bridge-hero-title,
    .civil-hero-title,
    .industrial-hero-title,
    .earthwork-hero-title,
    .pm-hero-title,
    .about-hero-title,
    .projects-hero-title,
    .machinery-hero-title {
        font-size: 34px;
    }

    .section-title {
        font-size: 30px;
    }

    /* ── Standalone Pages TIER 2 ── */
    /* Hero Subtitles */
    .about-hero-subtitle,
    .contact-hero-subtitle,
    .projects-hero-subtitle,
    .ma-hero-subtitle {
        font-size: 15px;
        line-height: 1.4;
    }
    
    /* About Page Stats */
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats-grid .about-stat-item {
        padding: 25px 15px;
    }
    .about-stat-num {
        font-size: 32px;
    }

    /* Contact Page Form */
    .contact-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .form-header h2 {
        font-size: 26px;
    }

    /* Projects Page Stats & Tabs */
    .stats-grid .stat-card {
        padding: 25px 20px;
        gap: 12px;
    }
    .stat-num {
        font-size: 30px;
    }
    .filter-tabs {
        gap: 8px;
    }
    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Machinery Page Stats & Cards */
    .ma-stats-grid .ma-stat-card {
        padding: 25px 20px;
        gap: 12px;
    }
    .ma-stat-num {
        font-size: 30px;
    }
    .ma-equipment-img {
        height: 180px;
    }
}


/* ==========================================
   TIER 3: SIMPLIFIED MOBILE (max-width: 576px)
   Content simplification — modern compact layout
   ========================================== */
@media screen and (max-width: 576px) {

    /* ── Global ── */
    .container {
        padding: 0 16px;
    }

    body {
        font-size: 14px;
    }

    /* ── Hero Slider — Mobile Compact ── */
    .hero-slider-section {
        height: auto;
        min-height: 460px;
        padding: 0;
    }

    .slides-wrapper {
        height: 100%;
        min-height: 460px;
    }

    .slide {
        height: auto;
        min-height: 460px;
        padding: 50px 0 45px;
        display: flex;
        align-items: center;
    }

    .slide-content-container {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .slide-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        text-align: left;
    }

    .slide-left-col {
        align-items: flex-start;
        max-width: 75%;
    }

    .slide-content.left-align {
        text-align: left;
    }

    /* Hide right column visuals */
    .slide-right-col,
    .slide-graphic {
        display: none !important;
    }

    /* Hide tagline to save space */
    .slide-tagline {
        display: none;
    }

    /* 2 Service boxes per slide */
    .slide-services-pills {
        display: flex !important;
        gap: 6px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .service-box {
        font-size: 11px;
        padding: 5px 10px;
        background: rgba(248, 147, 32, 0.2);
        border: 1px solid rgba(248, 147, 32, 0.5);
        border-radius: 6px;
    }

    .slide-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    /* Clamp description to 4 lines to show 2 additional lines */
    .slide-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
        -webkit-line-clamp: 4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hide stats list */
    .slide-stats {
        display: none !important;
    }

    /* Compact buttons */
    .slide-buttons {
        flex-direction: column;
        width: 75%;
        gap: 8px;
    }

    .slide-buttons .btn {
        padding: 12px 18px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }

    /* Hide prev/next arrows */
    .slider-btn {
        display: none;
    }

    /* Dots inside the slide area */
    .slider-dots {
        bottom: 14px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    /* ── About Section Simplification ── */
    .about-section {
        padding: 45px 0;
    }

    .about-grid {
        gap: 20px !important;
    }

    .about-arrow-shape {
        display: none;
    }

    .about-img-sub-wrapper {
        display: none;
    }

    .about-images {
        height: auto;
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    .about-img-main-wrapper {
        position: relative;
        width: 100%;
        height: 230px;
        border: 4px solid var(--white);
    }

    .about-title {
        font-size: 22px;
    }

    /* Hide secondary paragraphs — keep first only */
    .about-paragraph + .about-paragraph {
        display: none;
    }

    .about-paragraph {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .highlight-paragraph {
        display: none;
    }

    .about-features {
        flex-direction: column;
        gap: 10px;
    }

    .about-feature-item {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* ── Services Section Simplification ── */
    .services-section {
        padding: 45px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .services-title {
        font-size: 22px;
    }

    .services-desc-text {
        font-size: 13px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .svc-card {
        min-height: 200px;
    }

    .svc-text {
        display: none;
    }

    .svc-num {
        font-size: 40px;
    }

    .svc-title {
        font-size: 14px;
    }

    /* ── Why Choose Us Simplification ── */
    .why-choose-us-section {
        padding: 45px 0;
    }

    .why-title {
        font-size: 22px;
    }

    .why-desc-text {
        font-size: 13px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .why-stats-badge {
        display: none;
    }

    .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Hide cards 4, 5, 6 on mobile */
    .why-card-modern:nth-child(n+4) {
        display: none;
    }

    .why-card-modern {
        padding: 16px;
    }

    .why-card-modern h3 {
        font-size: 15px;
    }

    .why-card-modern p {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .why-card-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    /* ── Core Values Simplification ── */
    .core-values-section {
        padding: 45px 0;
    }

    .values-title {
        font-size: 22px;
    }

    /* Hide decorative background icons */
    .values-bg-element {
        display: none !important;
    }

    /* Hide image column */
    .core-values-right {
        display: none;
    }

    .core-value-row {
        margin-bottom: 10px;
    }

    .core-value-card {
        padding: 14px 16px;
    }

    .core-value-card h3 {
        font-size: 15px;
    }

    .core-value-card p {
        font-size: 12.5px;
    }

    .core-value-icon-box {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .core-value-hover-arrow {
        display: none !important;
    }

    /* ── Machinery Section Simplification ── */
    .machinery-section {
        padding: 45px 0;
    }

    .machinery-title {
        font-size: 22px;
    }

    .machinery-desc-text {
        font-size: 13px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .machinery-ticker {
        font-size: 13px;
        padding: 10px 0;
    }

    .machinery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .mach-card {
        min-height: 180px;
        border-radius: 8px;
    }

    .mach-card--wide {
        grid-column: span 2;
    }

    .mach-title {
        font-size: 12.5px;
    }

    .mach-text {
        display: none;
    }

    .mach-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .mach-body {
        padding: 14px 12px;
        gap: 6px;
    }

    /* Hide stats panel verbose text */
    .mach-stats-panel {
        grid-column: span 2;
        min-height: 200px;
    }

    .mach-stats-panel p {
        display: none;
    }

    .mach-stats-content h3 {
        font-size: 18px;
    }

    .mach-stats-row {
        gap: 12px;
    }

    .mach-stat-num {
        font-size: 20px;
    }

    .mach-stat-lbl {
        font-size: 10px;
    }

    .mach-stat-divider {
        height: 30px;
    }

    /* ── Quotation Section Simplification ── */
    .quotation-section {
        padding: 45px 0;
    }

    .help-title {
        font-size: 22px;
    }

    .help-subtitle {
        font-size: 12px;
    }

    /* ── Footer Simplification ── */
    .footer {
        padding: 45px 0 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 16px !important;
        text-align: center;
        padding-bottom: 30px;
    }

    .footer-col {
        align-items: center;
    }

    /* About (col 1) and Contact (col 4) span full width */
    .footer-col-about,
    .footer-col-contact,
    .footer-col:first-child,
    .footer-col:nth-child(4) {
        grid-column: span 2 !important;
    }

    /* Our Services (col 2) and Quick Links (col 3) in 2 columns side-by-side */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        grid-column: span 1 !important;
        text-align: left !important;
    }

    .footer-col:nth-child(2) .footer-header,
    .footer-col:nth-child(3) .footer-header {
        text-align: left !important;
    }

    .footer-header {
        margin-left: 0;
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-about-text {
        font-size: 13px;
        margin-bottom: 15px;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .footer-links li a {
        font-size: 13px;
    }

    /* Contact Us section into 2 columns on mobile view */
    .footer-contact-info {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        list-style: none !important;
        margin-top: 10px !important;
    }

    .footer-contact-info li {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        padding: 12px 8px !important;
        gap: 5px !important;
        font-size: 11.5px !important;
    }

    /* Address (1st item) spans 2 columns */
    .footer-contact-info li:first-child {
        grid-column: span 2 !important;
    }

    /* Hours (4th item) spans 2 columns */
    .footer-contact-info li:nth-child(4) {
        grid-column: span 2 !important;
    }

    .footer-contact-info li i {
        color: var(--primary-color) !important;
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .footer-contact-info li a,
    .footer-contact-info li span {
        color: rgba(255, 255, 255, 0.85) !important;
        word-break: break-word !important;
        line-height: 1.35 !important;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 18px 0;
        font-size: 12px;
    }

    .footer-bottom-links a {
        font-size: 12px;
    }

    /* ── Service Page Hero Simplification ── */
    .highway-hero,
    .road-hero,
    .bridge-hero,
    .civil-hero,
    .industrial-hero,
    .earthwork-hero,
    .pm-hero {
        height: 260px;
    }

    .highway-hero-title,
    .road-hero-title,
    .bridge-hero-title,
    .civil-hero-title,
    .industrial-hero-title,
    .earthwork-hero-title,
    .pm-hero-title {
        font-size: 24px;
    }

    .highway-hero-subtitle,
    .road-hero-subtitle,
    .bridge-hero-subtitle,
    .civil-hero-subtitle,
    .industrial-hero-subtitle,
    .earthwork-hero-subtitle,
    .pm-hero-subtitle {
        font-size: 13px;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .breadcrumbs {
        font-size: 11px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    /* ── Service Page Overview Simplification ── */
    .overview-lead {
        font-size: 14px;
    }

    /* Hide secondary overview paragraphs */
    .overview-p + .overview-p {
        display: none;
    }

    .overview-p {
        font-size: 13px;
    }

    .overview-highlights {
        flex-direction: column;
        gap: 10px;
    }

    .highlight-box-modern {
        padding: 12px 14px;
    }

    .highlight-num {
        font-size: 18px;
    }

    .highlight-label {
        font-size: 11px;
    }

    .main-img {
        height: 220px;
    }

    .experience-badge-modern {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 12px;
        width: 100%;
    }

    /* ── Service Page Cards Simplification ── */
    .services-grid-new,
    .machinery-grid-new {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .service-card-new,
    .machinery-card-new {
        padding: 22px 18px;
    }

    .service-card-new p,
    .machinery-card-new p {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-card-new h3,
    .machinery-card-new h3 {
        font-size: 15px;
    }

    .machinery-info h3 {
        font-size: 15px;
    }

    .machinery-info p {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ── Why Choose Section (Service pages) ── */
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .why-card {
        padding: 18px 16px;
    }

    /* Hide every other why card on mobile (show 3 of 6) */
    .why-card:nth-child(n+4) {
        display: none;
    }

    .why-card h3 {
        font-size: 15px;
    }

    .why-card p {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ── Timeline/Process Simplification ── */
    .timeline-container {
        padding-left: 0;
    }

    .timeline-line {
        left: 18px;
    }

    .timeline-block {
        padding-left: 50px;
        margin-bottom: 25px;
    }

    .timeline-number {
        left: 0;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .timeline-content-card {
        padding: 16px;
    }

    .timeline-content-card h3 {
        font-size: 16px;
    }

    .timeline-content-card p {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hide timeline feature lists on mobile */
    .timeline-features {
        display: none;
    }

    /* ── Capabilities Section Simplification ── */
    .capabilities-box {
        padding: 25px 16px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .capability-item {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* ── Additional Equipment Tags ── */
    .additional-equipment {
        padding: 20px 14px;
    }

    .equipment-tags {
        gap: 8px;
    }

    .eq-tag {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 8px 12px;
    }

    /* ── CTA Section ── */
    .cta-box {
        padding: 35px 20px;
    }

    .cta-box h2 {
        font-size: 22px;
    }

    .cta-box p {
        font-size: 13px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        font-size: 13px;
    }

    /* ── Commitment Section ── */
    .commitment-content-wrapper h2 {
        font-size: 22px;
    }

    .commitment-quote {
        font-size: 14px;
        line-height: 1.6;
    }

    .commitment-standards {
        gap: 10px;
    }

    .commitment-standards span {
        width: 100%;
        justify-content: center;
        font-size: 12px;
    }

    /* ── Section Padding Normalization ── */
    .highway-overview-section,
    .highway-services-section,
    .highway-process-section,
    .highway-why-section,
    .highway-capabilities-section,
    .highway-machinery-section,
    .highway-commitment-section,
    .highway-cta-section,
    .road-overview-section,
    .road-services-section,
    .road-process-section,
    .road-why-section,
    .road-capabilities-section,
    .road-machinery-section,
    .road-commitment-section,
    .road-cta-section,
    .bridge-overview-section,
    .bridge-services-section,
    .bridge-process-section,
    .bridge-why-section,
    .bridge-capabilities-section,
    .bridge-machinery-section,
    .bridge-commitment-section,
    .bridge-cta-section,
    .civil-overview-section,
    .civil-services-section,
    .civil-process-section,
    .civil-why-section,
    .civil-capabilities-section,
    .civil-machinery-section,
    .civil-commitment-section,
    .civil-cta-section,
    .industrial-overview-section,
    .industrial-services-section,
    .industrial-process-section,
    .industrial-why-section,
    .industrial-capabilities-section,
    .industrial-machinery-section,
    .industrial-commitment-section,
    .industrial-cta-section,
    .earthwork-overview-section,
    .earthwork-services-section,
    .earthwork-process-section,
    .earthwork-why-section,
    .earthwork-capabilities-section,
    .earthwork-machinery-section,
    .earthwork-commitment-section,
    .earthwork-cta-section,
    .pm-overview-section,
    .pm-services-section,
    .pm-process-section,
    .pm-why-section,
    .pm-capabilities-section,
    .pm-machinery-section,
    .pm-commitment-section,
    .pm-cta-section {
        padding: 45px 0;
    }

    /* ── About Page (Standalone Mobile Simplification) ── */
    .about-hero {
        height: 260px;
    }
    .about-hero-title {
        font-size: 24px;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .profile-img-side {
        display: none;
    }
    .profile-img-main {
        width: 100%;
        height: 250px;
        margin-bottom: 0;
    }
    .about-profile-content {
        text-align: center;
    }
    .profile-lead {
        font-size: 14.5px;
        border-left: none;
        padding-left: 0;
    }
    /* Hide secondary paragraphs - show only first */
    .profile-p:nth-of-type(n+2) {
        display: none;
    }
    .profile-highlights {
        display: none;
    }
    .jt-content {
        padding: 20px 16px;
    }
    .jt-content h3 {
        font-size: 15px;
    }
    .jt-content p {
        font-size: 12.5px;
    }
    .vm-center-img {
        display: none;
    }
    .vm-card {
        padding: 25px 20px;
    }
    .vm-quote {
        font-size: 13.5px;
    }
    .vm-tags {
        display: none;
    }
    .vm-mission-list li {
        font-size: 12.5px;
    }
    .values-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    /* Show only first 4 value cards to simplify mobile view */
    .value-card:nth-of-type(n+5) {
        display: none;
    }
    .values-feature-image {
        display: none;
    }
    .about-why-section .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    /* Show only first 4 why cards */
    .about-why-section .why-card-modern:nth-of-type(n+5) {
        display: none;
    }
    .commitment-inner {
        padding: 30px 20px;
    }
    .commitment-quote {
        font-size: 13.5px;
        line-height: 1.6;
    }
    .commitment-cta-btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .commitment-cta-btns a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .quick-contact-grid {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px;
    }
    .qc-left {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
    .qc-left h2 {
        font-size: 18px;
        text-align: center !important;
    }
    .qc-right {
        display: flex;
        justify-content: center !important;
        width: 100%;
    }
    .btn-qc {
        width: 75% !important;
        max-width: 260px;
        padding: 12px 20px !important;
        font-size: 13px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* ── Contact Page (Standalone Mobile Simplification) ── */
    .contact-hero {
        height: 260px;
    }
    .contact-hero-title {
        font-size: 24px;
    }
    .contact-card {
        padding: 20px;
        gap: 15px;
    }
    .contact-card-content h3 {
        font-size: 15px;
    }
    .contact-card-content p {
        font-size: 13px;
    }
    .contact-icon-box {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .contact-form-column {
        padding: 30px 20px;
    }
    .form-header h2 {
        font-size: 22px;
    }
    .form-header p {
        font-size: 12.5px;
    }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
    .map-section iframe {
        height: 250px;
    }
    .social-card {
        padding: 20px;
    }

    /* ── Projects Page (Standalone Mobile Simplification) ── */
    .projects-hero {
        height: 260px;
    }
    .projects-hero-title {
        font-size: 24px;
    }
    .projects-intro-section {
        padding: 40px 0;
    }
    .projects-intro-section .section-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 14px;
        text-align: left;
    }
    .projects-intro-section .section-subtitle {
        text-align: left;
    }
    .projects-intro-section .overview-lead {
        font-size: 13.5px;
        line-height: 1.6;
        border-left: 3px solid var(--primary-color);
        padding-left: 14px;
        margin-bottom: 14px;
        text-align: left;
    }
    .projects-intro-section .overview-p {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 10px;
    }
    .projects-intro-section .overview-p + .overview-p {
        display: none;
    }
    .intro-images {
        display: none !important;
    }
    .intro-sectors {
        display: block !important;
        margin-top: 20px;
    }
    .intro-sectors-title {
        font-size: 13px;
        margin-bottom: 10px;
        text-align: left;
    }
    .sector-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .sector-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
    .projects-portfolio-section {
        padding: 45px 0 15px;
    }
    .projects-portfolio-section .section-header-centered {
        margin-bottom: 25px;
    }
    .portfolio-group:last-child {
        margin-bottom: 0 !important;
    }
    .projects-why-section {
        padding: 45px 0;
    }
    .intro-img-stack {
        display: none;
    }
    .intro-badge {
        display: none;
    }
    .intro-sectors {
        display: none;
    }
    .filter-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 25px;
    }
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex: 0 0 auto;
    }
    .portfolio-group {
        margin-bottom: 35px;
    }
    .projects-subgroup {
        margin: 20px 0 15px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .project-card-img {
        height: 180px;
    }
    .project-card-body {
        padding: 16px;
    }
    .project-card-body .project-title {
        font-size: 16px;
    }
    .project-meta-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    /* Hide some meta items to keep card clean and simple on mobile */
    .project-meta-item:nth-of-type(n+3) {
        display: none;
    }
    .portfolio-group-header {
        text-align: center;
        margin-bottom: 25px;
    }
    .portfolio-group-header .group-title {
        font-size: 18px;
    }
    .portfolio-group-header .group-subtitle {
        font-size: 12.5px;
    }
    .projects-subgroup {
        margin-top: 15px;
    }
    .subgroup-label {
        font-size: 12.5px;
        padding: 8px 12px;
    }

    /* ── Machinery & Assets Page (Standalone Mobile Simplification) ── */
    .machinery-hero {
        height: 260px;
    }
    .machinery-hero-title {
        font-size: 24px;
    }
    .ma-intro-section {
        padding: 45px 0;
    }
    .ma-img-secondary {
        display: none;
    }
    .ma-img-main {
        width: 100%;
        height: 220px;
    }
    .ma-intro-badge {
        display: none;
    }
    .ma-intro-highlights {
        display: none;
    }
    .ma-category-section {
        padding: 45px 0;
    }
    .ma-category-header {
        margin-bottom: 30px;
    }
    .ma-category-label {
        font-size: 11px;
        padding: 6px 14px;
    }
    .ma-category-desc {
        font-size: 12.5px;
        line-height: 1.5;
    }
    .ma-equipment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ma-equipment-card {
        min-height: auto;
    }
    .ma-equipment-img {
        height: 160px;
    }
    /* Hide descriptions to keep grid clean on mobile */
    .ma-equipment-body p {
        display: none;
    }
    .ma-equipment-body {
        padding: 16px;
    }
    .ma-equipment-body h3 {
        font-size: 14.5px;
        margin-bottom: 8px;
    }
    .ma-equipment-icon {
        display: none;
    }
    .ma-equipment-tags {
        margin-top: 5px;
        gap: 6px;
    }
    .ma-equipment-tags span {
        font-size: 10.5px;
        padding: 4px 8px;
    }
    .ma-commitment-section {
        padding: 45px 0;
    }
    .ma-commitment-section h2 {
        font-size: 20px;
    }
    .ma-commitment-section p {
        font-size: 12.5px;
    }
    .ma-commitment-section .commitment-standards {
        flex-direction: column;
        gap: 10px;
    }
    .ma-commitment-section .commitment-standards span {
        width: 100%;
        justify-content: center;
    }
}