.photo-section {
    width: 100%;
    display: flex;
    margin-top: 80px;
}

.photo-div {
    width: 70%;
    height: 600px;
    display: flex;
    flex-direction: column;
    padding: 0 70px;
    justify-content: space-between;
    position: relative;
}

    .photo-div .bg-div {
        height: 100%;
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

        .photo-div .bg-div .bg-1 {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.heading-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
    z-index: 2;
}

    .heading-texts > p {
        font-size: 20px;
        font-weight: 700;
        color: whitesmoke;
        margin: 0;
    }

        .heading-texts > p::after {
            content: "";
            display: inline-block;
            height: 7px;
            width: 7px;
            background-color: #FF3C31;
            margin-left: 0px;
        }

.subheading-cnt {
    display: flex;
    flex-direction: column;
    width: 550px;
}

    .subheading-cnt > h1 {
        font-size: 60px;
        font-weight: 700;
        color: whitesmoke;
    }

.apply-loan-cnt {
    padding-bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.apply-btn {
    background-color: #4f9fa6;
    width: 337px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: whitesmoke;
}

    .apply-btn:hover, .apply-btn:focus, .apply-btn:active {
        background-color: #377C82;
        color: #FFFFFF;
    }

.text-div {
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 600px;
}

    .text-div > a:nth-child(2) {
        background-color: #2f4d43;
    }

.text-parent {
    background-color: #1d5e4b;
    width: 100%;
    height: 100%;
}

    .text-parent > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: flex-start;
        padding-left: 30px;
        gap: 2px;
    }

        .text-parent > div > div {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

            .text-parent > div > div > h2:nth-child(1) {
                font-size: 30px;
                font-weight: 700;
                color: #FFFFFF;
                margin: 0;
            }

            .text-parent > div > div > p {
                font-size: 20px;
                font-weight: 600;
                line-height: 28px;
                color: #FFFFFF;
                margin: 0;
                width: 320px;
            }

        .text-parent > div .text-btn {
            display: flex;
            width: 190px;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            align-self: flex-end;
            background-color: transparent;
            border: none;
            margin-top: 45px;
            /* padding-top: 45px; */
        }

            .text-parent > div .text-btn > span {
                font-size: 18px;
                font-weight: 400;
                color: whitesmoke;
            }

.chevron {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .chevron > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

@media only screen and (min-width:992px) and (max-width:1180px) {
    .text-div {
        width: 100%;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .text-div {
        width: 100%;
    }

    .photo-div {
        width: auto;
        padding: 0 30px;
    }

    .subheading-cnt {
        width: 100%;
    }

        .subheading-cnt > h1 {
            font-size: 42px;
        }
}

@media only screen and (max-width:767px) {
    .text-div {
        width: 100%;
        height: 100%;
    }

    .photo-div {
        padding: 0 10px;
    }

    .subheading-cnt {
        width: 100%;
    }

        .subheading-cnt > h1 {
            font-size: 36px;
        }

    .text-parent > div {
        width: 100%;
        padding-left: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
    }

        .text-parent > div > div {
            width: 75%;
        }

        .text-parent > div .text-btn {
            justify-content: center;
            width: 50px;
            align-self: center;
            margin-top: 0;
        }

    .chevron {
        width: 35px;
        height: 35px;
    }

    .text-parent > div > div > h2:nth-child(1) {
        font-size: 25px;
    }

    .text-parent > div > div > p {
        font-size: 13px;
        width: 100%;
    }

    .md-chevron {
        display: none;
    }

    .photo-section {
        flex-direction: column;
    }

    .photo-div {
        width: 100%;
        height: 400px;
        align-items: center;
    }

    .text-parent {
        padding: 20px 0 20px 0;
    }

    .text-parent2 {
        padding-bottom: 27px !important;
    }

    .heading-texts {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        gap: 20px;
    }

    .apply-btn {
        width: 100%;
    }

    .apply-loan-cnt {
        padding-bottom: 56px;
    }
}
