/* Team Page Specific Styles */

.sub-hero {
    background: linear-gradient(rgba(5, 25, 35, 0.8), rgba(5, 25, 35, 0.8)),
        url('../images/team-cover.jpg') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.sub-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 950;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -3px;
}

.sub-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.team-image-wrapper {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-main);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.1);
}

.team-card-info {
    padding: 30px;
    text-align: center;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), transparent);
}

.team-card-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.team-card-info .role {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.team-card-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.team-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.team-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.team-social a:hover {
    color: #fff;
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.team-social a:hover::before {
    opacity: 1;
}

.team-social a.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.team-social a.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.team-social a.envelope:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .sub-hero h1 {
        font-size: 2.5rem;
    }
}