.sbf-team-section {
    padding: 100px 0;
    position: relative;
}

.sbf-team-header {
    text-align: center;
    margin-bottom: 50px;
}

.sbf-team-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #0d6b5d;
    margin-bottom: 14px;
    font-family: inherit;
}

.sbf-team-title {
    margin: 0;
    font-size: 62px;
    line-height: 1.15;
    font-weight: 700;
    color: #0e2d28;
}

.sbf-team-title span {
    color: #ff7b11;
}

.sbf-team-card {
    background: #f5f5f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.35s ease;
    height: 100%;
}

.sbf-team-card:hover {
    transform: translateY(-6px);
}

.sbf-team-image-wrap {
    position: relative;
    overflow: hidden;
}

.sbf-team-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: all 0.45s ease;
}

.sbf-team-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    height: 38%;
    background: linear-gradient(180deg, rgba(4, 33, 29, 0) 0%, rgba(4, 33, 29, 0.92) 100%);
    transition: all 0.4s ease;
    z-index: 2;
}

.sbf-team-content {
    padding: 20px 26px 24px;
    position: relative;
    background: #f5f5f0;
    transition: all 0.4s ease;
}

.sbf-team-name {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #19352f;
}

.sbf-team-designation {
    font-size: 16px;
    color: #49615b;
    font-weight: 500;
}

.sbf-team-socials {
    position: absolute;
    right: 18px;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.35s ease;
    z-index: 5;
}

.sbf-team-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #15352f;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    font-size: 16px;
}

.sbf-team-socials a:hover {
    background: #0d3a34;
    color: #fff;
}



.sbf-team-card:hover .sbf-team-overlay,
.sbf-team-card.is-active .sbf-team-overlay {
    bottom: 0;
}

.sbf-team-card:hover .sbf-team-socials,
.sbf-team-card.is-active .sbf-team-socials {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sbf-team-card:hover .sbf-team-content,
.sbf-team-card.is-active .sbf-team-content {
    background: #062d28;
}

.sbf-team-card:hover .sbf-team-name,
.sbf-team-card.is-active .sbf-team-name {
    color: #fff;
}

.sbf-team-card:hover .sbf-team-designation,
.sbf-team-card.is-active .sbf-team-designation {
    color: #ff7b11;
}


.sbf-team-card.is-active .sbf-team-plus {
    display: none;
}

.sbf-team-card.is-active .sbf-team-close {
    display: inline-block;
}

.sbf-team-button-wrap {
    margin-top: 45px;
    text-align: center;
}

.sbf-team-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 58px;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff !important;
    background: linear-gradient(135deg, #18c3b1 0%, #18b7aa 50%, #15b3a3 100%);
    box-shadow: 0 10px 24px rgba(24, 195, 177, 0.22);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.sbf-team-view-all-btn:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(24, 195, 177, 0.28);
    background: linear-gradient(135deg, #14b7a6 0%, #12ad9f 50%, #109a8c 100%);
}

.sbf-team-view-all-btn:focus {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.sbf-team-view-all-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.sbf-team-view-all-btn:hover::before {
    left: 130%;
}

@media (max-width: 767px) {
    .sbf-team-button-wrap {
        margin-top: 35px;
    }

    .sbf-team-view-all-btn {
        min-width: 220px;
        min-height: 52px;
        padding: 14px 26px;
        font-size: 17px;
    }
}

@media (max-width: 1199px) {
    .sbf-team-title {
        font-size: 54px;
    }
}

@media (max-width: 991px) {
    .sbf-team-section {
        padding: 80px 0;
    }

    .sbf-team-title {
        font-size: 42px;
    }

    .sbf-team-image {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .sbf-team-section {
        padding: 60px 0;
    }

    .sbf-team-title {
        font-size: 34px;
    }

    .sbf-team-subtitle {
        font-size: 16px;
    }

    .sbf-team-image {
        height: 300px;
    }
}