﻿
/* Teaching Staff Grid */
.teaching-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.teacher-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

/* .teacher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        } */

.teacher-image {
    height: 130px;
    overflow: hidden;
    position: relative;
}

    .teacher-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s;
    }

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-content {
    padding: 15px 10px;
}

.teacher-name {
    font-size: 20px;
    font-weight: 600;
    color: #a94442;
    /* margin-bottom: 5px; */
}

.teacher-designation {
    font-size: 16px;
    color: #666;
    /* margin-bottom: 10px; */
    font-weight: 500;
}

.teacher-qualification {
    font-size: 14px;
    line-height: 0.9;
    color: #555;
}
/* Responsive Design */
@media (max-width: 992px) {
    .teaching-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;
    }

    .teacher-image {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .teaching-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
    }
}


