/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-secondary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-secondary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Sub Title Start ***/
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -110px;
    border: 1px solid #fff !important;
}
@media (max-width: 767px) {
    .sub-title::before {
        display: none !important;
    }
}
/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Yantramanav', sans-serif;
    position: relative;
    /*margin-right: 25px;*/
    padding: 35px 0;
    /*color: #1f185f! important;*/
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: #fff!important;
    font-size: 18px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}



.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: #fff !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #fff !important;
    }
    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    /*background: var(--bs-primary);*/
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 60px;
    /*background: var(--bs-primary);*/
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    /* height: 700px; */
    margin-top: 95px;
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
	position: relative;
	padding: 80px 0 0px 0;
    background: #4d0d41!important;
    background-position: center top;
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    object-fit: cover !important;
    border-bottom: 2px solid #fff !important;
    
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 50px;
    }

}
.breadcrumb-item{
    font-size:25px;
}
/*** Single Page Hero Header End ***/


/*** Counter Facts Start ***/

.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.10)), url(../img/page-header.jpg);
   
    /* background-attachment: fixed; */
    background-position: center center;
    background-repeat: no-repeat;
}


.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    border-radius: 10px 10px 0 0;
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-blue) !important;
    display: flex;
    
}

.counter-facts .counter h3 {
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    display: flex;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color:#2196f3 !important;
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** Training Start ***/
.training-carousel .owl-stage-outer {
    margin-top: 30px;
}

.training-carousel .owl-nav .owl-prev,
.training-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.training-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.training-carousel .owl-nav .owl-next {
    right: 0;
}

.training-carousel .owl-nav .owl-prev:hover,
.training-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.training .training-item .training-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.training .training-item .training-img img {
    transition: 0.5s;
}

.training .training-item:hover .training-img img {
    transform: scale(1.2);
}
/*** Training End ***/



/*** Dance Class Start ***/
.class-carousel .owl-stage-outer {
    margin-top: 30px;
}

.class-carousel .owl-nav .owl-prev,
.class-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.class-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.class-carousel .owl-nav .owl-next {
    right: 0;
}

.class-carousel .owl-nav .owl-prev:hover,
.class-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.class .class-item .class-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.class .class-item .class-img img {
    transition: 0.5s;
}

.class .class-item:hover .class-img img {
    transform: scale(1.3);
}
/*** Dance Class End ***/


/*** Blog Start ***/
.blog-carousel .owl-stage-outer {
    margin-top: 30px;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.blog-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.blog-carousel .owl-nav .owl-next {
    right: 0;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}
/*** Blog End ***/

/*** Team Start ***/
.team-carousel .owl-stage-outer {
    margin-top: 30px;
}
.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.team-carousel .owl-nav .owl-next {
    right: 0;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.team .team-carousel .team-item .team-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.team .team-carousel .team-item .team-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    transition: 0.5s;
    z-index: 2;
}

.team .team-carousel .team-item .team-img .team-icon {
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 25px;
    display: flex;
    opacity: 0;
    transition: 0.5s;
    z-index: 3;
}

.team .team-carousel .team-item:hover .team-img .team-icon {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

.team .team-carousel .team-item .team-content {
    position: relative;
    background: var(--bs-secondary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
    transition: 0.5s;
}

.team .team-carousel .team-item .team-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bs-primary) !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-carousel .team-item:hover .team-content a,
.team .team-carousel .team-item:hover .team-content p {
    color: var(--bs-white) !important;
}

.team .team-carousel .team-item:hover .team-content::after {
    height: 100% !important;
}

.team .team-carousel .team-item .team-img img {
    transition: 0.5s;
}

.team .team-carousel .team-item:hover .team-img img {
    transform: scale(1.1);
}
/*** Team End ***/


/*** Vidie Gallery Start ***/
/*** Youtube Video start ***/
.gallery .tab-class {
    text-align: start !important;
}

.gallery .nav-item {
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.gallery .nav-item a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .nav-item a.active span {
    color: var(--bs-white) !important;
}


.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 23px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 70px;
    height: 70px;
    background: var(--bs-white);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 50px;
    height: 50px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 23px solid var(--bs-primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/

/*** Vidieo Gallery End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 30px;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 1px;
    padding: 10px 35px;
    border: 1px solid var(--bs-secondary);
    color: var(--bs-white);
    background: var(--bs-secondary);
    border-radius: 50px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact button.btn.btn-primary.w-100:hover {
    box-shadow: inset 700px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
    border-top: 2px solid #fff !important;
}

.footer .footer-item .footer-link {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
    letter-spacing: 1px;
    color: #fff !important;
}
/*** Footer End ***/
/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /*background: #1f185f !important;*/
   background: linear-gradient(90deg, #2d1545, #42113e) !important;
}
/*** copyright end ***/

/* logo slider */
.single-brand img {
    width: 90%;
    height: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.single-brand img:hover {
    transform: scale(1.1);
}



/*card of diploma */

.blog-item {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}
.blog-item {
    margin: 5px;
}
.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.blog-img img {
    transition: transform 0.3s ease-in-out;
}

.blog-item:hover .blog-img img {
    transform: scale(1.08);
}
/*fetures */
 .feature-hover {
     transition: all 0.3s ease;
 }
 .feature-hover:hover {
     transform: translateY(-7px);
     box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
 }
 /**/
 
 
/* mobile view social icon */
.all_widget_mob {
  display: none;
}
 
.all_widget_mob .facebook {
  background: #3b5998;
}
 
.all_widget_mob .telegram {
  background: #1fa2df;
}
 
.all_widget_mob .youtube {
  background: #f70000;
}
 
.all_widget_mob .instagram {
  background: #fb3958;
}
 
.all_widget_mob .twitter {
  background: #00aced;
}
 
.all_widget_mob:hover .wid_get {
  color: #fff !important;
}
 
.fixed-phone {
  position: fixed;
  bottom: 88px;
  right: 19px;
  z-index: 999;
}
 
.fixed-phone {
  background-color: #5d9813;
  font-size: 30px;
  box-shadow: -2px 4px 8px 0px #595959;
  border-radius: 50px;
  padding: 1px 1px;
  color: #fff;
  margin-right: 2px;
}
 
.fixed-phone .fa {
  border-radius: 50%;
  padding: 10px 11px;
  color: #fff;
  margin-left: 2px;
  font-size: 21px;
}
 
@media (max-width: 575.5px) {
  .all_widget_mob {
      display: block;
      margin: 0 auto;
      width: 100%;
  }
}
 
.all_widget_mob .wid_get {
  float: left;
  position: relative;
  color: #fff;
  font-size: 22px;
  height: 40px;
  width: 19.6%;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
}
 
.all_widget_mob {
  background: 0 0;
  border: none;
  left: 0;
  bottom: 0;
  z-index: 1111;
  position: fixed;
}
 
.all_widget_mob .wid_get {
  width: 20% !important;
}
 
.all_widget .linkedin-in, .all_widget_mob .linkedin-in {
  background: #3b5998;
}
 
.all_widget_mob .wid_get .fa {
  margin-top: 10px;
}
 
  /* whats up */
.fixed-whatsapp {
    position: fixed;
    z-index: 1000;
    bottom: 88px;
    left: 10px;
    display: block;
}
 
.fixed-whatsapp .fa-whatsapp {
    background-color: #00bb00;
    border-radius: 50px;
    padding: 7px 10px;
    color: #fff;
    margin-left: 2px;
    font-size: 33px;
    box-shadow: -2px 4px 8px 0px #595959;
}      
        
 /*announcement section*/
.custom-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.img-title {
    font-size: 15px;
    margin-top: 4px;
    color: #000;
    font-weight:600;
    
}

.card-footer .btn {
    font-weight: 600;
    border-radius: 30px;
}
/* CARD BASE */
.custom-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* CARD BODY */
.custom-card .card-body {
    flex-grow: 1; /* pushes footer to bottom */
}

/* IMAGE ZOOM EFFECT */
.custom-card .card-img-top img {
    transition: transform 0.4s ease;
}

.custom-card .card-img-top .col-6 {
    overflow: hidden;
    border-radius: 6px;
}

/*.custom-card:hover .card-img-top img {*/
/*    transform: scale(1.12);*/
/*}*/

/* BUTTONS STICKY BOTTOM */
.custom-card .card-footer {
    margin-top: auto; /* IMPORTANT */
    background: #fff;
    border-top: 1px solid #eee;
}

/* BUTTON STYLE */
.card-footer .btn {
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 22px;
}
.btn-primary {
    color: #fff !important;
    background: #4d0d41!important;
    border-color: #fff;
}

.text-primary {
    color: #cf9714 !important;
    
}
.card-text{
    color:#000 !important;
}

.card-title{
    color:#1f185f !important;
}


/* --- Our Courses New Grid Styles --- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding: 20px;
}

.flip-card {
    background-color: transparent;
    width: 260px;
    height: 260px;
    perspective: 1000px;
    margin: auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 50%; /* Perfect Circle */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 4px solid #fff;
}

.flip-card-front {
    background-color: #fff;
    color: #4d0d41;
}

.flip-card-back {
    background: linear-gradient(135deg, #42113e, #2d1545);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-front img {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    object-fit: contain;
}

.flip-card-front h5 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #4d0d41;
}

.flip-card-back p {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-view-more {
    background-color: #fff;
    color: #4d0d41 !important;
    border: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-view-more:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Fixes */
@media (max-width: 1199px) {
    .flip-card {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 991px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .flip-card {
        width: 220px;
        height: 220px;
    }
}


/*hospital card*/

.hospital-card{
    position:relative;
    background:#fff;
    border-radius:14px;
    padding:25px;
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    overflow:hidden;
    transition:.4s;
}

.hospital-card img{
    max-width:120px;
    transition:.4s;
}

.hospital-overlay{
    position:absolute;
    inset:0;
    background:rgba(9,118,187,0.95);
    color:#fff;
    text-align:center;
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    opacity:0;
    transform:scale(.9);
    transition:.4s;
}

.hospital-card:hover .hospital-overlay{
    opacity:1;
    transform:scale(1);
}

.hospital-card:hover img{
    opacity:.2;
    transform:scale(1.1);
}

.flip-card{
    perspective:1000px;
    height:210px;
}

.flip-inner{
    position:relative;
    width:100%;
    height:100%;
    transition:transform 0.7s ease;
    transform-style:preserve-3d;
}

.flip-card:hover .flip-inner{
    transform:rotateY(180deg);
}

.flip-front,
.flip-back{
    position:absolute;
    width:100%;
    height:100%;
    border-radius:16px;
    backface-visibility:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* FRONT */
.flip-front{
    background:#fff;
}

.flip-front img{
    max-width:120px;
}

/* BACK */
.flip-back{
    background: linear-gradient(to right, #3c4a7f, #1f185f) !important;
    color:#fff;
    transform:rotateY(180deg);
    flex-direction:column;
}

.flip-back h6{
    font-weight:600;
    font-size:17px;
    margin-bottom:8px;
}

.flip-back p{
    font-size:14px;
    margin:0;
    line-height:1.4;
}
/*index slider first*/

.slider-img{
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

/* Center Glass Box */
.center-glass-box{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 21px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 580px;
    width: 90%;
}

/* Text */
.center-glass-box h2{
    font-size: 30px;
    font-weight: 700;
    color:#1f185f;
    margin-bottom: 10px;
}

.center-glass-box p{
    font-size: 16px;
    color: #222;
    line-height: 1.6;
}
/* Course Title */
.course-title{
    font-weight:700;
    margin-bottom:8px;
}

/* Nav */
.course-nav{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

.course-nav span{
    padding:9px 25px;
    border: 1px solid #1f185f !important;
    border-radius:20px;
    background:#ffffffc7;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
    color:#000 !important;
}

.course-nav span:hover{
    background:#1f185f;
    color:#fff !important;
}

/* carousel transition smooth */
.carousel-item {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
/* slider wrapper */
#campusSlider .carousel-inner {
    background: #fff;
    padding: 20px !important;                
    border: 2px solid #000;       
    border-radius: 6px;

    /* SHARP BLACK SHADOW */
   box-shadow:
    0 10px 14px rgba(0, 0, 0, 0.7),
    0 4px 6px rgba(0, 0, 0, 0.5) !important;
}

/* image inside */
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}



/* ANNOUNCEMENT BOX */
.announcement-box {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
    0 10px 14px rgba(0, 0, 0, 0.7),
    0 4px 6px rgba(0, 0, 0, 0.5) !important;


    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .announcement-header {
    /*background: #1f185f !important;*/
    background: linear-gradient(135deg, #6a1b9a, #c04a8b);

    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    text-align: center;
}

.announcement-list {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.announcement-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    display: flex;
    gap: 8px;
    color: #fff;
}

.announcement-list li span {
    color: #fff;
    font-weight: bold;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .slider-img {
        height: 260px;
    }
}
/* ANNOUNCEMENT BOX */
.announcement-box {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.announcement-header {
    /*background: #1f185f;*/
    background: linear-gradient(90deg, #2d1545, #42113e) !important;
    color: #fff;
    padding: 12px 15px;
    font-weight: 600;
    text-align: center;
}

/* SCROLL AREA */
.announcement-scroll {
    height: 320px;
    overflow: hidden;
    position: relative;
    background:#4d0d41!important;
}

.announcement-list {
    list-style: none;
    padding: 15px;
    margin: 0;
    animation: scrollUp 18s linear infinite;
}

.announcement-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    
}

/* CHECK ICON */
.check {
    color: #1f185f;
    font-weight: bold;
}

/* BLINKING NEW BADGE */
.badge-new {
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: auto;
    animation: blink 1s infinite;
}

/* SCROLL ANIMATION */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* BLINK EFFECT */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* PAUSE ON HOVER */
.announcement-scroll:hover .announcement-list {
    animation-play-state: paused;
}
.announcement-box {
    background: #f8f9fa;
    border-radius: 6px;

}

/*index slider announsement box first*/

/*mobile responsive*/

.slider_section{
    margin-top: 60px !important;
}
/* Mobile View */
@media (max-width: 767px){
    .slider_section{
        margin-top:-12px !important;
    }
    .center-glass-box h2{
    font-size: 17px;
    font-weight: 700;
    color:#1f185f;
    /*margin-bottom: 10px;*/
    }
    .course-nav span{
        padding:0px !important;
        border: none !important;
        border-radius:none !important;
        background:none !important;
        
        cursor:pointer;
        transition:0.3s ease;
        color:#000 !important;
    }
    .center-glass-box{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 11px 15px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 580px;
    width: 90%;
    }
    .about_img{
    margin-left:0px!important;
    }
}

.text-dark {
    color: #fff !important;
}

/*calling btn*/
.fixed-phone {
    position: fixed;
    bottom: 100px;
    right: 31px;
    background: #00bb00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-phone a {
    color: #fff;
    font-size: 22px;
}

@media (max-width: 991px) {

    /* Hostel nav item – add gap below */
    .navbar-light .navbar-nav a[href*="Hostel"],
    .navbar-light .navbar-nav a[href*="hostel"] {
        margin-bottom: 8px !important;
        padding-bottom: 12px !important;
        display: block !important;
    }

}
