/* Contact Name and Affiliation Styling */

.contact-name-affiliation {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed rgba(255, 105, 180, 0.2);
    text-align: center;
    position: relative;
}

.contact-name-affiliation::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
}

.contact-name {
    color: #ff69b4;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 105, 180, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 180, 0);
    }
}

.contact-affiliation {
    color: #ff69b4;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.5rem 0;
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 105, 180, 0.1);
    border-radius: 8px;
    display: inline-block;
    border: 2px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.15);
    letter-spacing: 0.02em;
    animation: pulse-border 2s infinite;
    position: relative;
    z-index: 2;
}

/* Hover Effects */
.contact-name-affiliation:hover .contact-name {
    color: #db7093;
}

.contact-name-affiliation:hover .contact-affiliation {
    color: #ff69b4;
}

.contact-name-affiliation:hover::after {
    width: 200px;
    transition: width 0.4s ease;
}
