

        .alumni-section {
            background: var(--bg-color);
            padding: 80px 20px;
            text-align: center;
        }

        .alumni-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 40px;
            position: relative;
            text-transform: uppercase;
        }

        .alumni-section .section-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #1c3b70;
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }

        .section-intro {
            max-width: 800px;
            margin: 30px auto 50px auto;
            font-size: 1.1rem;
            line-height: 1.7;
            color: var(--text-muted);
            font-weight: 500;
        }

        .alumni-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .alumni-card {
            background: var(--card-bg);
            border-radius: 15px;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--card-border);
            padding: 20px;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .alumni-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--card-shadow-hover);
        }

        .alumni-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 15px;
            transition: transform 0.4s ease, filter 0.3s ease;
            filter: brightness(95%);
        }

        .alumni-card:hover img {
            transform: scale(1.05);
            filter: brightness(105%);
        }

        .alumni-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 10px 0 5px;
            color: #0a2f5c;
        }

        .alumni-card p {
            font-size: 1rem;
            color: #555;
            margin: 0;
        }

@media (max-width: 768px) {
    .alumni-section {
        padding: 40px 10px;
    }

    .alumni-section .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .alumni-grid {
        gap: 20px;
    }
}
/* Hover comment slide-up styles */
.alumni-card {
    position: relative;
    overflow: hidden;
}

.alumni-comment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.95); /* Deep BCET blue with high opacity */
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    transform: translateY(102%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    box-sizing: border-box;
}

.alumni-card:hover .alumni-comment {
    transform: translateY(0);
}

.alumni-comment p {
    color: #ffffff !important;
    font-size: 0.88rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
    font-family: var(--font-body);
    padding: 5px;
}

/* Custom scrollbar inside comment box if text is long */
.alumni-comment p::-webkit-scrollbar {
    width: 4px;
}
.alumni-comment p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.alumni-comment p::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
