@media(max-width:768px) {
    .custom-slider-space {
        padding-top: 0;
    }

    .about-one__image__three {
        position: absolute;
        left: 80%;
        top: -145px;
    }

    .why-choose-one {
        padding-bottom: 60px;
    }

    .blog-card__content {
        min-height: 232px;
    }

    .offer-one__left {
        max-width: none;
    }

    .offer-one__content {
        padding-bottom: 40px;
    }

    .aboutus-image {
        display: none !important;
    }

    .number-texts {
        padding-top: 60px;
    }

    .page-header {
        padding-top: 131px;
        padding-bottom: 63px;
    }

    .contact-two__item {
        padding: 30px 12px;
    }

    .form-one .bootstrap-select>.dropdown-toggle,
    .form-one input[type=text],
    .form-one input[type=email],
    .form-one textarea {
        height: 40px;
    }

    .form-one textarea {
        height: 140px;
    }

}

@media(max-width:526px) {
    .about-one__image__three {
        display: none;
    }

    .main-slider-two__title {
        font-size: 28px;
        line-height: 1.3;
    }

    .main-slider-two__sub-title {
        font-size: 14px;
    }

    .main-slider-two__carousel .owl-dots {
        bottom: 0;
    }

    .main-slider-two__item {
        padding-bottom: 160px;
    }

    .work-process-one__item__title {
        font-size: 20px;
    }

    .why-choose-one__content {
        padding-bottom: 0;
    }

    .offer-one {
        padding-top: 50px;
    }

    .service-three {
        padding-top: 60px;
    }

    .service-two {
        padding-top: 40px;
    }

    .service-two__item {
        min-height: 350px;
    }

    .service-two {
        margin-top: 60px;
    }

    .bp-nested-dropdown>.bp-flyout.scrollable-menu {
        max-height: none !important;
    }

    .bp-nested-dropdown>.bp-flyout.scrollable-menu1 {
        max-height: none !important;
    }

    .product-spec-section .uses-box {
        margin-top: 20px;
    }

    .page-header__title {
        font-size: 22px;
    }
    .footer-widget {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    /* Target specifically the links inside the footer-widget--links-two container */
    .footer-widget--links-two .footer-widget__links {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Creates two equal columns */
        column-gap: 5px; /* Adds space between the left and right columns */
        row-gap: 10px; /* Adds vertical space between the links */
    }
    
    /* Optional: Ensure the list items don't have bottom margins that break the grid */
    .footer-widget--links-two .footer-widget__links li {
        padding-bottom: 0; 
    }

    /* Targets BOTH the Links menu and the Products menu */
    .footer-widget--links-two .footer-widget__links,
    .footerservice {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
        row-gap: 10px;
    }
    
    .footer-widget--links-two .footer-widget__links li,
    .footerservice li {
        padding-bottom: 0; 
    }

    .footer-widget__title{
        margin: 30px 0px;
    }

    .footer-widget__info{
        margin-bottom: 30px;
        margin-top: 0;
    }
}