/* Team Page Styles */

.team-section {
    padding: 5rem 0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Team Introduction */
.team-intro {
    background-color: #fff;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Team Members Section */
.team-members {
    background-color: var(--secondary-color);
    color: #fff;
}

.team-member {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member:last-child {
    margin-bottom: 0;
}

.member-image {
    position: relative;
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.team-photo:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.member-info {
    padding: 1rem 0;
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.member-title {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.member-bio {
    line-height: 1.8;
    color: #ffffff;
    font-size: 1.1rem;
}

.member-bio p {
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.credentials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.credentials h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #ffffff;
    font-size: 1.05rem;
}

.credentials li:before {
    content: '•';
    color: #d4af37;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Professional Development Section */
.professional-development {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4af37 100%);
    color: var(--secondary-color);
    text-align: center;
}

.professional-development h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.development-content > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-item {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.certification-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.certification-item p {
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .team-section {
        padding: 4rem 0;
    }

    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-photo {
        height: 500px;
        filter: grayscale(100%);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .team-photo:hover {
        filter: grayscale(0%);
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-container {
        padding: 0 1.5rem;
    }

    .intro-content h2,
    .professional-development h2 {
        font-size: 2rem;
    }

    .member-info h3 {
        font-size: 1.8rem;
    }

    .team-photo {
        height: 400px;
        filter: grayscale(100%);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .team-photo:hover {
        filter: grayscale(0%);
        transform: scale(1.02);
    }

    .certification-item {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-section {
    animation: fadeInUp 0.6s ease-out forwards;
}
