/* Hero Section - Professional Corporate Style with Background Image */
.hero-legal {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(26, 37, 47, 0.9) 100%),
                url('../img/hero/contact-hero.jpg') center/cover;
    padding: 3.5rem 2rem;
    border-radius: 1rem;
    margin: 2rem 0 3rem 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-legal-content {
    position: relative;
    z-index: 1;
}

.hero-legal h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.team-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(139, 21, 56, 0.2);
}

.team-photo {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: rgba(139, 21, 56, 0.1);
    border-radius: 0.5rem;
    color: #8B1538;
    transition: all 0.2s ease;
}

.contact-icon:hover {
    background: #8B1538;
    color: white;
    transform: translateY(-2px);
}

.department-section {
    scroll-margin-top: 100px;
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

