/*==================== GOOGLE FONTS ====================*/   
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/*=============== VARIABLES CSS ===============*/

:root {
    --header-height: 4rem;
    /*========== Colors ==========*/
    /* Change favorite color to match images */
    /*Green dark 190 - Green 171 - Grren Blue 200*/
    --hue-color: 210;
    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 38%, 35%);
    --first-color-second: hsl(var(--hue-color), 64%, 22%);
    --first-color-alt: hsl(var(--hue-color), 64%, 15%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: rgb(0, 0, 0);
    --text-color-light: hsl(var(--hue-color), 8%, 60%);
    --input-color: hsl(var(--hue-color), 24%, 97%);
    /* --body-color: hsl(var(--hue-color), 100%, 99%); */
    --body-color: #FFF;
    --white-color: ;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);
    --container-color: #FFF;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;

    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== Margenes Bottom ==========*/
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    /*========== Hover overlay ==========*/
    --img-transition: .3s;
    --img-hidden: hidden;
    --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
     :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}




/*=============== BASE ===============*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    
}

body {
    
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    height: 100%;
    overflow-y: hidden;
}
.loaded{
    overflow-y: visible;
}
h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

button,
input {
    border: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}
input{
    font-size: var(--small-font-size);
}
textarea{
    font-size: var(--small-font-size);
}

button {
    cursor: pointer;
}

input {
    outline: none;
}
.flex{
    display: flex;
}

.main {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: .50rem;
    background-color: #dadceed4;
}

::-webkit-scrollbar-thumb {
    background-color: #4B56B0 ;
    border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2737b1;
}


/*=============== REUSABLE CSS CLASSES ===============*/

.section {
    padding: 5rem 0 2.5rem;
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: var(--mb-3);
}

.section_title{
    font-size: 2rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-3);
}

.section__title,
.section__subtitle {
    text-align: center;
}

.small{
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1350px;
    width: 90%;
    margin: 0 auto;
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
}

.big{
    max-width: 1068px;
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
}

.large{
    width:100%;
}



.grid {
    display: grid;
    gap: 1.5rem;
}


/*=============== HEADER ===============*/

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #FFFFFF;
}


/*=============== NAV ===============*/

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle {
    color: var(--white-color);
}

.nav__logo {
    font-weight: var(--font-semi-bold);
}

.nav__toggle {
    font-size: 1.2rem;
    cursor: pointer;
}

.nav__menu {
    position: relative;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        padding: 3rem;
        transition: .4s;
    }
}


.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav__link {
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    opacity: .5;
}
.nav__link:hover {
    color: #4B56B0;
    opacity: 1;
}

.nav__item:hover {
    color: #4B56B0;
}

.nav__close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}


/* show menu */

.show-menu {
    right: 0;
}


/* Change background header */

.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
    color: var(--title-color);
}


/* Active link */

.active-link {
    color: black;
    opacity: 1;
    font-weight: 600;
}


/* HOME */

.home_hero_up{
    margin: 5rem 0 0 0;
    height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hero_up_content{
    display: grid;
    gap: 1.5rem;
    align-content: center;
    width: 50%;
}
.content_title{
    color: #5663C1;
    font-size: 2.85rem;
    line-height: 3rem;
    width: 90%;
}
.highlight{
    color: #ED1D23;
}
.content_description{
    font-size: var(--small-font-size);
    color: rgba(119, 119, 119, 1);
}
.content_description_home{
    width: 80%;
    font-size: var(--small-font-size);
    color: rgba(80, 86, 124, 0.6);
}



.home_wrapper{
    width:100%;
    position: relative;
    background: linear-gradient(71.18deg, rgba(237, 29, 35, 0.413161) -7.81%, #ED1D23 -7.81%, rgba(237, 29, 35, 0.14127) -5.26%, rgba(237, 29, 35, 0.0367978) 0.55%, rgba(237, 29, 35, 0) 26.49%);
}

.hero_up_img{
    position: absolute;
    right: 0;
    width: 50%;
    height: 90%;
    background-image: url("../../img/hero_main.png");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -100;
    display: flex;
}

.blur{
    width: 100px;
    margin-left: -1rem;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.827), #ffffff 80%) ;
    /* box-shadow: 0 0 8px 8px white inset;*/
    filter: blur(20px);

}

.hero_up_dummy{
    width: 50%;
    /* height: 50%; */
    background-repeat: no-repeat;
    background-size: cover;
}
.home_hero_galleru{
    display: none;
}
#mob{
    display: none;
}

