/* Estilos para el card elegante del comité nacional */
.team-card-elegante {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-card-elegante:hover {
    transform: translateY(-8px);
}

.card-inner {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(17, 124, 130, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(17, 124, 130, 0.08);
}

.team-card-elegante:hover .card-inner {
    box-shadow: 0 20px 40px rgba(230, 50, 46, 0.15);
    border-color: rgba(230, 50, 46, 0.2);
}

.card-image-container {
    position: relative;
    overflow: hidden;
}

.card-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card-elegante:hover .member-photo {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 50, 46, 0.9) 0%, rgba(17, 124, 130, 0.9) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-elegante:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.ver-perfil-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #117C82;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ver-perfil-btn:hover {
    background: #ffffff;
    color: #E6322E;
    transform: scale(1.05);
    text-decoration: none;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E6322E 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(230, 50, 46, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card-content {
    padding: 25px;
}

.member-info {
    text-align: center;
    margin-bottom: 20px;
}

.member-name {
    margin-bottom: 15px;
}

.member-name a {
    color: #117C82;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.member-name a:hover {
    color: #E6322E;
    text-decoration: none;
}

.member-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #edfbfb 0%, #dcefef 100%);
    border-radius: 20px;
    border: 1px solid rgba(17, 124, 130, 0.1);
}

.detail-item i {
    color: #E6322E;
    font-size: 14px;
    width: 16px;
}

.detail-text {
    color: #117C82;
    font-size: 13px;
    font-weight: 500;
    font-family: "Lato", sans-serif;
}

.card-footer {
    border-top: 1px solid rgba(17, 124, 130, 0.1);
    padding-top: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #edfbfb 0%, #dcefef 100%);
    color: #117C82;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 124, 130, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #E6322E 0%, #ff6b6b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 50, 46, 0.3);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .card-image {
        height: 280px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .member-name a {
        font-size: 20px;
    }
    
    .detail-item {
        padding: 6px 12px;
    }
    
    .detail-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .card-image {
        height: 250px;
    }
    
    .card-content {
        padding: 18px;
    }
    
    .member-name a {
        font-size: 18px;
    }
}
