@media screen and (max-width: 992px) {
    .container {
        width: min(95%, 90rem);
    }

    section {
        padding: 3rem 0;
    }

    .links {
        justify-content: space-between;
    }

    .links li {
        margin: 0 8px;
    }
}

@media screen and (max-width: 838px) {
    .contact-btn {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .whatsappIcon {
        border-radius: 17px;
        padding: 4px 15px;
        font-size: 25px;
    }

    .whatsappIcon i {
        font-size: 20px;
    }

    .container {
        width: min(95%, 95rem);
    }

    .navbar {
        display: flex;
        align-items: center;
    }

    .navbar .logo {
        width: 70px;
    }

    .navbar .navIcon {
        position: absolute;
        right: 25px;
        top: 35px;
        font-size: 28px;
        cursor: pointer;
        color: var(--primary-color);
        z-index: 7;
    }

    .navbar .bars {
        display: block;
    }

    .navbar .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;


        background-color: rgb(232, 246, 246);
        position: fixed;
        top: -1000px;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 6;

        transition: all 0.2s ease;
    }

    .navbar .links.show {
        top: 0;
    }

    .links .link {
        margin-bottom: 50px;
        font-size: 26px;
    }

    .links .contact-btn {
        display: none;
    }


    .about .types-grid {
        grid-template-columns: repeat(2, 48%);
    }



    .about-company .about-split {
        justify-content: space-between;
        flex-direction: column;
        gap: 20px;
    }

    .about-company .aboutcontent {
        width: 100%;
    }

    .about-company .aboutImage {
        width: 80%;
    }

    .about-split.contact {
        flex-direction: column-reverse;
    }

    .products .products-grid {
        grid-template-columns: repeat(2, 48%);
        justify-content: space-between;
        grid-row-gap: 35px;
    }


    .custom-modal {
        width: 75%;
        height: auto;
    }

    .custom-modal.show {
        top: 5%;
    }

    .custom-modal .image {
        text-align: center;
    }

    .custom-modal .image,
    .custom-modal .info {
        width: 100%;
    }

    .custom-modal .split {
        flex-direction: column;
    }
}

@media screen and (max-width: 550px) {
    .button-custom-outline {
        border: 1.5px solid var(--primary-color);
        padding: 12px 20px;
        font-size: 15px;
        min-width: 147px;
    }

    .heading {
        /* font-family: 'Lato', sans-serif; */
        font-family: 'Alata', sans-serif;
        margin-bottom: 12px;
        font-size: 2rem;
    }

    .subheading {
        font-family: 'Lato', sans-serif;
        margin-bottom: 7px;
        font-size: 1.6rem;
    }

    .paragraph {
        color: var(--dark-color);
        font-size: 14px;
    }


    .whatsappIcon .chat-hover {
        font-size: 13px;
    }

    .whatsappIcon {
        padding: 10px;
    }



    .attributes .attributes-split {
        flex-direction: column;
        gap: 25px;
    }

    .attributes-split .att-card {
        padding: 45px 30px;
        min-height: 250px;
        width: 100%;
    }

    .attributes-split .att-card:nth-child(2) {
        min-height: 250px;
    }

    .whatsappIcon {
        padding: 15px;
        bottom: 20px;
        right: 20px;
        font-size: 2rem;
    }

    .hero .hero-heading {
        font-size: 2.7rem;
        padding: 0 25px;
    }

    .hero .hero-subheading {
        font-size: 1.7rem;
        padding: 5px 25px;
    }

    .product-item .image {
        height: 200px;
    }

    .team .member .image {
        max-height: 350px;
    }

    .custom-modal {
        width: 90%;
        height: auto;
    }

    .custom-modal .closeModal {
        padding: 8px;
        background-color: #fff;
        border-radius: 50%;
    }

    .product-item .name {
        font-size: 16px;
    }

    .product-item .image .product-id {
        min-width: 62px;
        height: 23px;
        font-size: 13px;
    }
}

@media screen and (max-width: 450px) {

    .about .aboutPara {
        padding: 0 5px !important;
    }
}