.rnd-btn{
    background: #ED1D23;
    border: 1px solid red;
    padding: 10px 16px;
    border-radius: 24px;
    color: #FFF;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: small;
    transition: background 300ms ease-out ;
}

.rnd-btn:hover{
    color: red;
    background-color: #ffffff;
    cursor: pointer;
}

.home_hero_cards{
    
    margin: 0 auto;
    margin-top: -9%;
    width: 45%;
    display: flex;
    z-index: 600 !important;
}

.card{
    width:33.3%;
    text-align: center;
    background-color: #5663C1;
    padding: 1.8rem .4rem;
    border-radius: 12px 0px 0px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card_icon img{
    width: 50px;
    height: 60px;
}



.card:nth-child(2){
    border-radius: 0;
    background-color: #4B56B0;
}

.card:nth-child(3){
    border-radius: 0px 12px 12px 0px;
}

.card_title{
    font-weight: 600;
    font-size: .9rem;
    padding: .5rem 0;
    color: #FFFFFF;
}

.card_description{
    width: 80%;
    font-family:  var(--body-font);
    font-size: small;
    font-weight: 400 ;
    color: #FFFFFF;
}


/*============== WHAT WE DO ============*/

.about{
    display:flex;
    flex-direction: row;
    justify-content: center;
}
.about_img{
    width: 40%;
}

.about_content{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 2rem;
}

.content_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: .2rem;
}


.about_description{
    width: 80%;
    font-family: var(--body-font);
    font-size: var(--small-font-size);
    font-weight: 400;
    color:  #777777;
    text-align: left;
    
}

.stats_box{
    display: flex;
    gap: 3.5rem;
    
}

.stat_inner{
    width: fit-content;
}
.stat_value{
    font-size: 2rem;
    font-weight: 600;
    color:#ED1D23;
}
.stat_caption{
    font-weight: 500;
}

/*=============== Our Studies ===============*/
.our_study_main{
    display: flex;
    justify-content: space-between;
    background-color:#F9F9F9;
    padding: 50px 20px;
    border-radius: 5px;
    /* align-items: center; */
}
.choose_study{
    width: 35%;
    border-radius: 10px;
    overflow: hidden;
    /* padding: 1rem; */
}

.choose_study li{
    text-align: center;
    background-color: white;
    padding: 10px;
    margin: 1rem 0;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap:.5rem;
    align-items: center;
}

.study_arrow{
    font-size: larger;
    font-weight: 500;
    display: none;
}
.choose_study li:hover{
    background-color: #4B56B0;
    color: white;
    transform: scale(1.01);
    cursor: pointer;
}

.choose_study li:hover .study_arrow{
    display: block;
}

.study_img{
    align-self: center;
    margin-left: 1rem;
}

.title_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.title_line{
    text-align: center;
}
.title_line img{
    width: 75%;
}

.study_content{
    align-self: center;
    margin: 0 1.5rem;
    display: flex;
    flex-direction: column;
    width: 60%;
}
.study_dat{
    display: flex;
}

.study_content_description{
    font-size: var(--small-font-size);
    color: #777777;
    margin: 1rem 0;

}

.study_img img{
    height: 100%;
    width: 100%;
}
.study_img{
    /* width: 50%; */
}

.study_content_points li p{
    font-size: var(--smaller-font-size);
    font-weight: 600;
    line-height: 30px;
}

.view-more{
    background: #ffffff;
    width: fit-content;
    padding: 12px 23px;
    border-radius: 24px;
    color: #ED1D23;
    border: 1px solid #ED1D23 ;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: var(--normal-font-size);
    margin : 1.5rem 0;
}
.view-more:hover{
    color: #FFF;
    background-color: #ED1D23;
}
.view-more-link{
    display: block;
}
.point{
    display: flex;
    align-items: center;
}

.point_bullet{
    color: #5663C1;
    font-size: large;
    padding-right: .3rem;
}
.inactive-study{
    display:none;
}
.active-study{
    display:flex;
}

.active_study_button{
    background-color: #4B56B0 !important;
    color: white;
    transform: scale(1.01);
}

.active_study_button .study_arrow{
    display: block;
}

