  #schoolCarousel {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-in-out;
  }
  #schoolCarousel.loaded {
    opacity: 1;
    transform: translateY(0);
  }
  body{
            overflow-x: hidden;
        }
       p.border {
    border: 1px solid #FF7E2D !important;
}
/* Base card style */
.custom-card {
  transition: all 0.5s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background: #fff;
}

/* Hover effect: background gradient + shadow + slight zoom */
.custom-card:hover {
  background: #5B3825;
  color: #fff;
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Text inside card changes color on hover */
.custom-card:hover h3,
.custom-card:hover p {
  color: #fff !important;
}

/* Icon circle */
.icon-circle {
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}

/* Icon pulse on hover */
.custom-card:hover .icon-circle {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 0 20px rgba(255,255,255,0.7);
}
.owl-carousel-item {
    position: relative;
}
.carousel-overlay h1 {
    font-size: 3rem;
}

#vertical-marquee {
  position: absolute;
  width: 100%;
  bottom: -150px;  /* Start BELOW container height */
  animation: scroll-up 10s linear infinite;
}

@keyframes scroll-up {
  0%   { bottom: -150px; }   /* start fully hidden at bottom */
  100% { bottom: 100%; }     /* move all the way up */
}

#vertical-marquee:hover {
  animation-play-state: paused;
}

.facility-img-wrapper {
  width: 100%;
  height: 200px; /* 🔥 set fixed height (adjust as needed) */
  overflow: hidden;
  border-radius: 8px;
}

.facility-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops and keeps proportion */
  display: block;
}

/* Slide image from right */
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.slide-in-right {
  animation: slideInRight 1s ease forwards;
}


.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

/* Optional: stagger news items */
.news-item {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.news-item:nth-child(1) { animation-delay: 0.2s; }
.news-item:nth-child(2) { animation-delay: 0.4s; }
.news-item:nth-child(3) { animation-delay: 0.6s; }
.news-item:nth-child(4) { animation-delay: 0.8s; }
/* Add more if needed */

@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Parent relative */
.dropdown-submenu {
  position: relative;
}

/* Submenu hidden by default */
.dropdown-submenu .submenu {
  display: none;
  position: absolute;
  top: 10%;
  left: 100%;
  min-width: 180px;
  z-index: 999;
}



.dropdown-submenu .submenu.show {
  display: block;
}


