/********** Template CSS **********/
:root {
    --primary: #e5332d;
    --secondary: #525368;
    --light: #e8f5e9;
    --dark: #1f6399;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
body {
    /*color: #222222;*/
    font-family: "montserratlight";
    font-size: 18px;
    line-height: 30px;
    /*text-align: left;*/
    /*background: #fff;*/
}
.line-heigth-2 {
    line-height: 2;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

/* background color */
.bg-dark {
    background-color: #811f52 !important;
}
.bg-warning {
    background-color: #fec72c !important;
}
.bg-light {
    background-color: #f5eef1 !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff;
    background-color: #811f52;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: 0.5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}
.btn-primary {
    color: #fff;
    background-color: #004a87;
    border-color: #004a87;
}

.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: 0.5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 25px 0;
    color: #000;
    font-size: 17px;
    font-weight: 500;
    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;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #eeeeee;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, 0.6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

#header-carousel .carousel-item img {
    /* position: absolute; */
    width: 100%;
    height: 75vh;
    /*object-fit: cover;*/
    object-fit: fill;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        /*min-height: 450px;*/
        min-height: 250px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 80%;
        /*object-fit: cover;*/
        object-fit: fill;
    }
    .carousel-caption {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgba(15, 66, 41, 0.6);
        z-index: 1;
        height: 75%;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        /*margin-top: -80px;*/
        z-index: 0;
    }
}

.blink {
    /*width:200px;*/
    /*height: 50px;*/
    /*  background-color: magenta;*/
    /*padding: 15px;	*/
    /*text-align: center;*/
    /*line-height: 50px;*/
}
.blink span {
    /*font-size: 25px;*/
    font-family: cursive;
    color: red;
    animation: blink 1s linear infinite;
}
@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, 0.6);
}

/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: 0.3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: 0.3;
}

.service-item:hover .service-text h4 {
    color: #ffffff;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: 0.3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}

/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: 0.5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, 0.6);
    transition: 0.5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: 0.3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    /* left: -100%; */
    bottom: 45px;
    padding: 1rem;
    background: #ffffff;
    border-radius: 0 4px 4px 0;
    /* opacity: 0; */
    transition: 0.5s;
}

/* .team-item:hover .team-text {
    left: 0;
    opacity: 1;
} */

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: 0.3s;
    opacity: 1;
}
.team-item img {
    width: 100%;
    height: 350px;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

.testimonial-carousel .owl-item img {
    display: inline;
    /* width: 100%; */
}

/*** Footer ***/
.footer .btn.btn-link {
    display: inline-block;
    /* display: block; */
    margin-bottom: 1px;
    padding: 2px;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}
.footer ul li {
    text-decoration: none;
    list-style-type: none;
}
.footer ul li a {
    padding: 5px;
}

.copyright {
    color: var(--light);
    background: #072a19;
}

.copyright a {
    color: #ffffff;
}

.copyright a:hover {
    color: var(--primary);
}

.why-us-right img {
    width: 90px;
}

/* ====slider ==== */
.slider {
    width: 100%;
    height: 200px;
    position: relative;
    margin: auto;
    overflow-x: scroll;
    overflow-y: hidden;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider .slide {
    display: flex;
    position: absolute;
    left: 0;
    transition: 0.3s left ease-in-out;
}

.slider .item {
    margin-right: 10px;
}

.slider .item:last-child {
    margin-right: 0;
}

.ctrl {
    text-align: center;
    margin-top: 5px;
}

.ctrl-btn {
    padding: 20px 20px;
    min-width: 50px;
    background: #fff;
    border: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    outline: none;

    position: absolute;
    top: 50%;
    margin-top: -27.5px;
}

.ctrl-btn.pro-prev {
    left: 0;
}

.ctrl-btn.pro-next {
    right: 0;
}

/*** Service coures ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: 0.5s;
}

/* .project-item:hover img,
  .project-carousel .owl-item.center img {
    margin-top: -60px;
  } */

.project-item img,
.project-carousel .owl-item.center img {
    margin-top: 0px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 5px;
    width: 100%;
    height: 72px;
    bottom: 0px;
    left: 0;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(254, 199, 44);
    /* background: var(--dark); */
    transition: 0.5s;
    color: #cf4032;
}
@media only screen and (max-width: 600px) {
    .project-item .project-title {
        height: 90px;
    }
}

/* .project-item:hover .project-title,
  .project-carousel .owl-item.center .project-title {
    bottom: -60px;
  } */

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: rgb(254, 199, 44);
    /* background: var(--dark); */
    transition: 0.5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.project-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 300px;
}

/* coouser section */
.course-section img {
    width: 100%;
    height: 450px;
}

.Results img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #fff;
    background-color: #cf4032;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* courses page  */
.course-circle {
    background-color: #184e7d;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 50px;
}
.course-circle1 {
    background-color: #838586;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 50px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(24 78 125);
    color: #fff;
}
.admision-from {
    margin: 0;
    color: #edf3ff;
    background: #c8c8c8;
    background: url(https://hdqwalls.com/download/material-design-4k-2048x1152.jpg)
        fixed;
    /* background-size: cover; */
    background-size: contain;
    font: 600 16px/18px "Open Sans", sans-serif;
}
.admision-from-bg {
    background-color: rgba(0, 0, 0, 0.7);
}
.admision-from label {
    font-weight: 400;
    padding-bottom: 4px;
}

#topbar {
    background: #f8f6f5;
    /* padding: 10px 0; */
    font-size: 14px;
}
marquee span ::after {
    content: attr(title) "| ";
    padding-left: 30px;
    padding-right: 30px;
}

.text-6-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.text-10-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    opacity: 0 !important;
}

.submenu-item-hover {
    position: absolute;
    inset: auto;
    margin: auto 0 0 57px !important;
    transform: translate(103px, 0px);
    /* display: none; */
}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    background-color: #ff1b00;
    color: white !important;
    padding: 20px 10px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    right: 2px;
    width: 52px;
    z-index: 1;
    writing-mode: tb-rl;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
}

/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

/* Full-width input fields */
.form-container input[type="text"],
.form-container input[type="password"] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
}

.form-container input[type="text"] {
    width: 100%;
    padding: 7px;
    margin: 5px 0 7px;
    border: none;
    background: #ffffff;
    border: solid 1px #ccc;
}

/* When the inputs get focus, do something */
.form-container input[type="text"]:focus,
.form-container input[type="password"]:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #04aa6d;
    color: white !important;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 17px;
    color: black;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

.blink_me_anima {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