/* SERVICES */

.services{
    background-color: #F9F9F9;
}
.services_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services_content{
    width: 40%;
}
.services_description{
    margin-top: 1rem;
    font-size: var(--small-font-size);
    color: #777777;
}
.services_mason{
    padding: 1rem;
    background-color: #F9F9F9;
    overflow-y: scroll ;
    top: 0;
    height: 70vh;
    width: 50%;
    display: flex;
    gap: 2rem;
    /* -ms-overflow-style: none; */
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.dum{
    width: 10px;
    height: 5px;
}

.services_mason::-webkit-scrollbar {
    display: none; 
}


.mason_col1,.mason_col2{
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    
}

.mason_col1{
    margin-top: 3rem;
}
.mason_card{
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 4px 19px 53px 2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.card_content{
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.card_icon{
    background: #4B56B0;
    width: max-content;
    border-radius: 9px;
    text-align: center;
    padding: .5rem;

}

.card_icon img{
    width: 50px;
    height: 50px;
    margin: 0 auto;
    object-fit: cover;
    display: block;
}

.card_content p{
    font-size: var(--smaller-font-size);
}


/*------------------- TEAM */

.team{
    display: flex;
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.team_main{
    position: relative;
    width: 100%;
}
.team-swiper{
    width: 50%;
    height: 50vh;
    overflow: hidden;
    margin-left: -2rem;
    padding-bottom: 1rem;
}
.team_content{
    width: 50%;
    padding: 3rem;
    background-color: #424345;
    border-radius: 12px 0px 0px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.left_extreme{
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    background-color: #424345;
    z-index: -5;
}


.team_members{
    height: 80%;
    padding: .3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.member_card{
    padding: .5rem 1rem;
    width: 90%;
    border: 1px solid rgba(186, 187, 191, 1);
    background-color: #ffffff;
    display: flex;
    gap: 1rem;
    align-items: center;
    border-radius: 12px;
}



.member_img img{
    width: 70px;
}

.member_data{
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.member_name{
    font-size: var(--normal-font-size);
    font-weight: 600;
}
.member_role{
    font-size: var(--smaller-font-size);
    font-weight: 600;
    color: #5663C1;
}

.member_experience{
    font-size: var(--smaller-font-size);
    font-weight: 400;
    color: rgba(27, 26, 26, 0.8);
}


.team_content h1{
color: #FFFFFF;
}

.team_description{
    color: #FFFFFF;
    font-size: var(--smaller-font-size);
}
.member_card:hover{
    background-color: #4B56B0 ;
  }
  .member_card:hover  .member_name{
    color: #FFFFFF;
  }
  .member_card:hover  .member_role{
    color: #FFFFFF;
  }
  .member_card:hover  .member_experience{
    color: #c2c1c1;
  }

/* ------------------BRANCHES */
.branches{
    background-color:  #F9F9F9;
    padding: 1rem 0 0 0;

}
.branches_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5rem 0;
}
.branches_container{
    display: flex;
    gap: 1.5rem;
}
.branch_card{
    margin: 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgb(197, 194, 194);
}


.branch_title{
    color: rgba(52, 58, 64, 1);
}

.branch_info{
    margin-top: .5rem;
    font-size: var(--smaller-font-size);
}

.branch_place, .branch_phone{
    display: flex;
    align-items: center;
    gap: .2rem;
    color: #424345;
}

.branches_btn{
    margin-top: 3rem;
}
.branches_btn:hover{
    background-color: red;
    color: white;
}
.branch_card:hover{
    transform: scale(1.02);
}

/* ---------------TESTIMONIAL */


.testimonial_wrapper{
    margin-top: 3rem;
    display: flex;
}

.testimonial_swiper{
    padding: 6rem 2rem;
    padding-top: 0;
}
.testimonial_card{
    border-radius: 15px;
    border: 1px solid #b7b3b3;
    padding: 2rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: max-content;
}
.testimonial_role{
    color: rgba(119, 119, 119, 1);
}

.testimonial_review i{
    color: #14B81A;
}

.testimonial_review  .inactive{
    color: #E1E1E1 !important;
} 

.testimonial_description{
    width: 85%;
    font-size: var(--smaller-font-size);
    color: rgba(119, 119, 119, 1);
}

.testimonial_swiper .swiper-pagination-bullet{
    height: .2rem;
    padding: 0 .4rem;
    border-radius: 5px;
    
}
.testimonial_swiper .swiper-pagination-bullet-active{
    height: .25rem;
    padding: 0 1rem;
    border-radius: 5px;
    background-color: #4B56B0;
}
.swiper-pagination-bullet-active{
    background-color: #4B56B0;
}

#docpopup1{
    position: fixed;
    top: 20%;
    width: 100%;
}
/*================================= CONTACT ============================*/
.contact{
    padding: 4.5rem 0;
    padding-top: 7rem;
    background-color: #F9F9F9;
    
}

.contact_title{
    text-align: center;
}

.contact_form_main{
    margin-top: 3rem;
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 1);
}

.contact_form{
    width: 70%;
}

.contact_form_ori input{
    background-color: rgba(250, 250, 250, 1);
    display: block;
    padding: 1rem;
    border-radius: 12px;
}

.docpop input{
    background-color: rgba(250, 250, 250, 1);
}
.contact_form_ori textarea{
    border-radius: 12px;
    background-color: rgba(250, 250, 250, 1);
    border: none;
    outline: none;
    resize: none;
    font-family: var(--body-font);
    padding: 1rem;
}

.contact_form_ori textarea::placeholder{
    font-family: var(--body-font);
}

.contact_form_ori textarea:focus{
    border: 1px solid rgba(86, 99, 193, 1);
    background-color: #FFFFFF;
}

.contact_form_ori{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact_form_img{
    width: 70%;
    background-image: url("../../img/touch.png");
    background-size: cover;
    border-radius: 0px 24px 24px 0px;
}
.contact_form_ori input{
    border: 1px solid rgba(0, 0, 0, 0)

}
.contact_form_ori textarea{
    border: 1px solid rgba(0, 0, 0, 0)

}
.contact_form_ori input:focus{
    border: 1px solid rgba(86, 99, 193, 1);
    background-color: #FFFFFF;
}
.send-btn{
    border-radius: 12px;
}
.send-btn:hover{
    background-color: white;
    color: red;
    border: 1px solid red;
}

/*================================= FOOTER ============================*/
.footer{
    background: rgba(31, 31, 31, 1);
    color: white;
}
.footer__container {
    row-gap: 5rem;  
}

.footer__content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    row-gap: 2rem;
}

.footer__title,
.footer__subtitle {
    font-size: var(--h4-font-size);
    color: white;
    font-weight: 500;
}

.footer__title {
    margin-bottom: var(--mb-0-5);
}

.footer__description {
    margin-top: 1.5rem;
    margin-bottom: var(--mb-2);
    font-size: var(--smaller-font-size);
    color: rgb(216, 216, 216);
}

.footer__social {
    font-size: 1.75rem;
    color: var(--title-color);
    margin-right: var(--mb-1);
    color: rgba(204, 204, 204, 0.5);
}
.footer__social:hover{
    color: #DEE2E6;
}

.footer__subtitle {
    margin-bottom: var(--mb-1);
}

.footer__item {
    margin-bottom: var(--mb-0-25);
}

.footer__link {
    color: rgb(196, 196, 196);
    font-weight: 400;
    font-size: var(--smaller-font-size);
}

.footer__link:hover {
    color: white;
}

.footer__copy,
.footer__terms-link {
    font-size: var(--small-font-size);
    color: rgb(196, 196, 196);
}
.footer_rights{
    border: 1px solid #DEE2E6;
}
.footer__copy{
    padding-top: 1.5rem;
    text-align: center;
}
.footer_line{
    height: .02rem;
    background-color : #dee2e685;
}

.footer__terms {
    display: flex;
    column-gap: 1.5rem;
    justify-content: center;
}

.footer__terms-link:hover {
    color: var(--text-color);
}

.company_footer_link{
    text-decoration: none;
    font-size: var(--normal-font-size);
    color: #DEE2E6;
}
.company_footer_link:hover{
    color: #777777;
}

.icon-link{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: .5rem;
}


/* image optimisations */

.about_img img{
    width: 578px !important;
    border-radius: 12px;
}

.study_img img{
    width: 441px !important;
    border-radius: 12px;
}
.member_img img{
    height: 70px;
    width: 70px;
    border-radius: 48.5px;
}

.testimonial_profile_img img{
    width: 100px;
    height: 100px;
    border-radius: 9px;
    object-fit: cover;
}

.branch_image img{
    width: 415px;
    border-radius: 8px;
}



.strength_image img{
    width: 652px;
    border-radius: 12px;
}

.choose_img img{
    width: 595px;
    border-radius: 12px;
}
.home_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.studies_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.team_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.branches_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.contact_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.branches_detail_hero_gallery img{
    width: 666px;
    border-radius: 18px;
}
.dynwrap img{
    width: 885px;
    border-radius: 6px;
}
.mgmt_member_img img{
    width: 100%;
    border-radius: 12px;
    height: 400px;
    object-fit: cover;
}
.specialist_card img{
    width: 100%;
    display: block;
    border-radius: 12px 12px 0px 0px;
    height: 240px;
    object-fit: cover;
}

.memb_card img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/*=============== MEDIA QUERIES ===============*/


/* For small devices */

@media screen and (max-width: 340px) {
    .team_description{
        font-size: .5rem;
    }
   .mason_col1,.mason_col2{
       width: 50%;
   }
   .services_mason{
       height: 100vh;
   }
   .home_hero_up {
    height: 100vh;
   }




}


@media only screen and (max-width: 340px)
{
    .home_hero_cards2 *{
        /* margin-top: 1rem; */
        font-size: .7rem;
    }
    .card_icon{
        padding: 0;
    }
    .team *{
        font-size: .5rem;
    }
    .team img{
        height: 65px;    
        border-radius: 50%;
        
    }

}


@media screen and (max-width: 1500px){
    .home_hero_cards{
        margin-top: -10%;
        width: 60%;
    }   
}
@media screen and (max-width: 1200px){
    .home_hero_cards{
        /* margin-top: -18%; */
        width: 70%;
    }   
    .hero_up_content{
        margin-right: 1rem;
    }
}
/* For medium devices */
@media screen and (max-width: 600px) {
    .content_title{
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    
    .section_title{
        font-size: 1.8rem;
    }
  }


@media only screen and (max-width: 400px){
    .center_content {
        
        margin-bottom: 20px;
    }
    .dynwrap p {
        margin-top: 10px;
    }
    .item-content {
        width: 100%;
    }
    .contact_form_main {
        padding: 20px;
    }
    .contact {
        padding-top: 50px;
    }

    .content_title{
        font-size: 25px;
    }
    .section_title {
        font-size: 23px;
    }

} 
@media only screen and (max-width: 360px){

    .content_title{
        font-size: 2rem;
        line-height: 30px;
    }
} 


@media only screen and (max-width: 568px){

    .study_dat{
        flex-direction: column;
        justify-content: center;
    }

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


} 
@media only screen and (max-width: 790px) {

    .small{
        margin: 0 1rem;
    }
    .home_hero_up{
        flex-direction: column-reverse;
        height: 100%;
    }
    .hero_up_content{
        width: 50%;
        margin-top: 1rem;
    }



    .hero_up_dummy{
        background: url(../../img/hero_main.png);
        background-size: cover;
        z-index: 30;
        border-radius: 12px;
        width: 80%;
        height: 50%;
    }
    .about{
        flex-direction: column;
        align-items: center;
    }
    .about_img{
        width: 80%;
    }
    .about_content{
        width: 100%;
        padding-left: 0;
    }
    .about_description{
        width: 100%;
    }
    .stats_box{
        padding-top: 1rem;
        justify-content: center;
    }
    .testimonial_card{
        align-items: center;
    }
    .testimonial_description{
        text-align: center;
    }
    .testimonial_data{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact_form_main{
        flex-direction: column-reverse;
    }
    .contact_form{
        width: 100%;
    }
    .branches_container{
        justify-content: center;
        flex-wrap: wrap;
    }
    .services{
        padding-top: 4.5rem ;
    }

    /* .branch_card{
        margin: 0 2rem;
    } */
    .services_wrapper{
        padding: 2rem 0;
        padding-bottom: 0rem;
        flex-direction: column;
    }
    .services_content{
        width: 100%;
        padding-bottom: 2rem;
    }
    .services_description{
        text-align: center;
    }
    .services .section_title{
        text-align: center;
    }
    .services_mason{
        width: 100%;
        height: 50vh;
    }
    .our_study_main{
        flex-direction: column;
        justify-content: center;
    }

    .choose_study{
        margin: 0;
        width: 100%;
    }
    .study_img{
        text-align: center;
        width: 70%;
    }
    .study_content{
        padding: 1.5rem 1rem;
        width: 100%;
    }
    .study_content_title{
        text-align: center;
    }
    .team{
        flex-direction: column-reverse;
        height: 100vh;
        justify-content: center;
        align-items: center;
    }

    .left_extreme{
        display: none;
    }

    .team_content{
        width: 100%;
        height: 50%;
    }

    .team-swiper{
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
        .home_hero_cards{
        width: 90%;
    }
    .about{
        flex-direction: column;
        align-items: center;
    }
    .about_img{
        width: 80%;
    }
    .about .section_title{
        padding-top: 1rem;
        text-align: center;
    }
    .about_content{
        width: 100%;
    }
    .about_description{
        width: 100%;
    }
    .stats_box{
        padding-top: 1rem;
        justify-content: center;
    }

}
.imgpop{
    display: none;
}
@media screen and (min-width: 768px) {
    .section {
        padding: 6rem 0 2rem;
    }
    body {
        margin: 0;
    }
    .section__subtitle {
        margin-bottom: 4rem;
    }
    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }
    .imgpop{
        display: block;
    }
    .popform{
        width: 60%;
    }
    .nav__link {
        color: var(--white-color);
        text-transform: initial;
    }
    .nav__item:hover {
        color: #4B56B0;
    }
    .nav__dark {
        position: initial;
    }
    .nav__menu {
        display: flex;
        column-gap: 1rem;
    }
    .nav__list {
        flex-direction: row;
        column-gap: 4rem;
    }
    .nav__toggle,
    .nav__close {
        display: none;
    }
    .change-theme-name {
        display: none;
    }
    .change-theme {
        color: var(--white-color);
    }
    .active-link::before {
        background-color: var(--white-color);
    }
    .scroll-header .nav__link {
        color: var(--text-color);
    }
    .scroll-header .active-link {
        color: var(--title-color);
    }
    .scroll-header .active-link::before {
        background-color: var(--title-color);
    }
    .scroll-header .change-theme {
        color: var(--text-color);
    }
    .section {
        padding: 7rem 0 2rem;
    }
    .footer__rights {
        flex-direction: row;
        justify-content: space-between;
    }

}


/* For large devices */

@media screen and (min-width: 1024px) {
    .container{
        margin-left: auto;
        margin-right: auto;
    }
    .small {
        margin-left: auto;
        margin-right: auto;
    }
    /* .big{
        margin-left: auto;
        margin-right: auto;
    } */
    .about_hero_content{
        padding: 0 .5rem;
    }
    .footer__content {
        justify-items: center;
    }
}
#popwrap {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.popup {
    display: flex;
    width: 70vw;
    height: fit-content;
    max-height: 95vh;
    background-color: #F9F9F9;
    z-index: 1002;
    border-radius: 8px;
    overflow-y: scroll;
}

.popup form{
    gap: 0;
}

.imgpop{
    background: url("../../img/wepik-2022231-164521\ 1\ \(1\).png");
    background-repeat: no-repeat;
    background-size: cover;
}
.popform {
    height: 100%;
    padding: 2rem;
}
.input {
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem;
    border: 1px solid white;
    border-radius: 5px;
    transition: border 0.2s ease-out;
}
.input:focus {
    border: 1px solid #5663C1;
}
.inputs {
    display: grid;
    grid-template-columns: 48% 48%;
    row-gap: 1rem;
    column-gap: 5px
}
label {
    width: 95%;
    color: rgba(119, 119, 119, 0.5);;
    font-size: small;
}
label:focus-within {
    color: #5663C1;
}
label h4 {
    font-weight: normal;
    width: 80%;
}
#message {
    width: 95% !important;
    padding: 0.5rem;
    margin: .5rem;
    border: 1px solid white;
    outline: none;
    border-radius: 5px;
    resize: none;
    margin-bottom: 1rem;
    font-size: var(--small-font-size);
    font-family: var(--body-font);
}
#message:focus {
    border: 1px solid #5663C1;
    background-color: #ffffff;
}
.blocker {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: ' ';
    background: rgba(0,0,0,.5);
    z-index: 1001;
}

@media screen and (min-width: 1100px) {

    .big{
        margin-left: auto;
        margin-right: auto;
    }
}



@media screen and (min-width: 1200px) {
    /* .container {
        max-width: 1350px;
    } */
    .big{
        max-width: 1132px;
    }
    .small{
        max-width: 1350px;
        width: 90%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 1200px){
    .home_hero_up{
        padding: 0 1rem;
    }
    .center_maker{
        width: 100% ;
    }

}
@media screen and (max-width: 930px) and (min-width: 768px){
    .nav__link{
        font-size:.7rem;
    }
}
@media screen and (max-width: 830px) and (min-width: 768px){
    .nav__link{
        font-size:.5rem;
    }
}

/* For tall screens on mobiles y desktop*/

@media screen and (min-height: 721px) {
    body {
        margin: 0;
    }
    
}
@media screen and (max-height: 550px) {
 .hero_up_dummy{
     display: none;
 }
}
@media only screen and (min-width:769px) and (max-height: 770px) {
    .home_hero_cards{
        margin-top: 2rem;
    }
    .hero_up_dummy{
        display: block;
    }
   }
@media screen and (min-width:769px) and (max-height: 550px) {
    .home_hero_cards{
        margin-top: 0;
    }
    .hero_up_dummy{
        display: block;
    }
   }


@media screen and (min-width: 769px)
{
    .home_hero_gallery{
        display: none;
    }
}


   @media screen and (max-width: 769px) {
    #desk{
        display: none;
    }
    #mob{
        position: relative;
        display: flex;
        margin: 0 1rem;
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    .hero_up_img{
        display: none;
    }
    .mason_card{
        padding: 1rem;
    }
    #mob .card{
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
    }

    .inputs {
        grid-template-columns: none;
    }
    .popform {
        width: 100%;
    }
    .popup {
        width: 95vw;
        height: 80vh;
        overflow-y: scroll;
    }
    .popup button {
        margin-bottom: 1rem;
    }

    .home_hero_gallery img{
        border-radius: 10px;
    }
    .hero_up_img{
        display: none;
    }
    .hero_up_dummy{
        display: none;
    }
    .home_hero_up{
        flex-direction: column;
        align-items: center;
    }
    .home_wrapper{

        min-height: cal(100vh - var(--header-height));
    }
    .hero_up_content{
        width: 100%;
        margin-right: 0;
    }
    .our_study{
        margin-top: -2.5rem;
    }
    .services{
        margin-top: 1rem;
    }
    .team{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .team_content{
        height: fit-content;
        padding: 1.5rem ;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }
}


@media (max-height: 420px) and (min-width:600px) {

    .home_hero_gallery{
        margin-top: 1rem;
        width: 70% !important; 
    }

    .about_hero_wrapper,.branches_hero_wrapper,.branch-detail_hero_wrapper,.contact_hero_wrapper,.studies_hero_wrapper,.team_hero_wrapper{
            margin-top: 6rem;
    }
   }


.heart-rate {
    width: 150px;
    height: 73px;
    position: relative;
    margin: 20px auto;
  }

  .preloader{
    background: white;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: -1%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}
  .fade-in {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    top: 0;
    right: 0;
    animation: heartRateIn 2.5s linear infinite;
  }
  .fade-out {
    position: absolute;
    width: 120%;
    height: 100%;
    top: 0;
    left: -120%;
    animation: heartRateOut 2.5s linear infinite;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%, rgb(255, 255, 255) 100%);
    background: -webkit-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%, rgb(255, 255, 255) 100%);
    background: -o-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%, rgb(255, 255, 255) 100%);
    background: -ms-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%, rgb(255, 255, 255) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%, rgb(255, 255, 255) 100%);
  }
  @keyframes heartRateIn {
    0% {
      width: 100%;
    }
    50% {
      width: 0;
    }
    100% {
      width: 0;
    }
  }
  @keyframes heartRateOut {
    0% {
      left: -120%;
    }
    30% {
      left: -120%;
    }
    100% {
      left: 0;
    }
  }


  
.mason_col{
    width: 100%;
    padding-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

.mason_card:nth-child(even){
    margin-top: -2rem;
    margin-bottom: 2rem;
}
.mason_card:nth-child(odd){
    margin-top: 1rem;
}

.footer{
    padding-bottom: 15px ;
}


