:root{
    --ff1: "Poppins", serif;
    --ff2: "Inter", serif;
    --clr1: #24418f;
    --clr2: #fff;
    --clr3: #000;
    --clr4: #f1f1f1;
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
}

.no-scroll{
    overflow: hidden;
}

#header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--clr2);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.7);
    transition: 0.5s;
    z-index: 99;
}

.navbar, .navbar-brand {
    padding: 0 !important;
}

.navbar-active .navbar-brand img {
    width: 110px;
}

.navbar-brand img{
    transition: all 0.3s ease-in-out;
    width: 130px;
}

.common-style{
    font-family: var(--ff1);
    color: var(--clr3);
}

.nav-link{
    transition: all 0.3s ease-in-out;
}

.nav-link:hover{
    color: var(--clr3);
}

.dropdown-toggle::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    margin-left: 0.255em;
    content: "\f107";
    border: none;
    vertical-align: 0;
}

.parent-link ul.dropdown-menu {
    border-radius: 0 !important;
    background-color: var(--clr2);
}

.parent-link ul.dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0;
}

.navbar-toggler, .navbar-toggler:focus{
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler svg{
    width: 30px;
    color: var(--clr1);
}

.dropdown-item:hover{
    color: var(--clr3);
    background-color: var(--clr2);
}

#banner img{
    width: 100%;
}

#aboutus, #jobs, #achievements{
    margin-top: 60px;
}

#aboutus h2, #jobs h2, #achievements h2{
    font-family: var(--ff1);
    font-weight: 600;
    text-align: center;
}

#aboutus h1{
    font-weight: 600;
    font-family: var(--ff1);
}

#aboutus h1 span, #aboutus h3 span{
    color: var(--clr1);
}

#aboutus h3{
    font-family: var(--ff2);
    font-weight: 600;
}

.about-us{
    font-family: var(--ff1);
}

.more-about{
    background-color: var(--clr1);
    padding: 8px 16px;
    color: var(--clr2);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.more-about:hover{
    background-color: #04276b;
}

#jobs p{
    font-family: var(--ff2);
    margin: 15px 0;
}

