/* Top bar */
.top-bar {
    background-color: rgb(31, 120, 155);
    border-top: 2px solid black;
    padding: 15px 0;
    font-size: 22px;
    font-weight: 600;
}

/* Hero section */
.campus-hero {
    position: relative;
    height: 70vh;
    background: url('../Image/b1.jpeg') center center / cover no-repeat;
}

/* Dark overlay */
.campus-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.65); /* DARKER overlay */
    z-index: 1;
}

.campus-hero .container {
    position: relative;
    z-index: 2;
}

/* Fade-in animation */
.fade-in {
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
}

/* Slight delay for subtitle */
.fade-delay {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure text always white */
.campus-title,
.campus-subtitle {
    color: #ffffff !important;
}



/* Title */
.campus-title {
    color: #ffffff !important;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Subtitle */
.campus-subtitle {
    color: #ffffff !important;
    font-size: 16px;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* Prevent hover color change */
.campus-title:hover,
.campus-subtitle:hover {
    color: #ffffff !important;
}

/* Text styling */
.campus-title {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
}

.campus-subtitle {
    font-size: 16px;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .campus-title {
        font-size: 40px;
        color: white;
    }

    .campus-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border-radius: 6px;
}
/* Keep ONLY left border, remove others */
section .card.border-start {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;

    border-left-width: 6px !important;
    border-left-color: rgb(31, 120, 155) !important;
}

/* Change ONLY the section title color */
section h2.fw-bold {
    color: rgb(31, 120, 155) !important;
}

/* Change ONLY the left border color */
section .card.border-start {
    border-left-color: rgb(31, 120, 155) !important;
}

.facility-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* BLUE TEXT BOX */
.facility-title {
    background: rgb(31, 120, 155);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 600;
}

/* Slider and Latest news*/
        .slider-bottom-line {
            height: 6px;
            background: rgb(31, 120, 155);
            width: 100%;
        }
        .latest-news-box img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
        .latest-news-item {
            display: flex;
            gap: 10px;
            border-bottom: 1px solid #ddd;
            padding: 10px 0;
        }
        .latest-news-item h6 {
            margin: 0;
            font-size: 14px;
        }
        .latest-news-item small {
            color: #777;
        }

/* Download */

.download-banner{
    background: rgb(31,120,155);
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.monogram{
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.monogram img{
    width: 100%;
    height: auto;
}

.banner-text{
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.banner-text:hover{
    text-decoration: underline;
}
