/* Team Card Container */
.team-card {
    position: relative;
    padding-bottom: 50px; /* Space for the overlapping box */
    margin-top: 20px;
    margin-bottom: 50px;
}

/* Arch Image Styling */
.team-image-wrapper {
    /* Creates the top arch shape */
    border-radius: 180px 180px 20px 20px;
    overflow: hidden;
    border: 6px solid #ffffff; /* White outline */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    aspect-ratio: 3 / 4; /* Keeps images consistent */
    position: relative;
    background-color: #f4f4f4; /* Fallback color */
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Optional: To make images grayscale like your upload */
.team-image-wrapper img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.team-card:hover .team-image-wrapper img {
    filter: grayscale(0%); /* Color on hover */
}

/* Overlapping Dark Info Box */
.team-info-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background-color: #111111;
    border-radius: 20px;
    padding: 22px 15px;
    text-align: center;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: transform 0.3s ease;
}

.team-card:hover .team-info-box {
    transform: translateX(-50%) translateY(-5px); /* Slight lift on hover */
}

/* Name Styling */
.team-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: inherit;
}

/* Green Role Badge */
.team-role {
    display: inline-block;
    background-color: #00d26a; /* Vivid Green */
    color: #000000;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Swiper Pagination Customization --- */
.hr-team-slider .swiper-pagination {
    bottom: 0px !important;
}

.hr-team-slider .swiper-pagination-bullets .swiper-pagination-bullet {
    background: #d1d1d1;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hr-team-slider .swiper-pagination-bullet-active {
    background: #00d26a !important; /* Match your green badge */
    width: 30px !important;
    border-radius: 30px;
}