/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 55px;
    z-index: 99;
}


/*** 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;
}

marquee {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #f8f9fa;
  white-space: nowrap;
}
.topbar-banner {
  background-color: #880808; /* Example: Deep Indigo */
}


@keyframes pulseColor {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 192, 0, 0.7); /* #efc000 glow */
    background-color: #28a745; /* original green */
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(239, 192, 0, 0);
    background-color: #efc000; /* pulse color */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 192, 0, 0);
    background-color: #28a745; /* back to green */
  }
}

.pulse-btn {
  animation: pulseColor 2s infinite;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}



/*** Navbar ***/
 .img-wrapper {
    height: 251px;
    overflow: hidden;
  }

  .img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  @media (max-width: 767.98px) {
    .img-wrapper {
      height: 200px;
    }
  }
  

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

/* Navigation buttons */
.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

/* Responsive Fix */
@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    height: auto;
    min-height: auto;
  }

  #header-carousel .carousel-item img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 767.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%; /* smaller click area on mobile */
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    border: 4px 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 ***/
svg {
  transition: transform 0.3s ease;
}
svg:hover {
  transform: scale(1.15);
}

.shadow-sm {
  transition: box-shadow 0.3s;
}
.shadow-sm:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}


@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.about-subheading {
  text-align: justify;
  font-weight: 600;
  line-height: 1.6;
  color: #333333;
}

.about-text {
  text-align: justify;
  font-size: 1.05rem;
  color: #444444;
  line-height: 1.8;
  letter-spacing: 0.3px;
}


/*** Courses ***/
   .services-bg {
        background-color: #ff8800;
        padding: 60px 0;
    }

    .courses-item {
        border: 5px solid red;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .courses-item:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    .btn-call-animate {
        animation: pulseBtn 1.5s infinite;
        background-color: #dc3545 !important; /* Optional red tone */
        border: none;
    }

    @keyframes pulseBtn {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
        }
        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
        }
    }

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}

.square-btn {
  padding: 30px 10px;
  font-size: 16px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.square-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.why-choose-text {
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
  color: #f1f1f1; /* light grey or match your theme */
  letter-spacing: 0.3px;
  margin-top: 15px;
  margin-bottom: 20px;
}

/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}

.animated-pulse {
  animation: pulse 1.8s infinite;
  transition: all 0.3s ease-in-out;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}



/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
  .testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .testimonial-card p {
    font-size: 0.95rem;
    color: #555;
  }


/*** 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);
}

@media (max-width: 767.98px) {
  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #198754; /* Same as btn-success */
  }

  .mobile-fixed-buttons a {
    height: 60px;
    font-size: 16px;
    border-radius: 0;
  }

  .mobile-bottom-spacer {
    height: 60px; /* Same height as the fixed buttons */
    width: 100%;
  }
}

