@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-top .navbar .logo {
        max-width: 200px;
    }

    .banner-image {
        height: calc(100vh - 91px);
    }

    .banner-section {
        padding-top: 91px;
    }

    .services-section {
        margin-top: 91px;
    }

    .product-card,
    .service-card {
        width: calc((100%/4) - 24px);
        height: 220px;
    }

    .service-content-wrapper .tuffa-card-wrapper .product-card {
        width: calc(25% - 24px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .service-card,
    .product-card {
        width: calc((100% - 72px)/3);
    }

    .service-card {
        height: 250px;
    }

    .product-card {
        height: 220px;
    }

    .service-content-wrapper img:not(.gallery-item img):not(.tuffa-onesource-logo img) {
        max-width: 65%;
    }

    .service-content-wrapper .tuffa-card-wrapper .product-card {
        width: calc((100%/3) - 24px);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .service-card,
    .product-card {
        width: calc((100% - 48px)/2);
    }

    .service-card {
        height: 270px;
    }

    .product-card {
        height: 240px;
    }

    .service-content-wrapper img:not(.gallery-item img):not(.tuffa-onesource-logo img) {
        max-width: 70%;
    }

    .service-content-wrapper .tuffa-card-wrapper .product-card {
        width: calc(50% - 24px);
    }

    .gallery-wrapper .gallery-item {
        width: calc((100%/2) - 8px);
    }
}

@media (max-width: 1199.98px) {
    .service-card-list,
    .product-card-list {
        width: calc(100% + 24px);
        gap: 24px;
    }
}

@media (max-width: 991.98px) {
    .navbar-top .navbar .logo {
        max-width: 160px;
    }

    .navbar-top .navbar .navbar-nav .nav-link {
        padding: 12px 24px;
    }

    .banner-image {
        height: unset;
    }

    .banner-section {
        padding-top: 77px;
    }

    .services-section {
        margin-top: 77px;
    }

    .banner-section h2 {
        font-size: 36px;
        line-height: 48px;
        bottom: 32px;
    }

    .about-wrapper,
    .services-wrapper,
    .contact-wrapper,
    .client-list-wrapper {
        padding: 90px 12px;
    }

    .content-wrapper p,
    .service-content-wrapper ul li,
    .service-content-wrapper h6 {
        font-size: 20px;
        line-height: 28px;
    }

    .content-wrapper h5 {
        font-size: 40px;
        line-height: 48px;
    }

    .about-wrapper h5 {
        margin-bottom: 24px;
    }

    .about-wrapper img {
        margin-top: 24px;
    }

    .services-wrapper h5 {
        margin-bottom: 56px;
    }

    .service-card h6,
    .product-card h6 {
        font-size: 16px;
        line-height: 22px;
        height: 80px;
    }

    .contact-input-section h5 {
        position: absolute;
        top: 0;
    }
    
    .contact-number-details {
        height: auto;
        margin: 80px 0 40px;
        padding: 48px 64px;
    }

    .content-wrapper h4 {
        font-size: 42px;
        line-height: 50px;
        margin-bottom: 24px;
    }

    .modification-service-banner,
    .rig-stacking-banner {
        margin-bottom: 8px;
    }

    .service-content-wrapper img:not(.gallery-item img):not(.tuffa-onesource-logo img) {
        margin: 0 auto 24px;
        display: block;
    }

    .service-content-wrapper,
    .product-wrapper {
        padding: 48px 12px;
    }

    .about-wrapper p:not(:last-child) {
        margin-bottom: 16px;
    }

    .content-wrapper .contact-number-details p {
        font-size: 30px;
        line-height: 38px;
        max-width: unset;
    }

    .modification-service h6::before,
    .service-content-wrapper ul li::before {
        top: 10px;
    }

    .navbar-top .navbar-nav .dropdown-menu li .dropdown-item {
        border-bottom: 1px solid #e8e8e8;
    }

    .navbar-top .navbar-nav .dropdown-menu li:first-child .dropdown-item {
        border-top: 1px solid #e8e8e8;
    }

    .gallery-wrapper .gallery-item img {
        height: 200px;
    }

    .tuffa-onesource-logo img {
        max-width: 170px !important;
    }
}

@media (max-width: 767.98px) {
    .tuffa-onesource-logo {
        column-gap: 20px;
    }

    .tuffa-onesource-logo img {
        max-width: 130px !important;
    }
}

@media (max-width: 575.98px) {
    .service-card,
    .product-card,
    .service-card-list,
    .product-card-list {
        width: 100%;
    }

    .banner-section h2 {
        font-size: 24px;
        line-height: 36px;
        bottom: 8px;
        padding-left: 12px;
    }

    .navbar-top .navbar .logo {
        max-width: 125px;
    }

    .banner-section {
        padding-top: 65px;
    }

    .services-section {
        margin-top: 65px;
    }

    .about-wrapper,
    .services-wrapper,
    .contact-wrapper,
    .client-list-wrapper {
        padding: 64px 12px;
    }

    .content-wrapper p,
    .service-content-wrapper ul li,
    .service-content-wrapper h6 {
        font-size: 18px;
        line-height: 26px;
    }

    .content-wrapper p,
    .about-wrapper p:not(:last-child) {
        margin-bottom: 8px;
    }

    .about-wrapper img {
        margin-top: 16px;
    }

    .footer-wrapper p {
        font-size: 16px;
        line-height: 22px;
    }

    .content-wrapper h5 {
        font-size: 26px;
        line-height: 34px;
        width: fit-content;
        width: -moz-fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .content-wrapper h5::after {
        height: 4px;
        bottom: -3px;
    }

    .about-wrapper h5 {
        margin-bottom: 18px;
    }

    .services-wrapper h5 {
        margin-bottom: 28px;
    }

    .service-card h6,
    .product-card h6 {
        font-size: 14px;
        line-height: 22px;
        padding: 16px 24px;
    }

    .service-card-list,
    .product-card-list {
        padding: 0 16px;
    }

    .contact-input-section h5 {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-number-details {
        margin: 54px 0 24px;
        padding: 32px 24px;
    }

    .content-wrapper .contact-number-details p {
        font-size: 16px;
        line-height: 22px;
    }

    .input-wrapper input,
    .input-wrapper textarea,
    .contact-wrapper button {
        font-size: 16px;
        line-height: 24px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 12px 16px;
    }

    .input-wrapper {
        margin-bottom: 24px;
    }
    
    .content-wrapper h4 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 20px;
        text-align: center;
    }

    .service-content-wrapper img:not(.gallery-item img):not(.tuffa-onesource-logo img) {
        margin: 0 auto 22px;
        max-width: 100%;
    }

    .modification-service .details:not(:last-child),
    .service-content-wrapper ul {
        margin-bottom: 8px;
    }

    .service-content-wrapper h6,
    .service-content-wrapper ul li:not(:last-child) {
        margin-bottom: 4px;
    }

    .modification-service h6::before,
    .service-content-wrapper ul li::before {
        top: 9px;
    }

    .modification-service h6::before {
        left: -22px;
    }

    .modification-service {
        padding-left: 24px;
    }

    .service-content-wrapper,
    .product-wrapper {
        padding: 32px 12px;
    }

    .modification-service-banner,
    .rig-stacking-banner {
        margin-bottom: 0px;
    }

    .navbar-top .navbar-nav .dropdown-menu .dropdown-item {
        white-space: normal;
    }

    .service-content-wrapper .tuffa-card-wrapper .product-card {
        width: 100%;
    }

    .tuffa-product-list {
        padding: 32px 0;
    }

    .logo-wrapper {
        margin-top: 20px;
    }

    .gallery-wrapper .gallery-item {
        width: 100%;
    }

    .header-wrapper,
    .header-wrapper h4 {
        margin-bottom: 16px;
    }

    .header-wrapper {
        display: block;
    }

    .tuffa-onesource-logo {
        justify-content: center;
    }

    .service-card-list, 
    .product-card-list {
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .service-content-wrapper .onesource-banner {
        width: 100%;
        object-fit: cover;
        max-height: 330px;
    }
}

@media (min-width: 992px) {
    .navbar-top .navbar .navbar-nav .nav-link::before {
        content: '';
        width: calc(100% - 64px);
        height: 4px;
        position: absolute;
        background: transparent;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        transition: 0.15s ease-in-out;
    }
    
    .navbar-top .navbar .navbar-nav .nav-link.active::before,
    .navbar-top .navbar .navbar-nav .nav-link:hover::before {
        background: #ED3237;
    }

    .contact-input-section,
    .service-details {
        padding-left: 40px;
    }

    .navbar-top .navbar-nav .dropdown-menu {
        top: 42px;
        right: 0;
        transform: translateX(-56%);
        box-shadow: 3px 3px 15px 0px #00000040;
        width: 345px;
    }
}