/* Team Section Styles - Separate CSS to avoid conflicts */

/* Our Team Section */
.our-team {
    padding: var(--section-padding);
    background-color: var(--white);
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.team-image:hover img {
    transform: scale(1.02);
}

.team-text h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.team-text p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-text p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .team-content {
        gap: 2rem;
        padding: 0 15px;
    }
    
    .team-image {
        max-width: 100%;
    }
    
    .team-text h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .team-text p {
        font-size: 1rem;
    }
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .team-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .team-image {
        max-width: 600px;
    }
    
    .team-text h3 {
        font-size: 1.6rem;
    }
    
    .team-text p {
        font-size: 1rem;
    }
}

/* Large Desktop Adjustments */
@media (min-width: 1200px) {
    .team-content {
        padding: 0 40px;
    }
}