﻿
.leaders-title {
    text-align: center;
    font-size: 30px;
    margin-top: 15px;
    margin-bottom: 40px;
    color: #a94442;
    position: relative;
}

    .leaders-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 340px;
        height: 2px;
        background-color: #a94442;
    }

/* Teaching Staff Grid */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.leaders-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.leaders-image {
    height: 130px;
    overflow: hidden;
    position: relative;
}

    .leaders-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s;
    }

.leaders-card:hover .leaders-image img {
    transform: scale(1.05);
}

.leaders-content {
    padding: 15px 10px;
}

.leaders-name {
    font-size: 22px;
    font-weight: 600;
    color: #a94442;
    /* margin-bottom: 5px; */
}

.leaders-designation {
    font-size: 16px;
    color: #666;
    /* margin-bottom: 10px; */
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .teaching-hero h1 {
        font-size: 28px;
    }

    .teaching-hero p {
        font-size: 16px;
    }

    .leaders-title {
        font-size: 25px;
    }

    .leaders-image {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
    }
}

