@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

*{
    font-family: 'Bebas Neue', sans-serif;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

.row{
    width: 100%;
}

select,
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:root{
    --black: #000000;
    --white: #EFF6EE;
    --black-90: #1A1A1A;
    --black-60: #666666;
    --black-20: #cccccc;
    --blue-02: #3626A7;
    --blue-03: #657ED4;
    --red: #DD0426;
    --light-red: #FF331F;
    --shadow-1: 0 5px 5px #535353;
    --shadow-2: 0 5px 5px #d6d6d6;
}

.button-text{
    font-family: Bebas Neue;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.menu-text{
    font-family: Bebas Neue;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1px;
}

h1{
    font-family: Bebas Neue;
    font-size: 64px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 75px !important; /* 117.188% */
    text-transform: uppercase !important;
}

h2{
    font-family: Bebas Neue;
    font-size: 40px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 38px !important;
}

h3{
    font-family: Bebas Neue;
    font-size: 30px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 38px !important;
}

h5{
    font-family: Bebas Neue;
    font-size: 22px !important;
    font-style: normal;
    line-height: 38px !important;
}

h6{
    font-family: Bebas Neue;
    font-size: 18px !important;
    font-style: normal;
    line-height: 38px !important;
    margin: 0 !important;
}

p{
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px !important; /* 187.5% */
}

a{
    text-decoration: none !important;
}

.primary-btn{
    display: inline-flex;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: var(--blue-3, #226CE0);
    transition: all 0.5s ease-in-out;
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-1);
}

.primary-btn:hover{
    background-color: white;
    color: var(--blue-02);
    transform: scale(1.05);
}

.primary-btn a{
    color: var(--white);
    transition: all 0.5s ease-in-out;
}

.primary-btn a:hover{
    color: var(--blue-02);
}

.scroll-btn{
    background: transparent;
    border: none;
    color: var(--red);
    margin-top: 10rem;
    position: relative;
    animation-name: scroll-button;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.scroll-btn::after{
    position: absolute;
    content: "\f103";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--blue-02);
    width: 50px;
    height: 50px;
}

@keyframes scroll-button {
    0%   {top:0px; bottom: 50px;}
    25%  {top: 50px; bottom: 0px;}
    50%  {top:0px; bottom: 50px;}
    75%  {top: 50px; bottom: 0px;}
    100% {top:0px; bottom: 50px;}
  }

/* -------------HEADER------------------- */
header{
    position: fixed;
    width: 100%;
    z-index: 99;
}

header .main-header{
    background-color: rgba(0, 0, 0, 0.75);
    padding: 8px 0;
}

header .main-header .nav-link{
    color: var(--white);
    padding: 10px 16px;
    font-size: 20px;
}

header .main-header .nav-link.active{
    color: var(--white);
    border-bottom: 3px solid var(--red);
}

header .main-header .primary-btn:hover{
 color: var(--blue-02);
}

.navbar{
    padding: 0 !important;
}

.navbar-nav{
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar .navbar-toggler{
    background-color: var(--black-60);
    color: var(--white);
}

/* ----------------FOOTER---------------- */


footer{
    padding-top: 40px;
    background-color: var(--blue-03);
    color: var(--white);
}

footer i{
    font-size: 24px;
    padding: 10px;
    border-radius: 100%;
    color: var(--white);
    border: 2px solid var(--white);
}

footer .main-footer{
    padding-bottom: 20px;
}

footer .main-footer .maps iframe{
    width: 100%;
    height: 365px;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
}

footer .main-footer .contact-details{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

footer .main-footer .socials h2{
    margin-bottom: 20px;
}

footer .main-footer .socials .social-logo{
    gap: 28px;
}

footer .small-footer .container{
    padding: 20px 0;
    border-top: 1px solid var(--white);
    color: var(--white);
}

footer .main-footer i,
footer .small-footer a{
    color: var(--white);
    transition: all 0.5s ease-in-out;
}

footer .main-footer i:hover{
    color: var(--blue-02);
    border: 2px solid var(--blue-02);
}
footer .small-footer a:hover{
    color: var(--blue-02);
}

/* --------------APPLY FORM SECTION--------------------- */
.apply-form-section{
    background-image: url(../images/about-bg.jpg);
    background-size: cover;
}

.apply-form-section .overlay{
    padding: 80px 0;
}

.apply-form-section .title h2{
    color:var(--blue-03);
    margin-bottom: 80px;
}

.apply-form-section .form{
    max-width: 786px;
    margin: auto;
}
.apply-form-section .form label{
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
}

.apply-form-section .form .main-label{
    margin-bottom: 8px;
    font-family: Bebas Neue;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--blue-03);
}

.apply-form-section .form select,
.apply-form-section .form input{
    padding: 12px;
    border-radius: 4px;
    border: none;
    width: 100%;
    position: relative;
}

.apply-form-section .form .select-national{
    position: relative;
}

.apply-form-section .form .select-national::after{
    content: "\f107";
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    width: 20px;
    height: 20px;
    color: var(--blue-02);
    top: 48px;
    right: 28px;
    position: absolute;
}

.apply-form-section .form input[type=submit]{
    color: var(--white);
    transition: all 0.5s ease-in-out;
}

.apply-form-section .form input[type=submit]:hover{
    color: var(--blue-03);
}

.apply-form-section .form input[type=checkbox]{
    width:5%;
    height: 20px;
    margin-bottom:1rem;
}


.apply-form-section .form-check .form-check-input{
    width:auto;
    margin-right:1rem;
}

.apply-form-section .form-check .form-check-label{
    margin-bottom: 0;
}



/* ----------------AREA OF ENGAGEMENTS----------------- */
.area-of-engagement{
    padding: 80px 0 50px 0;
    background-color: var(--white);
    color: var(--blue-02);
    text-align: center;
    position: relative;
}

.area-of-engagement .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
}

.area-of-engagement .title{
    margin-bottom: 80px;
}

.area-of-engagement img{
    width:550px;
    height:550px;
}

.area-of-engagement .details ul{
    display: flex;
    flex-direction:column;
    gap:20px;
}

/*.area-of-engagement li{*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*}*/

#heart{
    position: absolute;
    top: 0%;
    left: 70%;
    transform: translate(-70%, 0%);
}

#paw{
    position: absolute;
    top: 25%;
    left: 80%;
    transform: translate(-80%, -25%);
}