.project-link{
    color: var(--clr3);
    font-family: var(--ff1);
    display: grid;
    place-items: center;
    gap: 10px;
    box-shadow: 0 0 10px 3px var(--clr4);
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.project-link:hover{
    box-shadow: 0 5px 10px 8px var(--clr4);
    transform: translateY(-5px);
}

.project-link img{
    width: 150px;
}

.project-link h3{
    text-align: center;
    transition: all 0.3s ease-in-out;
    font-size: 18px;
    font-weight: 600;
}

.achieve-card{
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

.achieve-card img{
    width: 250px;
}
/*.achieve-card {
    width: 230px;
    height: 150px;
    background-color: var(--clr1);
    position: relative;
    margin: 50px auto;
    transition: all 0.3s ease-in-out;
}

.achieve-card:hover{
    background-color: #0b2457;
}

.achieve-card:hover::before{
    border-bottom-color: #0b2457;
}

.achieve-card:hover::after{
    border-top-color: #0b2457;
}

 .achieve-card::before,
.achieve-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 115px solid transparent;
    border-right: 115px solid transparent;
}

.achieve-card::before {
    top: -55px;
    transition: all 0.3s ease-in-out;
    border-bottom: 56px solid var(--clr1);
}

.achieve-card::after {
    bottom: -55px;
    transition: all 0.3s ease-in-out;
    border-top: 56px solid var(--clr1);
} 
 */

.card-contents{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr2);
    z-index: 9;
    text-align: center;
    cursor: default;
    padding: 0 10px;
    max-width: 175px;
    line-height: 1.25;
}

.card-contents h4{
    font-size: 16px;
    font-family: var(--ff1);
    font-weight: 600;
    margin-bottom: 0;
    font-style: italic;
}

.card-contents span{
    font-family: var(--ff2);
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
}

footer{
    background-color: var(--clr4);
    padding-top: 40px;
    margin-top: 50px;
}

.footer-logo{
    text-align: center;
}

.footer-logo img{
    width: 180px;
}

.footer-title{
    font-family: var(--ff2);
    font-weight: 800;
    font-size: 28px;
    color: var(--clr1);
    text-align: center;
}

.footer-info{
    font-family: var(--ff1);
    display: flex;
    gap: 15px;
}

.location{
    display: grid;
    place-content: start;
}

.social-links{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.social-links a{
    font-size: 36px;
    color: var(--clr1);
}

.loader{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100%;
    width: 100%;
    background-color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-img {
    max-width: 180px;
    height: auto;
    overflow: hidden;
}
  
.loader-img img {
    width: 100%;
    height: auto;
    object-fit: cover; 
    clip-path: inset(0 0 0 60%);
    animation: revealImage 2s forwards infinite;
}

/* page css */

.pb-contents{
    background-color: var(--clr1);
    height: 180px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    margin: 30px 0;
}

.pb-contents h1{
    font-family: var(--ff2);
    font-weight: 700;
    color: var(--clr2);
}

#page-banner img{
    width: 100%;
}

#page-contents{
    font-family: var(--ff1);
}

.mission h2, .expertise h2, .clients h2, .reviews h2{
    font-family: var(--ff2);
    font-weight: 600;
    color: var(--clr3);
}

.mission h2 span, .expertise h2 span, .clients h2 span, .reviews h2 span{
    color: var(--clr1);
}

.client-box{
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-box img{
    width: 250px;
    transition: all 0.3s ease-in-out;

}

.client-box:hover img{
    filter: drop-shadow(5px 5px 5px var(--clr1));
    transform: translateY(-5px);
}

.client-box h3{
    text-align: center;
    font-size: 18px;
    color: var(--clr2);
    font-family: var(--ff1);
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-style: italic;
}

.review-card{
    box-shadow: 0 0 8px 3px var(--clr4);
    padding: 10px 14px;
    border-radius: 10px;
    height: 100%;
}

.review-card i{
    font-size: 26px;
}

.review-content{
    height: 230px;
    overflow-y: auto;
    font-size: 14px;
}

.review-card h4{
    font-weight: 600;
    font-family: var(--ff2);
    color: var(--clr1);
}

.review-card span{
    font-size: 14px;
    font-family: var(--ff2);
}

.team-card{
    position: relative;
    border-radius:10px ;
    overflow: hidden;
    border: 1px solid var(--clr4);
    cursor: default;
}

.team-card img{
    transition: all 0.3s ease-in-out;
    border-radius: inherit;
}

.team-info{
    position: absolute;
    bottom: -40px;
    left: 0;
    padding: 20px;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    transition: all 0.3s ease-in-out;
}

.team-card:hover .team-info{
    bottom: 0;
    background-color: rgba(255,255,255,1);
    color: var(--clr1);
}

.team-card:hover img{
    transform: scale(1.1);
}

.team-info span{
    font-weight: 600;
}

.team-card h3{
    font-size: 24px;
}

.major{
    display: grid;
}

.major span{
    font-weight: 400;
    
    font-family: var(--ff2);
}

.alumni-card{
    font-family: var(--ff1);
    color: var(--clr3);
    position: relative;
    display: block;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--clr4);
}

.alumni-card img{
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.alumni-card:hover img{
    transform: scale(1.1);
}

.alumni-info{
    position: absolute;
    bottom: 0;
    background-color: rgba(255,255,255,0.8);
    width: 100%;
    transition: all 0.3s ease-in-out;
    padding: 5px 12px;
}

.alumni-card:hover .alumni-info{
    background-color: var(--clr2);
}

.alumni-info h4{
    font-size: 20px;
    margin-bottom: 0;
}

.alumni-info h4 span, .alumni-modal h4 span{
    font-size: 20px;
    font-weight: 600;
}

.alumni-info span{
    font-size: 14px;
}

.alumni-modal h4{
    font-size: 20px;
    margin-top: 15px;
}

.alumni-modal p{
    font-family:var(--ff2);
    font-size: 14px;
}

.submit-btn{
    background-color: var(--clr1);
    color: var(--clr2);
    padding: 5px 12px;
    border: 1px solid var(--clr1);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.reset-btn{
    background-color: var(--clr2);
    border: 1px solid var(--clr1);
    padding: 5px 12px;
    color: var(--clr1);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

form{
    font-family: var(--ff2);
}

.form-control:focus{
    box-shadow: none;
    border-color: var(--clr4);
}

.sup-title{
    font-family: var(--ff1);
    font-weight: 600;
    font-size: 28px;
    color: var(--clr1);
}

.sup-img{
    max-width: 240px;
    max-height: 380px;
    overflow: hidden;
    border-radius: 5px;
}

.sup-name{
    font-size: 22px;
    font-weight: 600;
}

.sup-name span{
    color: var(--clr1);
}

.sup-post{
    font-size: 16px;
    text-decoration: underline;
}

.sup-details{
    font-size: 14px;
}

.sup-mail, .sup-phone{
    font-size: 14px;
    color: var(--clr3);
}

.sup-mail i, .sup-phone i{
    border-radius: 50%;
    border: 1px solid #cecece;
    padding: 5px;
}

.web-link{
    position: relative;
    border-radius: 5px;
    display: block;
    border: 1px solid var(--clr4);
    height: 100%;
}

.web-link h3{
    font-family: var(--ff2);
    color: var(--clr1);
    padding: 8px 12px;
    font-weight: 600;
    font-size: 18px;
}

.web-link i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    color: var(--clr4);
}

.web-pro-img{
    overflow: hidden;
    border-radius: 5px;
}
.web-pro-img img{
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.web-link:hover img{
    transform: scale(1.1);
}

.web-link:hover i{
    opacity: 1;
}

.graphic-box{
    box-shadow: 0 0 10px 0 var(--clr4);
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
}

.graphic-box:hover img{
    transform: scale(1.1);
}

.graphic-thumb img{
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top;
    transition: all 0.3s ease-in-out;
}

.graphic-thumb {
    display: block;
}
  
.graphic-title {
    font-family: var(--ff2);
    font-size: 18px;
    font-weight: 600;
    padding: 20px 10px;
}

.video-card {
    border-radius: 10px;
    position: relative;
}

.video-card::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    scale: 0;
    border-radius: inherit;
    transition: all 0.5s ease-in-out;
    background: radial-gradient(circle, rgba(30, 33, 189, 0.4) 37%, rgba(0, 91, 227, 0.4) 68%);
}

.video-card:hover::before {
    scale: 1;  
}

.video-thumb {
    border-radius: inherit;
}

.video-card img {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--clr1);
    font-size: 3rem;
    transition: all 0.5s ease-in-out;
}

.video-card:hover span {
    transform: translate(-50%, -70%);
    filter: drop-shadow(5px 5px 1px #f1f1f1);
}

.video-card h6 {
    position: absolute;
    bottom: -10px;
    left: 0;
    color: var(--clr4);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--ff1);
    background-color: var(--clr1);
    width: 100%;
    padding: 15px;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.photo-box {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
  
.photo-box img {
    border-radius: inherit;
    transition: all 0.3s ease-in-out;
}

.photo-box:hover img {
    transform: scale(1.1);
}
  
.photo-box h4 {
    font-size: 16px;
    position: absolute;
    bottom: 0;
    color: var(--clr3);
    left: 0;
    background-color: var(--clr4);
    width: 100%;
    margin: 0;
    padding: 5px;
    height: 50px;
    display: grid;
    place-items: center;
    text-align: center;
}
  
  
  

@media screen and (min-width: 1024px) {
    .parent-link .nav-link {
      padding: 25px 0.5rem !important;
    }
    .dropdown:hover > .dropdown-menu {
        display: block;
        cursor: default;
        animation: 0.5s fadeInDown;
    }
    .client-box h3{
        width: 250px;
        padding: 0 40px;
    }
}

@media screen and (max-width: 1024px) {
    .dropdown-toggle::after {
        display: none;
    }

    .card-contents p {
        font-size: 12px;
        line-height: 1;
    }

    .card-contents h4 {
        font-size: 14px;
    }

    .parent-link ul.dropdown-menu {
        border: none !important;
    }
    .photo-box h4 {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 600px) {
    /* .achieve-card {
        width: 200px;
        height: 110px;
    }

    .achieve-card::before,
    .achieve-card::after {
        border-left: 100px solid transparent;
        border-right: 100px solid transparent;
    } */
}

@media screen and (max-width: 600px){
    /* .achieve-card {
        width: 150px;
        height: 110px;
    }

    .achieve-card::before, .achieve-card::after {
        border-left: 75px solid transparent;
        border-right: 75px solid transparent;
    } */

    .footer-info{
        display: grid;
        place-items: center;
        text-align: center;
    }
    /* .client-box{
        width: 150px;
        height: 150px;
    } */
    .client-box h3{
        font-size: 14px;
    }
    .project-link {
        height: 100%;
    }  
    .project-link h3 {
        font-size: 14px;
    }
    .project-link img {
        width: 100px;
    }
    .alumni-info h4{
        font-size: 14px;
    }
    
    .alumni-info h4 span{
        font-size: 14px;
    }
    
    .alumni-info span{
        font-size: 12px;
    }

    .video-card h6 {
        font-size: 12px;
        padding: 5px;
    }
  
}


@keyframes revealImage {
    from {
      clip-path: inset(0 0 0 60%);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }