@media screen and (width <=1039px) {

    section {
        padding: 100px 30px;
    }

    nav {
        padding: 0px 30px;
    }

    footer {
        padding: 50px 30px;
    }

}

@media screen and (width>850px) {




    .mobile-menu {
        display: none;
    }

}

@media screen and (width<=850px) {
    .hero-banner-section {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hero-banner-left {
        order: 2;
        /* margin-top: 1rem; */
        max-width: 100%;
    }

    .hero-banner-left h1,
    .hero-banner-left p {
        text-align: center;
    }


    .hero-banner-left h1 {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .hero-banner-left .btn-cta {
        margin: auto;
    }

    .hero-banner-right {
        width: 80%;
        height: 100%;

    }

    .hero-banner-right img {
        width: 100%;

        transform: translate(0%, -170px);
        animation: hero-anim-mobile 1s forwards;

    }

    .hero-banner-right:nth-child(1),
    .hero-banner-right:nth-child(2) {
        left: 50%;
        transform: translateX(-50%);
    }


    .desktop-menu {
        display: none;

    }

    .mobile-menu {
        position: relative;
        height: 100%;
        top: 50%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transform: translateY(-50%);
    }

    .modal-mobile-menu {
        position: absolute;
        top: 120px;
        left: 0;
        transform: translateX(-140%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        background-color: var(--White);

        width: 100%;
        padding: 3rem;
        list-style-type: none;
        border-radius: 5px;
        font-weight: var(--Weights-700);
        z-index: -10;
        transition: transform 0.3s linear;
    }


    .modal-mobile-menu.active-mobile-menu {
        transform: translateX(0)
    }

    .mobile-menu .modal-mobile-menu a {
        text-decoration: none;
        color: var(--Blue-950);
    }

    .hamburger-icon {
        background-color: transparent;
        border: none;
        outline: none;
        cursor: pointer;
    }

    .hamburger-icon img {
        width: 26px;
    }
}


@media screen and (width <=739px) {

    .why-choose-section h2,
    .why-choose-section>p {
        text-align: center;
    }



    .why-choose-card img {
        display: block;
        margin: auto;
    }

    .why-choose-card h3,
    .why-choose-card p {
        text-align: center;
    }

    .article-section h2 {
        text-align: center;
    }
}


/* RESPONSIVE PHONE MARGIN */

@media screen and (width <=788px) {
    .hero-banner-right img {
        transform: translateY(-130px);
    }

}

@media screen and (width <=720px) {
    .hero-banner-right img {
        transform: translateY(-100px);
    }

}

@media screen and (width <=620px) {
    .hero-banner-right img {
        transform: translateY(-60px);
    }

}

@media screen and (width <=560px) {
    .hero-banner-right img {
        transform: translateY(-20px);
    }

}

@media screen and (width <=500px) {
    .hero-banner-right img {
        transform: translateY(13px);
    }

}

@media screen and (width <=420px) {
    .hero-banner-right img {
        transform: translateY(30px);
    }

}

@media screen and (width <=376px) {



    .hero-banner-right img {
        width: 100%;
        transform: translateY(30px);
    }


}

/* FOOTER */

@media screen and (width <=850px) {

    footer,
    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-left {
        gap: 0;
    }


    .footer-left-first {
        gap: 40px;
        margin-bottom: 18px;
    }

    .links-1,
    .links-2 {
        margin-top: 22px;
        text-align: center;
    }

    .links-2 {
        margin-bottom: 40px;
    }

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