/* -----------------------------------------------------------------
    Custom Team Section Styling for DPAY
----------------------------------------------------------------- */

.team-box-items {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    margin-bottom: 30px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
}

.team-box-items:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image .thumb {
    position: relative;
    z-index: 1;
}

.team-image .thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.6s ease;
    /* filter: grayscale(100%); */
}

.team-box-items:hover .team-image .thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-image .social-icon {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    justify-content: center;
    gap: 10px;
    background: rgba(108, 1, 167, 0.9);
    /* Theme color */
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.team-box-items:hover .team-image .social-icon {
    bottom: 0;
}

.team-image .social-icon a {
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
}

.team-image .social-icon a:hover {
    background: #fff;
    color: var(--theme);
}

.team-content {
    padding: 25px 20px;
}

.team-content h4 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.team-content h4 a {
    color: var(--black);
}

.team-content h4 a:hover {
    color: var(--theme);
}

.team-content p {
    font-size: 14px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Section Title Refinement */
.team-section .section-title p {
    max-width: 650px;
    margin: 20px auto 40px;
    color: var(--text);
}