/* 
 * SkyDreamix Tech Solution - Team Page Styles
 */

.team-hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.75)), url('../images/93b253bf663f802262bbce23fdaeb024.webp') center/cover fixed;
    color: var(--white);
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-section {
    background: var(--bg-light);
    position: relative;
    overflow-x: hidden;
}

.team-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.6s ease,
        border-color 0.6s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    max-width: 100%;
}

.team-hero-content h1 {
    color: #ffffff;
    font-weight: 680;
}

.team-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f1f5f9;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-card-image img {
    transform: scale(1.08);
}

.contact-btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 163, 214, 0.3);
}


.team-card-info {
    padding: 30px;
    text-align: center;
}

.team-card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.team-card-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    text-transform: capitalize;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(46, 163, 214, 0.18);
    border-color: var(--primary-color);
}

/* Glassmorphism accent for cards */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.team-card:hover::after {
    left: 100%;
}

@media (max-width: 991px) {
    .team-hero {
        padding: 140px 0 70px;
        text-align: center;
    }

    .team-hero-content h1 {
        font-size: 2.5rem;
    }

    .team-section {
        padding: 60px 0 80px;
    }
}

@media (max-width: 576px) {
    .team-hero {
        padding: 100px 0 50px;
    }

    .team-hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .team-hero-content p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .team-card-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .team-card-info {
        padding: 20px;
    }
    
    .team-card-info h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 400px) {
    .team-hero-content h1 {
        font-size: 1.75rem;
    }
}