.managing-committee-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.management-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.profile-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* margin-bottom:20px; */
    margin-top: 45px;
}

.profile-image-wrapper {
    position: relative;
    height: 180px;
    width: 180px;
    margin: 20px auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f0f0f0;
    box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    clip-path: circle(50% at 50% 50%); /* Use clip-path for circular shape */
}

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

.profile-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 10px; /* Made more compact */
    font-size: 1.15rem; /* Slightly smaller for compactness */
    font-weight: 600;
    text-align: center;
}

.profile-body {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px; /* Added margin-top for separation from image wrapper */
}

.profile-designation {
    font-size: 1rem;
    font-weight: 500;
    color: #0077b6;
    margin-bottom: 10px;
}

.profile-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: #0077b6;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #005a8d;
}
