
/* Free Font Awsome Icon */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
/* Google fonts */
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap");

/* Define custom css variables */
:root{
    --yaleblue: #0f4d92;
    --text-black-900: #000000;
    --bg-black-900: #f2f2fc;
}

/* override custom css variables for dark theme */
/* body.dark{
    --bg-black-900: #ffffff;
    --bg-black-100: #353535;
    --bg-black-50: #2b2c2f;
} */

/* General Style */
body{
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    transition: background-color 0.2s linear;
}
*{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before, ::after{
    box-sizing: border-box;
}
input,textarea,select{
    font-family: 'Montserrat', sans-serif;
}
.section{
    background-color: #f2f2fc;
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    position: fixed;
    left: 270px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.section.back-section{
    z-index: 1;
}
.section.active{
    opacity: 1;
    z-index: 2;
    -webkit-animation: slideSection 1s ease;
    animation: slideSection 1s ease;
}
@-webkit-keyframes slideSection{
    0%{
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100%{
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@keyframes slideSection{
    0%{
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100%{
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}
.section .container{
    padding-top: 60px;
    padding-bottom: 70px;
}
.section-title{
    -ms-flex: 0 0 100;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}
.section-title h2{
    font-size: 40px;
    color: #302e4d;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin: 0;
    position: relative;
}
.section-title h2::before{
    content: '';
    height: 4px;
    width: 50px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #052345; /*var(--yaleblue);*/
}
.section-title h2::after{
    content: '';
    height: 4px;
    width: 25px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background-color: #052345; /*var(--yaleblue);*/
}
.row{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 15px;
    margin-left: 15px;
    position: relative;
}
.padd-15{
    padding-left: 15px;
    padding-right: 15px;
}

.container{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
.shadow-dark{
    -webkit-box-shadow: 0 0 20px rgba(48,46,77,0.15);
    box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.btn{
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    padding: 12px 35px;
    color: #ffffff;
    border-radius: 40px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    background-color: #052345; /*var(--yaleblue);*/
    border: none;
    cursor: pointer;
}
.btn:hover{
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.hidden{
    display: none!important;

}

/* Preloader */
.preloader{
    background-color: #222222;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 150;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}
.preloader.opacity-0{
    opacity: 0;
}

.preloader .loader{
    height: 40px;
    width: 40px;
    border: 4px solid #e3e3e3;
    border-radius: 50%;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
@-webkit-keyframes spin{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }

}
@keyframes spin{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }

}

/* Side bar */
.sidebar{
    width: 270px;
    background-color: #fdf9ff;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10;
    border-right: 1px solid #e8dfec;
    padding: 30px;
    overflow-y: auto;
    -webkit-transition: all 0.3s ease;
    transition: transform 0.3s ease;
}
.sidebar .logo{
    padding: 30px 0;
} 
.sidebar .logo a{
    font-size: 40px;
    color: #302e4d;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 0 10px;
    line-height: 50px;
}
.sidebar .logo a::before{
    content: '';
    height: 20px;
    width: 20px;
    position: absolute;
    top:0;
    left:0;
    border-top: 4px solid #052345; /*var(--yaleblue);*/
    border-left: 4px solid #052345; /*var(--yaleblue);*/
    display: none;
}
.sidebar .logo a::after{
    content: '';
    height: 20px;
    width: 20px;
    position: absolute;
    bottom:0;
    right:0;
    border-bottom: 4px solid #052345; /*var(--yaleblue);*/
    border-right: 4px solid #052345; /*var(--yaleblue);*/
    display: none;
} 
.sidebar .logo a img{
    width: 250%;
    height: auto;
    margin-left: -135px;
    margin-top: -80px;
}
.sidebar .nav-toggler{
    height: 40px;
    width: 45px;
    border: 1px solid black;/*#d4d4e3;*/
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    z-index: 11;
    border-radius: 5px;
    background-color: #fdf9ff;
    /* display: -ms-flexbox; */
    /* display: flex; */
    display: none;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.sidebar .nav-toggler span{
    height: 2px;
    width: 18px;
    display: inline-block;
    position: relative;
    background-color: #052345; /*var(--yaleblue);*/
}
.sidebar .nav-toggler.open span {
    background-color: transparent;
}
.sidebar .nav-toggler span::before{
    content: '';
    height: 2px;
    width: 18px;
    position: absolute;
    top: -6px;
    left: 0;
    background-color: #052345; /*var(--yaleblue);*/
}
.sidebar .nav-toggler.open span::before{
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top:0px;
}
.sidebar .nav-toggler span::after{
    content: '';
    height: 2px;
    width: 18px;
    position: absolute;
    top: 6px;
    left: 0;
    background-color: #052345; /*var(--yaleblue);*/
}
.sidebar .nav-toggler.open span::after{
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top:0px;
}
.sidebar .nav{
    list-style: none;
    margin: 80px 0;
    margin-top: 10px;
    padding: 0;
}
.sidebar .nav li{
    display: block;
}
.sidebar .nav li a{
    font-size: 16px;
    font-weight: 600;
    color: #302e4d;
    text-decoration: none;
    line-height: 45px;
    display: block;
    border-bottom: 1px solid #e8dfec;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: capitalize;
}
body.dark .sidebar .nav li a:hover,
body.dark .sidebar .nav li a.active,
.sidebar .nav li a:hover,
.sidebar .nav li a.active{
    color: #052345; /*var(--yaleblue);*/
}
.sidebar .nav li a:not(.active):hover{
    padding-left: 5px;
}
.sidebar .nav li a .fa,.fas{
    margin-right: 10px;
}
.sidebar .copyright-text{
    font-size: 13px;
    color: #7d7d7d;
}

/* Home */

.home{
    min-height: 100vh;
    display: -ms-flexbox;    
    display: flex;
}
.home .intro{
    text-align: center;
}
.home .intro img{
    height: 200px;
    width: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: inline-block;
    border: 8px solid var(--black);/*--yaleblue*/
}
.home .intro h1{
    font-size: 30px;
    color: #302e4d;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin: 20px 0 5px;
}
.home .intro p{
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 22px;
    padding-bottom: 50px;
    color: #504e70;
}

/* .home .intro .social-links a{
    height: 50px;
    width: 50px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    color: #ffffff;
    margin: 0 4px;
    border-radius: 50%;
    background-color: var(--yaleblue);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
} */

.home .intro .social-links a{
    height: 40px;
    width: 40px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    color: #ffffff;
    margin: 0 4px;
    border-radius: 50%;
    background-color: #052345;/*var(--yaleblue);*/
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.home .intro .social-links i{
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    vertical-align: top;
}

/* .home .intro .social-links a:nth-child(1){
    background-color: #00acee; 
}
.home .intro .social-links a:nth-child(2){
    background-color: #6cc644;
}
.home .intro .social-links a:nth-child(3){
    background-color: #4267B2;
} */


.home .intro .social-links a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/* light and dark toggle */
.checkbox{
    opacity: 0;
    position: absolute;
    width: 100px;
}
.checkbox:checked + .label .ball{
    transform: translate(24px);
}


.label{
    background-color: #052345; /*var(--yaleblue);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    position: relative;
    border-radius: 50px;
    height: 26px;
    width: 50px;
    top: 10px;
    left: 800px;
    /* transform: scale(1.5); */
}

.ball{
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    height: 22px;
    width: 22px;
}

.fa-moon{
    color: #f1c40f;
}

.fa-sun{
    color: #f39c12;
}



/* About Section  */
.about .about-content{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #302e4d;
}

.about .about-content .about-text span{
    color: #052345; /*var(--yaleblue);*/
}

.about .about-content .about-text p{
    font-size: 16px;
    line-height: 25px;
    color: #504e70;
    margin: 0;
}

.about .about-content .buttons{
    margin-top: 30px;
}
.about .about-content .buttons .btn{
    margin-right: 15px;
    margin-top: 10px;
}

/* Research section */
/* .research .container{
    display: grid;
    height: 100%;
    place-items: center;
    text-align: center;
    background: #f2f2f2;
} */
.research .slider{
   max-width: 1150px;
   display: flex;
}
.research .card{
    background: #f2f2f2;
    flex: 1;
    margin: 0 10px;
    place-items: center;
    text-align: center;
    display: grid;
    height: 150%;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #d4d4e3;
}
.slider .card .img{
    height: 150px;
    width: 100%;
}
.slider .card .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.slider .card .content{
    padding: 10px 20px;
}
.card .content .title{
    font-size: 25px;
    font-weight: 600;
}
.card .content .sub-title{
    font-size: 15px;
    font-weight: 600;
    color: #052345; /*var(--yaleblue);*/
    line-height: 20px;
}
.card .content p{
    text-align: justify;
    margin: 10px 0;
}

.card .content .btn{
    display: inline-block;
    padding: 5px 10px;
    margin: 10px 0;
    font-size: 15px;
    margin-left: 15px;
    width: 85px;
    /* position: relative;
    left: -60px; */
}

/* .card .content .btn .buttons{
    background: red;
    color: #fff;
    border: none;
    outline: none;
    font-size: 17px;
    padding: 5px 8px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
} */


/* Blog section */
/* .blog .container{
    display: grid;
    height: 100%;
    place-items: center;
    text-align: center;
    background: #f2f2f2;
} */
/* .blog .slider{
    max-width: 1150px;
    display: flex;
 }
 .blog .card{
     background: #f2f2f2;
     flex: 1;
     margin: 0 10px;
     place-items: center;
     text-align: center;
     display: grid;
     height: 150%;
     border-radius: 10px;
     overflow: hidden;
     border: 2px solid #d4d4e3;
 }
 .slider .card .img{
     height: 150px;
     width: 100%;
 }
 .slider .card .img img{
     height: 100%;
     width: 100%;
     object-fit: cover;
 }
 .slider .card .content{
     padding: 10px 20px;
 }
 .card .content .title{
     font-size: 25px;
     font-weight: 600;
 }
 .card .content .sub-title{
     font-size: 15px;
     font-weight: 600;
     color: var(--yaleblue);
     line-height: 20px;
 }
 .card .content p{
     text-align: justify;
     margin: 10px 0;
 }
 
 .card .content .btn{
     display: inline-block;
     padding: 5px 10px;
     margin: 10px 0;
     font-size: 15px;
     margin-left: 15px;
     width: 85px;
     /* position: relative;
     left: -60px; */
 /* } */ 


/* Contact section */
/* .contact .contact-info-item{
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
    margin-bottom: 40px;
}
.contact .contact-info-item .icon{
    display: inline-block;
}
.contact .contact-info-item .icon .fa{
    color: var(--yaleblue);
    font-size: 40px;
}
.contact .contact-info-item h4{
    font-size: 18px;
    font-weight: 700;
    color: #302e4d;
    text-transform: capitalize;
    margin: 1px 0 5px;

}
.contact .contact-info-item p{
    font-size: 16px;
    line-height: 25px;
    color: #504e70;
    margin: 0;
    font-weight: 400;
}
.contact .contact-form{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .col-6{
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.contact .contact-form .col-12{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .form-item{
    margin-bottom: 30px;
}
.contact .contact-form .form-item .form-control{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #d4d4e3;
    padding: 10px 25px;
    font-size: 16px;
    color: #504e70;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.contact .contact-form .form-item .form-control:focus{
    -webkit-box-shadow: 0 0 20px rgba(48,46,77,0.15);
    box-shadow: 0 0 20px rgba(48,46,77,0.15);
}
.contact .contact-form .form-item textarea.form-control{
    height: 140px;
}
.contact .contact-form .btn{
    height: 50px;
    padding: 0 50px;
} */


/* Dark body theme */
body.dark .section{
    background-color: #151515;
}
body.dark .research .content,
/* body.dark .blog .content, */
body.dark .contact .contact-form .form-item .form-control,
body.dark .sidebar{
    background-color: #222222;
}
body.dark .research .content .title,
/* body.dark .blog .content .title, */
body.dark .contact .contact-info-item h4,
body.dark .about .about-content .about-text h3,
body.dark .section-title h2,
body.dark .home .intro h1,
body.dark .sidebar .logo a,
body.dark .sidebar .nav li a{
    color: #ffffff;
}
body.dark .research .content p,
/* body.dark .blog .content p, */
body.dark .contact .contact-form .form-item .form-control,
body.dark .contact .contact-info-item p,
body.dark .about-content .about-text p,
body.dark .home .intro p{
    color: #e9e9e9;
}
body.dark .sidebar
body.dark .sidebar .nav li a{
    border-color: #393939;
}


/* Responsive - media query */

@media (max-width: 1100px){
    .checkbox{
        left: 30px;
    }
} 
 @media (max-width: 1199px){ 
     .sidebar{
        left: -270px;
    }
    .main-content{
        padding-left: 0;
    } 
     .section .container{ 
        /* -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%; */
         padding-top: 70px;
    }
    .sidebar .nav-toggler{
        display: -ms-flexbox;
        display: flex;
        left: 30px;
    }
    .sidebar .nav-toggler.open{
        left: 300px;
    }
    .sidebar{
        left: -270px;
    }
    .sidebar.open{
        left: 0px;
    }
    .section{
        left: 0;
    }
    .section.open{
        left: 270px;
    }
}

 /* @media (max-width: 991px){ */
    /* .card{
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    } */
    /* .section .container{ */
        /* -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%; */
/*         padding-top: 70px;
    }
    .sidebar .nav-toggler{
        display: -ms-flexbox;
        display: flex;
        left: 30px;
    }
    .sidebar .nav-toggler.open{
        left: 300px;
    }
    .sidebar{
        left: -270px;
    }
    .sidebar.open{
        left: 0px;
    }
    .section{
        left: 0;
    }
    .section.open{
        left: 270px; */
    /* } */
/* } 

/* @media (max-width: 767px){ */
    /* .contact .contact-form .col-6{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    } */
/* } */

/* @media (max-width: 575px){ */
    /* .contact .contact-info-item{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    } */
/* } */

/* @media (max-width: 390px){ */
    /* .sidebar{
        left: -270px;
    }
    .main-content{
        padding-left: 0;
    } */
    /* .research .card{ */
    /* .section .container{ */
        /* -ms-flex: 0 0 100%; */
        /* flex: 0 0 100%; */
        /* max-width: 100%; */
        /* padding-top: 70px; */
    /* } */
    /* .sidebar .nav-toggler{
        display: -ms-flexbox;
        display: flex;
        left: 30px;
    }
    .sidebar .nav-toggler.open{
        left: 300px;
    }
    .sidebar{
        left: -270px;
    }
    .sidebar.open{
        left: 0px;
    }
    .section{
        left: 0;
    }
    .section.open{
        left: 270px;
    } */
/* } */