#dna{
    position:absolute;
    top: 50%;
    left: 90%;
    transform: translate(-90%, -50%);
}

#atom{
    position:absolute;
    top: 75%;
    left: 80%;
    transform: translate(-80%, -75%);
}

#virus{
    position:absolute;
    top: 100%;
    left: 70%;
    transform: translate(-70%, -100%);
}
/*#paw{*/
/*    top: 60%;*/
/*    left: 7%;*/
/*    transform: translate(-7%, -60%);*/
/*}*/

/*#dna{*/
/*    top: 77%;*/
/*    left: 7%;*/
/*    transform: translate(-7%, -77%);*/
/*}*/

/*#syringe{*/
/*    top: 31%;*/
/*    left: 90%;*/
/*    transform: translate(-90%, -31%);*/
/*}*/

/*#atom{*/
/*    top: 48%;*/
/*    left: 90%;*/
/*    transform: translate(-90%, -48%);*/
/*}*/

/*#virus{*/
/*    top: 65%;*/
/*    left: 90%;*/
/*    transform: translate(-90%, -65%);*/
/*}*/


.area-of-engagement .card{
    width: 350px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: none;
    box-shadow: var(--shadow-2);
    background-color: var(--white);
    color: var(--white);
    flex-direction: row-reverse;
    border-radius: 6rem;
    cursor: pointer;
    transition: all 0.5s ease;
}

.area-of-engagement .card:hover{
    background-color: var(--blue-02);
}

.area-of-engagement .card .card-img-top{
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.area-of-engagement .card:hover .card-img-top{
    background-color: var(--blue-02);
}

.area-of-engagement .card .img-wrapper{
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-2);
    transition: all 0.5s ease;
}

.area-of-engagement .card:hover .img-wrapper{
    box-shadow: none;
    background-color: var(--white);
}

/* .area-of-engagement .card #syringe {
    width: 104px;
} */

.area-of-engagement .card .card-img-top i{
    font-size: 30px;
    color: var(--red);
    background-color: var(--white);
    transition: all 0.5s ease;
}

.area-of-engagement .card:hover .card-img-top i{
    color: var(--white);
    background-color: var(--blue-02);
}

.area-of-engagement .card .card-img-top i,
.area-of-engagement .card .card-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.area-of-engagement .card .card-body {
    font-size: 14px;
    color: var(--blue-02);
    transition: all 0.5s ease;
}

.area-of-engagement .card:hover .card-body {
    color: var(--white);
}

/* .area-of-engagement .card .card-body p{
    margin: 0;
} */

/* .area-of-engagement .card .card-body .primary-btn{
    border: none;
    box-shadow: var(--shadow-2);
} */

/* ---------------------MORE ABOUT SECTION-------------- */
.more-about-section{
    background-color: var(--black-90);
    color: var(--white);
    padding: 80px 0;
}

.more-about-section .details section{
    padding-top: 75px;
}

.more-about-section .title h2{
    color: var(--blue-03);
}

.more-about-section .title h3{
    margin-bottom: 20px;
    color: var(--red);
}

.more-about-section p{
    text-align: justify;
}

.more-about-section b{
    color: var(--blue-03);
}

/* -----------------------BANNER-------------------- */
.banner{
    background-image: url("../images/internship.jpg");    
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 650px;
    color: var(--white);
    position: relative;
}

.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner::before{
    content: "";
    position: absolute;
    background-image: url(../images/main-logo.png);
    width: 300px;
    height: 110px;
    background-size: cover;
    top: 100px;
    left: 126px;
    z-index: 1;
}

.banner::after{
    content: "";
    position: absolute;
    background-image: url(../images/inpl-logo.png);
    width: 150px;
    height: 130px;
    background-size: cover;
    top: 100px;
    right: 126px;
}

