.navbar .nav-item:not(:last-child)::after,
.navbar .nav-link.active::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background: var(--bs-primary);
    transition: .5s;
}
.navbar .nav-item:not(:last-child):hover:after,
.navbar .nav-link.active::after{
    width: 50%;
}

.slider-section .swiper {
    width: 100%;
    height: 100vh;
    /* z-index: -1; */
}
.slider-section .swiper .swiper-wrapper{
    transition: all 1s !important;
}
.slider-section .swiper-slide::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.6));*/
    z-index: 1;
}
.slider-section .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}
.slider-section .swiper-slide .caption{
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}
.slider-section .swiper-button-next::after,
.slider-section .swiper-button-prev::after{
    font-size: 1.5rem;
}
.slider-section .swiper-button-next,
.slider-section .swiper-button-prev{
    display: none;
}
.slider-section .swiper:hover .swiper-button-next,
.slider-section .swiper:hover .swiper-button-prev{
    display: initial;
}
.swiper-pagination-bullet{
    height: 4px;
    width: 30px;
    border-radius: 5px;
}
.swiper-pagination-bullet-active{
    background: var(--bs-primary);
}

.top-section{
    left: 0;
    top: 0;
    z-index: 1111;
    width: 100%;
}

.line-after::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 47.5%;
    /* transform: translateX(-50%); */
    height: 4px;
    width: 60px;
    background: var(--bs-primary);
    transform: skew(-50deg);
}

.section1 .card .icon{
    height: 7.5rem;
    width: 7.5rem;
    line-height: 7.5rem;
    border-radius: 2rem;
    transform: rotate(60deg);
}
.section1 .card .icon + i,
.section1 .card .icon + svg{
    font-size: 4rem;
}
.dot-dot-box{
    background-image: radial-gradient(var(--bs-primary) 15%,transparent 15%);
    background-size: 35px 35px;
    position: absolute;
    left: 25%;
    bottom: -5%;
    padding: 8rem;
}
.radius-box{
    background: #e10c1a;
    width: 500px;
    height: 500px;
    position: absolute;
    right: -430px;
    top: -12%;
    border-radius: 37%;
    transform: rotate(60deg);
    z-index: -1;
}

.section2 img,
.plan-section img,
.products-section img,
.about-section img{
    border-top-right-radius: 20% !important;
    border-bottom-left-radius: 20% !important;
}
/* .section2 .row:hover img, */
.plan-section .row:hover img,
.products-section .row:hover img{
    box-shadow: 0 0 .5rem var(--bs-primary);
}

.home-plan-section .number{
    font-size: 5rem !important;
    -webkit-text-stroke-width: .1rem;
    -webkit-text-stroke-color: var(--bs-primary);
}
.home-plan-section .card,
.testimonials-section .card{
    transition: all .5s;
}
.home-plan-section .card:hover,
.testimonials-section .card:hover{
    transform: scale(1.04);
}
.home-plan-section .card a:hover{
    color: #e10c1a !important;
}

.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev{
    bottom: 0 !important;
    top: auto;
    height: 70px;
    width: 70px;
    line-height: 70px;
}
.testimonials-section .swiper-button-next{
    right: 44%;
}
.testimonials-section .swiper-button-prev{
    left: 44%;
}
.testimonials-section .swiper-button-next::after,
.testimonials-section .swiper-button-prev::after{
    font-size: 1.4rem !important;
}

footer ul li a{
    transition: .4s;
}
footer ul li a:hover{
    color: #e10c1a !important;
    padding-left: 6px;
    font-weight: 700;
}
footer ul li i,
footer ul li svg{
    color: #e10c1a !important;
}
footer .social-links a{
    height: 40px;
    width: 40px;
    line-height: 40px;
    transition: .4s;
}
footer .social-links a:hover{
    /* background: #e10c1a; */
    box-shadow: 0 0 .5rem .3rem #e10c1a;
    color: #ffffff !important;
    transform: rotate(360deg);
}

.scroll-top-btn{
    bottom: 2.5rem;
    right: -100%;
    height: 35px;
    width: 35px;
    line-height: 35px;
    transition: 1s;
}
.scroll-top-btn.active{
    right: 2.5rem;
}




.banner-section{
    height: 300px;
    background-image: linear-gradient(to right top, rgba(var(--bs-primary-rgb)),#000000);
}
.banner-section h2{
    left: 50%;
    transform: translate(-50%,-50%);
    letter-spacing: 2px;
}
.contact-section .icon{
    height: 3.5rem;
    width: 3.5rem;
    line-height: 3.5rem;
}
.contact-section .card:hover{
    box-shadow: 0 0 .5rem var(--bs-primary);
}


.team .card{
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.3);
}
.team .card:hover .card-footer{
    transition: .6s;
}
.team .card:hover .card-footer{
    background: var(--bs-primary) !important;
}
.team .card:hover .card-footer *{
    color: #ffffff;
}
.team .card .card-footer .icon{
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: none;
}
.team .card:hover .card-footer .icon{
    display: initial;
}

.gallery .img-box::before ,
.certificate .card .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
}
.gallery .img-box .icon,
.certificate .card .card-body .icon{
  opacity: 0;
  visibility: hidden;
  transition: .5s;
}
.gallery .img-box:hover:before,
.gallery .img-box:hover .icon,
.certificate .card .card-body:hover:before,
.certificate .card .card-body:hover .icon{
  opacity: 1;
  visibility: visible;
}

.video iframe{
    width: 100% !important;
    height: 250px !important;
}


@media screen and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu{
        display: initial !important;
    }
    
    .objectives-section .card-body i,
    .objectives-section .card-body svg,
    .focus-section .card-body i,
    .focus-section .card-body svg{
        font-size: 5rem !important;
    }
}

@media only screen and (max-width: 768px) {
    .navbar .nav-item:not(:last-child)::after,
    .navbar .nav-link.active::after{
        left: 0;
        transform: translateX(0);
    }
    .navbar .nav-item:not(:last-child):hover:after,
    .navbar .nav-link.active::after{
        width: 25px;
    }
    .slider-section .swiper {
        height: 30vh;
    }
    .slider-section .swiper-slide .caption{
        width: 100%;
    }
    .donors-section iframe{
        height: 100% !important;
    }
    .line-after::after{
        left: 42%;
    }
    .radius-box{
        top: 12%;
    }
    .testimonials-section .swiper-button-next{
        right: 27%;
    }
    .testimonials-section .swiper-button-prev{
        left: 27%;
    }
}