.branches_hero_wrapper{
    background-color: #F9F9F9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.branches_hero{
    justify-content: center;
    align-items: center;
}

.branches_hero_content{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.branches_hero_content p{
    width: 85%;
}
.branch_listing_head{
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.branch_listing_title,.branch_listing_content{
    text-align: center;
}
.branch_listing_content{
    width: 50%;
    margin-bottom: 2rem;
}

.branch_listing{
    margin-top: 2rem;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
    column-gap: 2rem;
    margin-bottom: 5rem;
}


.branch-detail_hero_wrapper{
    margin-top: var(--header-height);
    width: 100%;
    /* height: 100vh; */
    background-color: #F9F9F9;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;

}


.bdetail_img{
    position: absolute;
    left: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.branch-detail_hero{
    justify-content: center;
    align-items: center;
}
.branch-detail_dummy{
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.branch-detail_hero_content{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 6rem 0;
}
.branch-detail_hero_content p{
    width: 100%;
}

.branch-detail_hero_content ul {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.branch-detail_hero_content a {
    color: rgba(0, 0, 0, 1);
    word-break: break-all;
}

.avble_studies{
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    
}

.avble_studies .section_title{
    text-align: center;
}
.avble_studies .content_description{
    width: 50%;
    text-align: center;
}

.study_container{
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);;
    gap: 1.5rem;
}

.study_container .mason_card{
    background-color: #f0f0f0;;
}

.contact_form_ori{
    border-radius: 10px;
    padding: 2.5rem;
    background-color: rgba(249, 249, 249, 1);
}
.contact_form_ori input{
    background-color: white;
    border-radius: 6px;
}
.contact_form_ori textarea{
    background-color: white;
    border-radius: 6px;
}

.enquire{
    margin-top: 5rem;
    position: relative;
}

.enquire_content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding: 0 4rem;
}
.branches_detail_hero_gallery{
    display: none;
    width: 90%;
}

.enquire_content h1{
    color: #FFFFFF;
}
.enquire_content p{
    color: #F9F9F9;
}
.enquire_form{
    width: 50%;
}
.enquire_container{
    gap: 3.5rem;
    justify-content: center;
}

.enquire_dummy
{
   
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    border-radius: 8px;
    background-color: #5663C1;
    z-index: -5;

}

.mason_card{
    margin: 0 !important;
}

footer{
    margin-top: 2rem;
}

@media only screen and (max-width: 750px) {
    .branches_hero{
        flex-direction: column-reverse;
        justify-content: center;
        align-content: center;
        gap: 1rem;
        min-height: calc(100vh - var(--header-height));
    }
    .branches_hero_content{
        width: 100%;
    }
    .branches_hero_gallery{
        width: 95%;
    }
    .branch_listing{
        grid-template-columns: repeat(1, 1fr);
    }
    .branch-detail_hero{
        flex-direction: column;
        justify-content: center;
    }
    .branches_detail_hero_gallery{
        width: 90%;
        display: block;
    }
    .branch-detail_hero_content{
        width: 90%;
    }
    .branch-detail_dummy{
        display: none;
    }
    .bdetail_img{
        display: none;
    }
    .branch-detail_hero_wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - var(--header-height));
    }
    .branch-detail_hero{
        padding: 2rem  0 0 0;
    }
    .branch-detail_hero_content{
        padding: 2rem 0 0 0;
    }
    .branch-detail_hero_content ul{
        gap: 0;
    }
    .study_container{
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .enquire_dummy
    {   
        display: none;
    }
    .enquire_content{
        background-color: #5663C1;
        padding: 3rem;
        width: 100%;
    }
    .enquire_container{
        flex-direction: column;
    }
    .enquire_form{
        width: 100%;
    }
    .avble_studies .content_description{
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .study_container{
        grid-template-columns: repeat(1, 1fr);
    }

}
