/* Team section layout fixes */
.team {
    padding: 60px 0 !important;
}

.team .container {
    max-width: 900px !important;
}

.team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    justify-items: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Team member image size fixes */
.team-member {
    max-width: 240px;
    margin: 0;
    border: none !important;
    outline: none !important;
}

.member-image {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border: none !important;
    outline: none !important;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none !important;
    outline: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 15px !important;
    }
    
    .team-member {
        max-width: 180px;
    }
    
    .member-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .team-member {
        max-width: 160px;
    }
    
    .member-image {
        width: 140px;
        height: 140px;
    }
}

/* About Us Section Styles */
.about-us {
    padding: 80px 0;
    background: var(--bg-primary);
}

.about-us .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us .about-text .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-us .about-text .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-us .about-text .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-us .about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-us .about-image {
    text-align: center;
}

.about-us .about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.about-us .about-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Design for About Us */
@media (max-width: 768px) {
    .about-us .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-us .about-text .section-header {
        text-align: center;
    }
    
    .about-us .about-text .section-header h2 {
        font-size: 2rem;
    }
    
    .about-us .about-description p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 60px 0;
    }
    
    .about-us .about-text .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-us .about-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}
