/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #e5f5ff;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


.btn-gradients {
    /* width: 350px; */
    /* padding: 5px 10px; */
    background-image: linear-gradient(to right, #f00, #f0f);
    color: #fff;
    border: 0;
    border-radius: 10px;
    outline: 0;
    animation: drift 1s linear infinite;
}

.btn-gradients:active {
    animation: none;
}

@keyframes drift {
    12.5% {
        background-image: linear-gradient(to right, #f0f, #00f);
    }

    25% {
        background-image: linear-gradient(to right, #00f, #0ff);
    }

    37.5% {
        background-image: linear-gradient(to right, #0ff, #0f9);
    }

    50% {
        background-image: linear-gradient(to right, #0f9, #0a0);
    }

    62.5% {
        background-image: linear-gradient(to right, #0a0, #ff0);
    }

    75% {
        background-image: linear-gradient(to right, #ff0, #fa0);
    }

    87.5% {
        background-image: linear-gradient(to right, #fa0, #f00);
    }

    100% {
        background-image: linear-gradient(to right, #f00, #f0f);
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    width: 170px;
}


.navbar .navbar-nav .nav-link {
    margin-right: 24px;
    padding: 12px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    outline: none;
    border: none;
}

.navbar .navbar-toggler {
    color: transparent !important;
    border-color: transparent !important;
}

.navbar .navbar-toggler-icon {
    width: 24px;
    height: 18px;
    background-image: none;
    position: relative;
    border-bottom: 3px solid var(--dark);
    transition: all 300ms linear;
}

.navbar .navbar-toggler-icon:after,
.navbar .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 2px;
    background-color: var(--dark);
    top: 0;
    left: 0;
    content: '';
    /* z-index: 2; */
    transition: all 300ms linear;
}

.navbar .navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-collapse {
        position: absolute;
        background: var(--light);
        height: 100vh;
        width: 415px;
        left: -282px;
        top: 102px;
        box-shadow: var(--box-shadow);
        padding-top: 10px;
        padding-left: 32px;
        transition: 0s linear;
        z-index: 99;
    }

    .navbar-collapse.show {
        top: 102px;
        left: 0px;
    }

    .navbar .navbar-brand {
        width: 140px;
    }
}


@media (max-width:577px) {
    .navbar-collapse {
        position: absolute;
        background: var(--light);
        height: 100vh;
        width: 100%;
        left: -282px;
        top: 102px;
        box-shadow: var(--box-shadow);
        padding-top: 10px;
        padding-left: 32px;
        transition: 0s linear;
        z-index: 99;
    }

    .navbar .dropdown-menu {
        font-size: 12px;
    }
}


@media (min-width: 900px) and (max-width: 1024px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 12px;
        padding: 12px 0;
        color: var(--dark);
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        outline: none;
    }
}


/*** carousel ***/

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}


.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -36px;
        z-index: 1;
    }
}


/*** marquee-box ***/
.marquee-box {
    background: var(--primary);
    color: var(--dark);
}

/*** Courses ***/
.courses {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(227, 225, 225, 0.9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item img {
    position: relative;
    transition: .5s
}

.courses-list-item img {
    position: relative;
    transition: .5s
}

.courses-item .courses-text,
.courses-list-item .courses-text {
    position: absolute;
    width: 100%;
    height: calc(100% + 86px);
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #120f2d);
    transition: .5s;
    z-index: 1
}

.courses-list-item .courses-text {
    height: 100%
}

.courses-list-item:hover img {
    transform: scale(1.2)
}


/* ******************** Event Start ************************ */

#event-news .notification {
    background: var(--light);
}

#event-news .notification .notification-info {
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    height: 400px;
    overflow-y: hidden;
}

#event-news .notification h3 {
    color: var(--primary);
}

#event-news .notification .notification-details {
    margin-bottom: 20px;
}

#event-news .notification .notification-details .heading {
    color: var(--dark);
}

#event-news .notification .notification-details .text {
    color: rgb(55, 55, 55);
}

#event-news .event {
    background: var(--primary);
}

#event-news .event h3 {
    color: white;
}

#event-news .event .event-carousel h4 {
    color: var(--dark);
}

#event-news .event .event-item {
    background: var(--light);
    padding: 18px;
}

#event-news .event .date-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
}

#news-event .news-box {
    border: 2px solid var(--secondary);
    background: var(--light);
    border-radius: 5px;
}

