﻿.team-area {
    background: #f8fcff;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .team-area {
        padding-bottom: 120px;
        padding-top: 120px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .team-area {
        padding-bottom: 80px;
        padding-top: 80px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .team-area {
        padding-bottom: 60px;
        padding-top: 60px;
    }
}

@media (max-width: 575px) {
    .team-area {
        padding-bottom: 50px;
        padding-top: 50px;
    }
}

/* Enhanced Team Member Cards - Equal Height */
.team-area .single-team {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    height: 100%; /* Ensure full height */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack children vertically */
}

    .team-area .single-team:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    /* Team Caption - Now grows to fill space */
    .team-area .single-team .team-caption {
        padding: 20px 15px;
        text-align: center;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        flex-grow: 1; /* Makes caption fill available space */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Vertically center content */
    }

        /* Text Elements */
        .team-area .single-team .team-caption h3 {
            margin-bottom: 8px;
            font-size: 22px;
            font-weight: 600;
            color: #33384e;
            transition: color 0.3s ease;
            word-break: break-word; /* Prevent long names from overflowing */
        }

        .team-area .single-team .team-caption p {
            color: #57667e;
            font-size: 14px;
            transition: color 0.3s ease;
            text-align: center;
            word-break: break-word; /* Prevent long titles from overflowing */
        }

/* Team Structure Image */
.team-area .about-img {
    width: 100%;
    max-width: 800px; /* Limit max width for larger screens */
    margin: 0 auto;
}

.team-area .team-structure-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover; /* Ensure image scales properly */
}

/* Responsive Image Adjustments */
@media (max-width: 767px) {
    .team-area .about-img {
        padding: 0 15px; /* Add padding for mobile */
    }

    .team-area .team-structure-img {
        border-radius: 8px; /* Slightly smaller radius for mobile */
    }

    .team-area .row.mb-90 {
        margin-bottom: 50px; /* Reduce margin for mobile */
    }
}

@media (max-width: 575px) {
    .team-area .team-structure-img {
        max-height: 300px; /* Limit image height on small screens */
    }
}
/* Ensure all cards in row have same height */
.row {
    display: flex;
    flex-wrap: wrap;
}

    .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }


.meetings-section {
/*    background: #f8f9fa;
*/    background: #f8fcff;
    padding: 60px 0;
}

.meetings-table {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .meetings-table th {
        background-color: var(--primary-color);
        color: white;
        font-weight: 600;
    }

    .meetings-table td, .meetings-table th {
        padding: 15px;
        vertical-align: middle;
    }
