@media (max-width: 991px) {
    /* Header Adjustments */
    .site-header {
        padding: 0 15px !important;
    }
    
    .site-header .row {
        min-height: 80px !important;
    }

    .nav-wrap {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
    }

    /* Premium Menu Toggle */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        border-radius: 4px;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid #eee;
    }
    
    .menu-toggle:hover {
        background: #f29117;
        color: #fff;
        border-color: #f29117;
    }

    /* Mobile Navigation Container */
    .main-nav {
        display: none !important; /* Hidden by default */
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 2px solid #f29117;
    }

    .main-nav.open {
        display: flex !important;
    }

    /* Nav Items */
    .main-nav li {
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid #f1f1f1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-nav li a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #333 !important;
        width: 100% !important;
        height: auto !important;
        transition: all 0.2s ease;
    }

    .main-nav li a.nav-active {
        color: #f29117 !important;
        background: #fff9f2;
    }

    .main-nav li a.nav-active::before {
        display: none !important; /* Hide desktop underline */
    }

    .main-nav li a i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .main-nav li.open > a i {
        transform: rotate(180deg);
    }

    /* Sub-Navigation (Accordion Style) */
    .category-sub-nav, 
    .about-sub-nav, 
    .care-sub-nav, 
    .download-sub-nav {
        position: static !important;
        display: none !important; /* Managed by .open class */
        width: 100% !important;
        background: #fdfdfd !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        pointer-events: auto !important;
    }

    .main-nav li.open > .category-sub-nav,
    .main-nav li.open > .about-sub-nav,
    .main-nav li.open > .care-sub-nav,
    .main-nav li.open > .download-sub-nav {
        display: block !important;
    }

    .sub-nav-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 10px 0 !important;
        align-items: flex-start !important;
        background: #f9f9f9 !important;
        position: static !important; /* Reset inline absolute positioning */
        left: auto !important;
        top: auto !important;
    }

    .sub-nav-list li {
        border-bottom: 1px solid #efefef !important;
        width: 100% !important;
    }

    .sub-nav-list li:last-child {
        border-bottom: none !important;
    }

    .sub-nav-list li a {
        padding: 12px 40px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #666 !important;
        background: transparent !important;
        justify-content: flex-start !important;
    }

    .sub-nav-list li a.sub-nav-active {
        color: #f29117 !important;
        font-weight: 600 !important;
    }

    /* Nav Actions Section */
    .nav-actions {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        margin-top: auto !important; 
        background: #fff !important;
        border-top: 1px solid #eee !important;
    }

    .nav-search,
    .nav-contact {
        flex: 1 !important;
        height: 70px !important;
        width: 50% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        border-radius: 0 !important;
        padding: 10px !important;
    }

    .nav-search,
    .nav-contact.active {
        background: #f29117 !important;
        color: #fff !important;
    }

    .nav-contact {
        background: #000 !important;
        color: #fff !important;
    }

    .nav-search .search-icon,
    .nav-contact .search-icon {
        font-size: 16px !important;
    }

    .nav-search .search-text,
    .nav-contact .search-text {
        display: inline-block !important;
    }
    .main-nav {
        gap: 0;
    }
    .nav-search, .nav-contact{
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
    }
    .top-bar-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-height: 53px;
        flex-direction: column;
    }
    .hero-btn-group {
        display: flex;
        gap: 4px;
        flex-direction: column;
        justify-content: space-between;
    }
    .hero-controller {
        bottom: 50px;
    }
    .section-title::after {
        content: '';
        position: absolute;
        left: 27%;
    }
    .stat-icon {
        top: 2px !important;
        left: 70% !important;
    }
    .pillar-content p {
        margin-bottom: 0px;
    }
        .video-related-section {
        padding: 0px;
    }
    .application-section {
        padding: 25px 0 25px;
    }
    .project-section {
        padding: 25px 0;
    }
    .project-filter ul {
        gap: 0;
    }
    .project-pagination {
        flex-direction: row;
        gap: 20px;
    }
    .application_header {
        display: flex;
        flex-direction: column;
    }
    .application_header .section-title::after {
        content: '';
        position: absolute;
        left: 5%;
    }
    .brand-stats {
        margin-top: 10px;
        padding: 20px;
    }
    span.brand-tag {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .value-card {
        padding: 20px;
        margin-bottom: 0px;
    }
    .inner-banner {
        height: auto;
        min-height: 30vh;
        padding: 10px 0;
    }
    .inner-banner-content {
        position: relative;
        top: 8px;
    }
    .banner-title {
        font-size: 24px;
    }
    .category-page-products {
        display: flex;
        flex-direction: column;
    }
    .category-page-products .section-title::after {
        content: '';
        position: absolute;
        left: 0%;
    }
    .product-actions {
        display: block;
        width: 100%;
    }
    .product-price {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
        width: 100%;
    }
    .product-price span.h4 {
        margin-bottom: 0;
        font-size: 22px;
    }
    .product-actions > .btn-dark,
    .product-actions > a.btn-dark {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    .product-query-btns {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 5px !important;
    }
    .product-query-btns .btn,
    .product-query-btns .btn-add-to-query,
    .product-query-btns .btn-my-queries {
        flex: 1 1 50% !important;
        width: 50% !important;
        min-width: 0 !important;
        max-width: calc(50% - 4px) !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 6px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        text-align: center !important;
        line-height: 1.2 !important;
        border-radius: 8px !important;
        letter-spacing: normal !important;
    }
    .product-query-btns .btn i {
        font-size: 13px;
        margin-right: 4px !important;
    }
    .product-section-padding {
        padding: 15px 0;
        background: #fff;
    }
    .RelatedProductsHeading {
        justify-content: center !important;
    }
    .app-tabs {
        display: inline-flex;
        gap: 6px;
        padding: 5px 2px;
        border: none;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .app-tabs .nav-link {
        padding: 5px 10px;
        font-size: 12px;
    }
    .policy-content p {
        overflow-x: clip;
    }
    .related-video-list {
        max-height: 36vh;
        overflow-y: scroll;
        margin-bottom: 16px;
    }

    /* Product Downloads Section */
    .downloads-section {
        padding: 20px 0;
    }
    .download-row {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 15px !important;
        margin-bottom: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        align-items: flex-start !important;
    }
    .download-row > div {
        margin-bottom: 10px;
        width: 100%;
    }
    .download-row > div:last-child {
        margin-bottom: 0;
    }
    .download-row .col-md-4 span {
        font-weight: 700;
        font-size: 16px;
        color: #222;
        display: block;
        margin-bottom: 4px;
    }
    .download-row .col-md-3, 
    .download-row .col-md-2 {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #555;
    }
    .download-row .col-md-2:nth-child(3)::before {
        content: 'Size:';
        font-weight: 600;
        margin-right: 8px;
        color: #333;
    }
    .download-row .col-md-2:nth-child(4)::before {
        content: 'Date:';
        font-weight: 600;
        margin-right: 8px;
        color: #333;
    }
    .download-row .col-md-1 {
        border-top: 1px dashed #e5e5e5;
        padding-top: 15px;
        margin-top: 5px;
    }
    .download-row .d-flex.justify-content-center {
        justify-content: flex-start !important;
        gap: 15px !important;
    }
    .download-row .download-btn {
        flex: 1;
        text-align: center;
        background: #f8f9fa;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #eee;
        color: #333;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    .download-row .download-btn:hover {
        background: #f29117;
        color: #fff;
        border-color: #f29117;
    }
    .download-row .download-btn[title="View"]::after {
        content: ' View';
        margin-left: 6px;
        font-size: 14px;
        font-weight: 500;
    }
    .download-row .download-btn[title="Download"]::after {
        content: ' Download';
        margin-left: 6px;
        font-size: 14px;
        font-weight: 500;
    }

    /* Care Page Adjustments */
    .contact-box, 
    .stepper-container {
        padding: 25px 20px !important;
    }
    .office-details {
        padding: 25px 20px !important;
    }
    .section-title {
        font-size: 32px !important;
    }
    .office-details h4 {
        font-size: 24px !important;
    }
    .contact-info .icon-circle {
        margin-right: 15px !important;
    }
    
    /* Care Header/Stepper */
    .step-point {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    .step-label {
        font-size: 12px !important;
        line-height: 1.2 !important;
        padding: 0 2px !important;
        white-space: normal !important;
    }
    .step-header::before {
        top: 20px !important;
        left: 10% !important;
        right: 10% !important;
    }
    
    .location-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px;
        margin-bottom: 30px !important;
    }
    .location-tabs .nav-link {
        padding: 8px 15px !important;
        font-size: 14px !important;
    }
    
    /* Fix form inputs cutting off on right side */
    .stepper-container .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .stepper-container .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .stepper-container form {
        width: 100%;
        overflow-x: hidden;
    }
    .form-floating > .form-control {
        max-width: 100%;
    }
    
    /* Fix long email addresses overflowing */
    .contact-info a,
    .contact-info p,
    .office-info li span,
    .office-address {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Help Section CTA Mobile Center */
    .help-section .help-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    .help-section .help-content h2,
    .help-section .help-content .section-title {
        text-align: center !important;
        width: 100% !important;
    }
    .help-section .contact-btn {
        margin: 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
    }

    /* Related Products Section Top Single Row */
    .related-products .section-top,
    .section-top {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
    .related-products .slider-nav,
    .slider-nav {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .related-products .slider-nav button,
    .slider-nav button {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
    }
}
