/* team.css - Premium Styling for the CareMed Team Page */

.team-filter-menu .filter-btn {
    background: transparent;
    border: 2px solid var(--about-primary, #0F5E3B);
    color: var(--about-primary, #0F5E3B);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.text-success {

    color: #009688 !important;
}

.team-filter-menu .filter-btn:hover,
.team-filter-menu .filter-btn.active {
    background: var(--about-primary, #0F5E3B);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 94, 59, 0.2);
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.4s ease;
    opacity: 0;
}

.team-card:hover .team-social {
    bottom: 0;
    opacity: 1;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--about-primary, #0F5E3B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--about-primary, #0F5E3B);
    color: white;
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.team-role {
    color: var(--about-green, #1FA36A);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.team-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

/* Core Values New Design */
.values-section {
    position: relative;
    z-index: 1;
}

.value-card-v2 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08) !important;
}

.value-card-v2 .text-warning {
    color: #fca311 !important;
    /* The custom orange from the screenshot */
    transition: all 0.3s ease;
}

.value-card-v2 .bg-warning {
    background-color: #fca311 !important;
    transition: all 0.3s ease;
}

.value-card-v2 .bg-opacity-10 {
    background-color: rgba(252, 163, 17, 0.1) !important;
    transition: all 0.3s ease;
}

.value-card-v2 .rounded-circle {
    transition: all 0.3s ease;
}

/* Hover effects for the icon as requested */
.value-card-v2:hover .rounded-circle {
    background: linear-gradient(135deg, var(--caremed-green, #1FA36A), var(--caremed-bluish, #0c2b4b)) !important;
    transform: scale(1.1);
}

.value-card-v2:hover .text-warning {
    color: white !important;
}