.banner .banner-detail .details{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-banner .title h2,
.banner .banner-detail .details p{
    position: relative;
}

.detail-banner .title h2::after,
.banner .banner-detail .details p::after{
    position: absolute;
    content: "";
    width: 50%;
    height: 3px;
    background: var(--red);
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
}

.banner .banner-detail .details .primary-btn{
    width: 50%;
    margin: auto;
}



/* -----------------------ABOUT US SECTION---------------- */
.about-us-section{
    background-image: url("../images/about-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--blue-02);
}

.about-us-section .overlay{
    padding: 80px 0;
}

.about-us-section p{
    color: var(--white);
    margin-top: 28px;
}

/* -------------------DETAIL PAGE--------------------- */
.detail-banner{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 700px;
    color: var(--white);
    position: relative;
}

.detail-banner.public-img{
    background-image: url("../images/area/public.jpg");    
}

.detail-section{
    background-image: url(../images/area/area-bg.jpg);
    background-size: cover;
    object-position: center;
    width: 100%;
}

.detail-section .container{
    
    padding: 80px 0;
}

.detail-section .img-wrapper img{
    width: 100%;
    object-fit: cover;
}

.detail-section .img-wrapper{
    object-fit: cover;
}

.detail-section .main-table-title{
    padding-bottom: 20px;
    color: var(--blue-03);
}

.detail-section .main-table-title p{
    color: var(--white);
}

.detail-section .card{
    border: none;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    background-color: transparent;
}

.detail-section ul li .list-item{
    position: relative;
}

.detail-section ul li .list-item::after{
    content: "";
    position: absolute;
    background: var(--white);
    width: 4px;
    height: 100%;
    right: 90%;
    top: 50%;
    transform: translate(90%, -50%);
    z-index: 0;
}

.detail-section ul li:nth-of-type(1) .list-item::after{
    height: 50%;
    top: 100%;
    transform: translate(90%, -100%);
}

.detail-section ul li:nth-last-child(1) .list-item::after{
    height: 50%;
    top: 0%;
    transform: translate(90%, 0%);
}

.detail-section .card .card-left .text-wrapper h3{
    background-color: var(--red);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-1);
    position: relative;
    z-index: 2;
    margin-left: 16px;
}

.detail-section .card .card-left .text-wrapper{
    padding-right: 60px;
    position: relative;
}

.detail-section .card .card-left  .text-wrapper::after{
    content: "";
    position: absolute;
    background: var(--white);
    width: 100%;
    height: 4px;
    right: 50%;
    top: 50%;
    transform: translate(70%, -50%);
    z-index: 0;
}


.detail-section .card .card-right{
    padding: 20px;
    background: var(--black-90);
    color: var(--white);
    border-radius: 20px;
    width: 100%;
}

.detail-section .card .card-right h5{
    color: var(--blue-03);
}

.detail-section .card .card-right p{
    text-align: justify;
    font-size: 14px;
}

/* -------------BIOINFORMATICS------------ */
.detail-banner.conservation-img{
    background-image: url("../images/area/conservation.jpg");   
}

.detail-banner.bioinformatics-img{
    background-image: url("../images/area/bioinformatics.jpg");   
}

/* ----------------VACCINE RESEARCH------------- */

.detail-banner.vaccine-img{
    background-image: url("../images/area/vaccine.jpg");   
}

/* ----------------MOLECULAR------------- */

.detail-banner.molecular-img{
    background-image: url("../images/area/molecular.jpg");   
}

/* ----------------CANCER------------- */
.detail-banner.cancer-img{
    background-image: url("../images/area/cancer.jpg");   
}

/* -------------------WILDLIFE------------ */
.detail-section .gallery img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.detail-section .gallery{
    flex-wrap: wrap;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
}

.detail-section .gallery .img-wrapper{
    width: 30%;
    height: 300px;
}

/*----------------GALLERY----------------------*/
.detail-banner.gallery-img{
    background-image: url("../images/banner.png");   
}

.gallery-section{
    background-image: url(../images/area/area-bg.jpg);
    background-size: cover;
    object-position: center;
    width: 100%;
}

.gallery-section .card .img-wrapper{
    width:100%;
    height:200px;
    overflow: hidden;
}

.gallery-section .overlay{
    padding: 80px 0;
}

.gallery-section .card .img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
    cursor:pointer;
    display: block;
    object-position:top;
}

/*-------------MODAL-----------------------*/
.main-modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  
}

.main-modal .modal-img {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 80vh;object-fit:contain;
  background-color:transparent !important;
}

.close {
  position: absolute;
  top: 70px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index:5;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* -----------------POPUP------------------ */
.popupsss{
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.6);
    position:fixed;
    top:0;
    z-index:100;
    display:none;
    transition:all 0.5s ease;
}

.popupsss.active{
    display:block;
}

.popupsss img{
    max-width: 700px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
    object-fit: contain;
}

.popupsss .overlay{
    height: 100vh;
    position: relative;

}

.popupsss span{
    color: var(--red);
    font-weight: bold;
    font-size: 28px;
    position: absolute;
    top: 0;
    right: 0%;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