#news-event .news-box h3 {
    color: var(--primary);
}

#news-event .news-box p {
    color: var(--dark);
}



.clamped-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamped-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamped-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamped-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamped-8 {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ******************** Event End ************************ */



/*** Program ***/
.guidance .box {
    border: 2px solid var(--primary);
    background: var(--light);
    color: var(--dark);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/*** Program ***/
.programBox {
    background: var(--light);
    border: 1px dotted var(--secondary);
    text-align: center;
    padding: 0px 25px 40px;
    border-radius: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.programBox:hover {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}

.programBox:before,
.programBox:after {
    content: "";
    background: linear-gradient(to top, var(--dark), var(--primary));
    width: 10px;
    border-radius: 0 100px 100px 0;
    position: absolute;
    top: 110px;
    bottom: 35px;
    left: 0;
}

.programBox:after {
    border-radius: 100px 0 0 100px;
    left: auto;
    right: 0;
}

.programBox .program-icon {
    color: #fff;
    background: linear-gradient(-45deg, var(--dark) 49%, var(--primary) 50%);
    font-size: 45px;
    line-height: 92px;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 100px;
    border: 15px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.programBox:hover .program-icon i {
    transform: rotateX(360deg);
    transition: all 0.3s;
}

.programBox .title {
    color: var(--dark);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.programBox .description {
    color: #444;
    font-size: 14px;
    line-height: 24px;
    margin: 0;
}

.programBox ul {
    text-align: start;
}

.our_program_scroll {
    height: 250px;
    overflow-y: auto;
}


/*** call-to-action ***/
.call-to-action {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(193, 193, 220, 0.9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


/*** Counter ***/
.counter {
    background: linear-gradient(rgba(145, 155, 206, 0.9), rgba(159, 159, 246, 0.9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.counter span {
    font-size: 18px;
    font-weight: 500;
}

/*** features ***/
.features .info-box {
    border: 2px dashed var(--primary);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}




/*** Team ***/
.team-info {
    border: 2px dashed var(--dark);
    border-radius: 18px;
    background: var(--light);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.team-info .image {
    /* height: 400px;
    width: 400px; */
    border-radius: 50%;
    overflow: hidden;
    border: 3px dashed var(--primary);
}



/*** Testimonial ***/
.testimonial {
    margin: 0 20px 4px;
}

.testimonial .testimonial-content {
    padding: 35px 25px 35px 50px;
    margin-bottom: 20px;
    background: var(--light);
    border: 1px solid var(--light);
    position: relative;
    height: 240px;
}

.testimonial .testimonial-content:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--light);
    position: absolute;
    bottom: -10px;
    left: 22px;
    transform: rotate(45deg);
}

.testimonial-content .testimonial-icon {
    width: 50px;
    height: 45px;
    background: var(--primary);
    text-align: center;
    font-size: 22px;
    color: #fff;
    line-height: 42px;
    position: absolute;
    top: 37px;
    left: -19px;
}

.testimonial-content .testimonial-icon:before {
    content: "";
    border-bottom: 16px solid #e4b312;
    border-left: 18px solid transparent;
    position: absolute;
    top: -16px;
    left: 1px;
}

.testimonial .description {
    font-size: 15px;
    font-style: italic;
    color: var(--dark);
    line-height: 23px;
    margin: 0;
}

.testimonial .title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-transform: capitalize;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.testimonial .post {
    display: block;
    font-size: 14px;
    color: var(--primary);
}

.testimonial-carousel .owl-dots {
    height: 20px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.testimonial .image {
    width: 70px;
    height: 70px;

}

.testimonial .image img {
    border: 5px;
    border-radius: 50%;

}

/* mission-vission */
.mission-vission {
    color: #fff;
    text-align: center;
    padding: 0 15px 50px;
    margin-top: 15px;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
}

.mission-vission:before {
    content: "";
    background: linear-gradient(to bottom, var(--dark), #00D9E8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0% 80%, 0 0);
    clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0% 80%, 0 0);
}

.mission-vission .service-icon {
    background: #2a969e;
    font-size: 60px;
    line-height: 110px;
    width: 100px;
    height: 110px;
    margin: -20px auto 20px;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s;
}

.mission-vission:hover .service-icon {
    text-shadow: 0 0 5px #000;
    font-size: 65px;
}

.mission-vission .service-icon:before,
.mission-vission .service-icon:after {
    content: "";
    background: linear-gradient(-45deg, #28595f 49%, transparent 50%);
    height: 20px;
    width: 20px;
    position: absolute;
    top: 0;
    left: -20px;
}

.mission-vission .service-icon:after {
    transform: rotateY(180deg);
    left: auto;
    right: -20px;
}

.mission-vission .title {
    font-size: 32px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}



/*** Footer ***/
.contact-info .details {
    border: 2px solid var(--dark);
    border-radius: 20px;
    background: var(--light);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact-info .details .icon {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-info .details a {
    color: var(--primary);
    font-size: 19px;
    font-weight: 500;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}


/* new -------------------------------------------------------------------- */

@media(max-width:576px) {
    .owl-carousel .owl-nav .owl-prev {
        display: none;
    }

    .owl-carousel .owl-nav .owl-next {
        display: none;
    }
}



/* gallery start =================================================== */

@keyframes zoomin {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.gallery-item {
    display: block;
}

.gallery-item {
    width: 100%;
    height: 260px !important;
}

.gallery-item img {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s;
    width: 100%;
    height: 260px !important;
}

.gallery-item:hover img {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}

.lightbox-modal .modal-content {
    background-color: var(--lightbox);
}

.lightbox-modal .btn-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    z-index: 10;
    filter: invert(1) grayscale(100);
}

.lightbox-modal .modal-body {
    display: flex;
    align-items: center;
    padding: 0;
}

.lightbox-modal .lightbox-content {
    width: 100%;
}

.lightbox-modal .carousel-indicators {
    margin-bottom: 0;
}

.lightbox-modal .carousel-indicators [data-bs-target] {
    background-color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-inner {
    width: 75%;
}

.lightbox-modal .carousel-inner img {
    animation: zoomin 10s linear infinite;
}

.lightbox-modal .carousel-item .carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 2rem;
    background-color: var(--lightbox);
    color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
    width: auto;
}

.lightbox-modal .carousel-control-prev {
    left: 1.25rem;
}

.lightbox-modal .carousel-control-next {
    right: 1.25rem;
}

@media (min-width: 1400px) {
    .lightbox-modal .carousel-inner {
        max-width: 60%;
    }
}

[data-bs-theme="dark"] .lightbox-modal .carousel-control-next-icon,
[data-bs-theme="dark"] .lightbox-modal .carousel-control-prev-icon {
    filter: none;
}

.btn-fullscreen-enlarge,
.btn-fullscreen-exit {
    position: absolute;
    top: 1.25rem;
    right: 3.5rem;
    z-index: 10;
    border: 0;
    background: transparent;
    opacity: 0.6;
    font-size: 1.25rem;
}

.bi {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.035em;
    fill: currentcolor;
}


/* achievement -================================================================== */
.achievement .box {
    color: #fff;
    background: linear-gradient(to right, #ffe600, #fcdc10);
    font-family: 'REM', sans-serif;
    text-align: center;
    position: relative;
    z-index: 1;
}

.achievement .box:before {
    content: '';
    height: 40px;
    width: 40px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    opacity: 0;
    transform: scale(0);
    transform-origin: top right;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: all 0.4s ease;
    z-index: 1;
}

.achievement .box:hover:before {
    opacity: 1;
    transform: scale(1);
}

.achievement .box img {
    width: 100%;
    height: auto;
    transition: all 0.4s ease 0s;
}

.achievement .box:hover img {
    opacity: 0.2;
}

.achievement .box-content {
    width: 100%;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transition: all 0.4s ease;
}

.achievement .box:hover .box-content {
    opacity: 1;
}

.achievement .box .title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    margin: 0 0 1px;
}

.achievement .box .post {
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .2);
    display: block;
    padding: 10px;
    text-align: start;
}



@media only screen and (max-width:990px) {
    .achievement .box {
        margin: 0 0 30px;
    }
}



/* img single ================================================================================================== */
.single-img img {
    height: 500px !important;
}

@media(max-width:576px) {}

/* floating start ========================================================== */
.floating_btn a {
    text-decoration: none;
}

.floating_btn {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}

.floating_btn .contact_icon {
    background-color: #42db87;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 #42db87;
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}

.floating_btn .text_icon {
    margin-top: 8px;
    color: #707070;
    font-size: 13px;
}


/* pop up start ============================================================= */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
