.school-header {
    background-color: #0e250b;
    /* You can change this to any color */
    color: white;
}

.custom-navbar {
    color: #fff;
    background-color: #021a31;
    /* Custom dark blue */
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
    padding: 18px 18px;
}

/* Dropdown on hover */
.navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar-nav .dropdown-menu {
    margin-top: 0;
    background-color: #021a31;
}

.navbar-nav .dropdown-menu a {
    color: #fff;
}

.navbar-nav .dropdown-menu a:hover {
    background-color: #021a31;
}
.custom-footer {
    background-color: #021a31;
}

.footer-link {
    color: #f1f1f1;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.footer-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

.map-container iframe {
    border-radius: 5px;
}

/* Home Latest news Thinker*/

.latest-news-ticker {
    font-size: 1rem;
    height: 40px;
}

.latest-news-label {
    min-width: 130px; /* fix label width */
    text-align: center;
}

.news-ticker-wrapper {
    position: relative;
}

.news-ticker-content {
    display: inline-block;
    color: #333; /* dark text for news */
    animation: scroll-left 20s linear infinite;
    white-space: nowrap;
}

.news-link {
    color: #000; /* bootstrap primary blue */
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
    color: #0056b3; /* darker blue on hover */
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Slider Image*/
.slider-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slider-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 80%;
}
.text-gradient {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teacher-card {
    cursor: pointer;
}

.teacher-img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.teacher-card:hover .teacher-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.teacher-info {
    transition: opacity 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.teacher-card:hover .teacher-info {
    opacity: 1;
    pointer-events: auto;
}
.teacher-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.holiday-weekend {
    background-color: #ffd6d6 !important; /* light pink for weekends */
}

.holiday-db {
    background-color: #f9a8a8 !important; /* darker pink for DB holidays */
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #0d6efd; /* Bootstrap blue */
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #0b5ed7; /* Darker blue on hover */
    transform: scale(1.1);
}

 .calendar-container {
        max-width: 700px;
        margin: 0 auto;
        font-size: 12px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 70px;
        padding: 2px;
    }

    .fc .fc-daygrid-day-top {
        flex-direction: column;
    }

    .fc-daygrid-day-events {
        font-size: 0.7rem;
    }

    .holiday-label {
        color: #800000;
        font-weight: bold;
        font-size: 0.7rem;
        text-align: center;
        margin-top: 2px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .weekend-label {
        color: #b30000;
        font-weight: 600;
        font-size: 0.7rem;
        text-align: center;
        margin-top: 2px;
    }

    .holiday-cell {
        background-color: #ffcccc !important;
    }

    .weekend-cell {
        background-color: #ffe6e6 !important;
    }
    .img-hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

