/* Management Committee Styles */

/* Main Section Background */
.admin-body-section {
    padding: 30px 0;
    min-height: 80vh;
    background: linear-gradient(to bottom, var(--primary-teal), var(--primary-teal-dark));
}

/* Header Text Styling */
.admin-body-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.admin-body-section .section-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.admin-body-section .section-header p {
    color: var(--off-white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Profiles Grid Layout */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Individual Profile Card */
.admin-card {
    background: var(--secondary-maroon);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-maroon);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Card Content Container */
.admin-card-inner {
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

/* Profile Picture Circle Background */
.admin-image-wrapper {
    width: 180px;
    height: 180px;
    margin-bottom: 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: var(--cream-warm);
}

/* Profile Picture Details */
.admin-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

/* Member Name */
.admin-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* Position Badge */
.admin-post {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--secondary-maroon-dark);
    background: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Mouse Hover Animations */
.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    border-color: var(--navbar-border);
}

.admin-card:hover .admin-image-wrapper {
    border-color: var(--secondary-maroon);
    box-shadow: 0 0 15px rgba(139, 26, 50, 0.15);
}

.admin-card:hover .admin-image {
    transform: scale(1.1);
}

.admin-card:hover .admin-name {
    color: var(--secondary-maroon);
}

.admin-card:hover .admin-post {
    background: var(--secondary-maroon);
    color: var(--white);
    border-color: var(--secondary-maroon);
}

/* Phone and Tablet Formatting */
@media (max-width: 992px) {
    .admin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .admin-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .admin-card {
        max-width: none;
        margin: 0;
        width: 100%;
    }

    /* Adjust image size for 3-column layout on mobile */
    .admin-image-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
        border-width: 3px;
    }

    .admin-card-inner {
        padding: 1.2rem 0.4rem;
    }

    .admin-name {
        font-size: 0.9rem;
    }

    .admin-post {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Footer Colors for Transition */
#footer .custom-shape-divider-top .shape-fill {
    fill: var(--primary-teal-dark);
}