﻿/*--------------------------------------------------------------
# Faculties Section
--------------------------------------------------------------*/

.faculty-section {
    background: #f9fafb;
    overflow: hidden;
}

.faculty-slider {
    overflow: hidden;
    position: relative;
}

.faculty-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.faculty-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: calc(25% - 20px);
    margin: 0 10px;
    flex-shrink: 0;
    text-align: center;
    padding: 15px;
}

.faculty-img-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 10px;
    border: 3px solid #006b8f;
    border-radius: 14%;
    overflow: hidden;
}

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

.faculty-name {
    font-weight: 600;
    color: #222;
}

.faculty-dept {
    color: #666;
    font-size: 14px;
}

.faculty-role {
    color: #888;
    font-size: 13px;
}

@media (max-width: 992px) {
    .faculty-card {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .faculty-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 500px) {
    .faculty-card {
        width: calc(100% - 20px);
    }
}

.news-item {
    display: flex;
    align-items: center;
    background: #cfe8fb;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #fff;
}

/* DATE BOX */
.date-box {
    width: 70px;
    text-align: center;
    background: #ffffff;
    color: #000;
    margin-right: 15px;
    border-radius: 3px;
    overflow: hidden;
    font-weight: 700;
}

    .date-box .month {
        background: #0b2d6b;
        color: #fff;
        display: block;
        padding: 4px 0;
        font-size: 13px;
        text-transform: uppercase;
    }

    .date-box .day {
        display: block;
        font-size: 20px;
        padding: 6px 0 2px;
    }

    .date-box .year {
        display: block;
        font-size: 13px;
        padding-bottom: 6px;
    }

/* CONTENT */
.news-content {
    flex: 1;
}

.adtext {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

    .adtext:hover {
        text-decoration: underline;
    }

.dtype {
    color: #7e0000;
    font-weight: 600;
    margin-left: 5px;
}

.meta {
    margin-top: 5px;
    font-size: 13px;
    color: #e0e0e0;
}

    .meta i {
        margin-right: 5px;
        color: #ff4d4d;
    }

.glass-section {
    background: linear-gradient(135deg, #0b2d6b, #000);
    padding: 10px 0;
}

    /* AUTO EQUAL HEIGHT */
    .glass-section .row {
        display: flex;
        flex-wrap: wrap;
    }

.glass-card {
    height: 100%;
}

/* GLASS CARD */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 9px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
}

    .glass-card:hover {
        transform: translateY(-12px) scale(1.02);
    }

/* ICON SMALLER & TITLE-BASED */
.vm-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

/* ICON COLORS */
.vision-bg {
    background: linear-gradient(135deg, #2196f3, #0b2d6b);
}

.mission-bg {
    background: linear-gradient(135deg, #43a047, #1b5e20);
}

.objective-bg {
    background: linear-gradient(135deg, #ff9800, #ef6c00);
}

.student-bg {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}

/* TITLE */
.vm-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* COUNTER */
.vm-counter {
    font-size: 34px;
    font-weight: 700;
    margin: 15px 0;
}

    .vm-counter small {
        display: block;
        font-size: 14px;
        font-weight: 400;
        color: #e0e0e0;
    }

/* READ MORE */
.vm-read {
    color: #ffd54f;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

    .vm-read i {
        margin-left: 6px;
        transition: transform 0.3s;
    }

    .vm-read:hover i {
        transform: translateX(6px);
    }

/* EVENT CARD */
.event-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
}

    .event-card:hover {
        transform: translateY(-8px);
    }

/* IMAGE */
.event-img {
    position: relative;
}

    .event-img img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }

    /* HOVER LAYER */
    .event-img .layer {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,85,255,0.85), rgba(0,0,0,0.75));
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: 0.3s ease;
    }

    .event-img:hover .layer {
        opacity: 1;
    }

    .event-img .layer p {
        font-size: 18px;
        font-weight: 600;
    }

/* CONTENT */
.event-content {
    padding: 18px;
    text-align: center;
}

    .event-content h5 a {
        color: #111;
        font-weight: 600;
        text-decoration: none;
    }

        .event-content h5 a:hover {
            color: #005eff;
        }

/* DATE */
.event-date {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

    .event-date i {
        color: #005eff;
        margin-right: 6px;
    }
