/*Hero section two*/

.hero-section-two {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17rem 0 5.6rem 0;
}

.hero-section-two .aboutus-herosection {
    width: 90%;
    max-width: 1600px;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section-two .aboutus-herosection__title {
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    font-family: Josefin Sans, sans-serif;
    font-size: 5.2rem;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 5.8rem;
}

.hero-section-two .aboutus-herosection__title #underline {
    width: 30%;
}

.hero-section-two .aboutus-herosection__sub-title {
    width: 65%;
    color: #2c2c2c;
    font-family: Lato, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 12rem;
}

.hero-section-two .aboutus-herosection__image {
    width: 100%;
    border-radius: 3rem;
}

@media only screen and (min-width: 800px) and (max-width: 900px) {
    .hero-section-two .aboutus-herosection__title {
        width: 70%;
    }

    .hero-section-two .aboutus-herosection__sub-title {
        width: 80%;
    }
}

@media only screen and (min-width: 700px) and (max-width: 800px) {
    .hero-section-two .aboutus-herosection__title {
        width: 80%;
    }

    .hero-section-two .aboutus-herosection__sub-title {
        width: 90%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 700px) {
    .hero-section-two .aboutus-herosection__title {
        width: 90%;
    }

    .hero-section-two .aboutus-herosection__sub-title {
        width: 90%;
    }
}

@media only screen and (min-width: 500px) and (max-width: 600px) {
    .hero-section-two .aboutus-herosection__title {
        width: 100%;
        font-size: 4.4rem;
    }

    .hero-section-two .aboutus-herosection__sub-title {
        width: 100%;
        font-size: 2.2rem;
    }
}

@media only screen and (min-width: 320px) and (max-width: 800px) {
    .hero-section-two .aboutus-herosection__title {
        width: 100%;
        font-size: 3.4rem;
    }

    .hero-section-two .aboutus-herosection__sub-title {
        width: 100%;
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .hero-section-two .aboutus-herosection__image {
        height: 30rem;
        object-fit: cover;
    }
}

/*End of hero section two*/