﻿
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 50px;
}

.alumni-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.alumni-image {
    height: 130px;
    overflow: hidden;
    position: relative;
}

    .alumni-image img {
        width: 100%;
        height: 100%;
        object-fit: none;
        transition: transform 0.5s;
    }

.alumni-card:hover .alumni-image img {
    transform: scale(1.05);
}

.alumni-content {
    padding: 5px 10px;
}

.alumni-name {
    font-size: 22px;
    font-weight: 600;
    color: #9e89e5;
}

.alumni-passoutyear {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.alumni-status {
    font-size: 14px;
    line-height: 1.1;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .teaching-hero h1 {
        font-size: 28px;
    }

    .teaching-hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .alumni-image {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
    }
}


