/*main below facility section*/
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .marquee-track {
    display: flex;
    gap: 20px;
    animation: scrollLeft 35s linear infinite;
  }

  .slide-card {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    background-color: #63cef8;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .slide-card:hover {
    transform: scale(1.05);
  }

  .card-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #2a2783;
  }

  .slide-card h3 {
    font-size: 18px;
    margin: 0;
    color: #2a2783;
  }

  @keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Custom background color classes */
  .bg1 { background-color: #7cd4f7; }
  .bg2 { background-color: #bcf1e8; }
  .bg3 { background-color: #4660f5; }
  .bg4 { background-color: #f7d766; }
  .bg5 { background-color: #cb60f1; }
  .bg6 { background-color: #79c2fa; }
  .bg7 { background-color: #88f788; }
  .bg8 { background-color: #f5786a; }

  @media (max-width: 768px) {
    .slide-card {
      width: 160px;
      height: 160px;
    }

    .card-icon {
      font-size: 30px;
    }

    .slide-card h3 {
      font-size: 14px;
    }
  }
  /*facillities section*/
  
  .image-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.image-marquee-track {
  display: flex;
  gap: 20px;
  animation: imageScroll 30s linear infinite;
}

.facility-img-box {
  flex: 0 0 auto;
  width: 260px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  transition: transform 0.3s ease;
}

.facility-img-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
}

.facility-img-box:hover img {
  transform: scale(1.05);
}

.facility-img-box .caption {
  padding: 10px 0;
  font-weight: 600;
  font-size: 16px;
  color: #2a2783;
  text-align: center;
}

@keyframes imageScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .facility-img-box {
    width: 180px;
  }

  .facility-img-box img {
    height: 130px;
  }

  .facility-img-box .caption {
    font-size: 14px;
    padding: 6px 0;
  }
}
/*cotact us */
#contact .form-control {
  border-radius: 8px;
}

#contact input:focus, 
#contact textarea:focus {
  border-color: #2a2783;
  box-shadow: 0 0 0 0.2rem rgba(42, 39, 131, 0.2);
}
/*pop reg form*/
.modal-content input,
  .modal-content select {
    border-radius: 8px;
    border: none;
  }

  .modal-content input:focus,
  .modal-content select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
  }

  .btn-close {
    filter: invert(1);
  }
  /*admission open*/
  .admission-marquee {
  background-color: #a12421;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1rem;
  color: rgb(255, 252, 252);
  position: relative;
  margin-bottom: 0;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeScroll 15s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/*mobile responsive*/
@media (max-width: 768px) {

  /* Navbar vertical stacking */
  .navbar-nav.flex-row {
    flex-direction: column !important;
    align-items: center;
  }

  .navbar-nav .nav-link h4 {
    font-size: 16px;
    margin: 5px 0;
  }

  /* Carousel image height */
  .carousel-item img {
    height: 220px !important;
    object-fit: cover;
  }

  /* Contact floating button */
  .contact-btn {
    padding: 10px 14px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }

  /* Facility image cards */
  .facility-img-box {
    width: 140px;
    height: auto;
    margin: 0 6px;
  }

  .facility-img-box img {
    height: 90px;
    object-fit: cover;
  }

  /* About section images */
  .rounded-circle.shadow {
    width: 180px !important;
    height: 180px !important;
    margin: 20px auto;
  }

  /* Footer logo image */
  footer .col-md-4 {
    text-align: center;
  }

  footer img {
    width: 180px;
    height: 180px;
  }

  /* Footer contact info text alignment */
  footer p, footer li {
    font-size: 14px;
    text-align: center;
  }

  /* Modal Form */
  .modal-dialog {
    margin: 1rem auto;
  }

  .modal-body input,
  .modal-body select {
    font-size: 14px;
  }

  /* Marquee text */
  .admission-marquee {
    font-size: 14px;
    padding: 8px 0;
  }

}
/*scroll button*/
/* Scroll-to-Top Button */
#scrollBtn {
  display: none;
  position: fixed;
  bottom: 90px; /* ⬅️ pushed upward above contact button */
  right: 25px;
  z-index: 99;
  font-size: 22px;
  background-color: #007bff;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#scrollBtn:hover {
  background-color: #0056b3;
}


