/*==============================================
================================================

[Main Stylesheet]

Project:    AlluraCMS
Version:    1.0
Created At:     23-07-2024
Developer:    NotionDev

================================================
================================================*/

.hero-section{
    position: relative;
    background-color: rgb(255 255 255);
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-heading{
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.208 !important;
    color: rgb(17 25 40);
    font-size: 2.25rem;
    line-height: 2.5rem;

}
.hero-text p{
    margin-bottom: 2rem;
    max-width: 480px;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(99 115 129);
}

.contact-us{
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    text-align: center;
    color: rgb(255 255 255);
    background-color: #6A0D91;
}
.read-more{
    justify-content: center;
    align-items: center;
    display: inline-flex;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
    color: rgb(70 70 70);
}
.read-more span i{
    color: #6A0D91;
}
.read-more:hover{
    color: #6A0D91;
}

.hero-image-wrapper{
    margin-left: auto;
    text-align: right;
}

.hero-image{
    position: relative;
    z-index: 10;
    display: inline-block;
    padding-top: 2.75rem;
    max-width: 491px;
    width: 100%;
}
.hero-image div{
    border-radius: 0.5rem;
    border-top-left-radius: 4rem;
    background-size : cover;
    background-position:center;
    background-repeat: no-repeat;
    padding-top: calc(515 / 491 * 100%); /* This sets the height based on the aspect ratio */
    position: relative;
}
.hero-image span{
    z-index: -1;
    left: -2rem;
    bottom: -2rem;
    position: absolute;
}
@media (min-width: 1140px) {
    .hero-heading {
        font-size: 3rem;
        line-height: 1;
    }
}


@media (min-width: 960px) {
    .hero-heading {
        font-size: 40px;
    }
    .contact-us {
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
    }

}
@media (min-width: 640px) {
    .hero-heading {
        font-size: 42px;
    }
}

@media (min-width: 540px) {
    .hero-heading{
        font-size: 42px;
    }
}

