/* Team Page Styles */

/* Header with Logo Only - Seamless with page background */
.team-header {
    background: #f8f9fa; /* Match page background */
    padding: 20px 0;
    box-shadow: none; /* Remove shadow for seamless look */
    border: none;
    margin: 0;
}

.header-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    height: 75px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Team Content Section */
#team-content {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Team Subtitle */
.team-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #555;
    font-weight: 400;
    text-align: center;
    margin: 30px auto 60px;
    max-width: 800px;
}

/* Team Members Container */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Individual Team Member - CENTERED LAYOUT */
.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Member Header - CENTERED */
.member-header {
    text-align: center;
    padding: 50px 40px 40px;
    background: linear-gradient(135deg, #0f193c 0%, #1a2a5e 100%);
}

/* Member Photo - CENTERED */
.member-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #daa520;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.4);
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #1a2a5e 0%, #0f193c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Member Intro Text - CENTERED */
.member-intro {
    color: white;
}

.member-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #daa520;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.member-intro h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.member-role {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #6495ed;
    margin: 0 0 10px 0;
    font-style: italic;
}

.member-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.member-contact a {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #daa520;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-contact a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.member-contact i {
    font-size: 1.1rem;
}

/* Member Content - SIMPLIFIED CLEAN FORMAT */
.member-content {
    padding: 40px 50px;
}

.member-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    text-align: left;
}

.member-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .member-header {
        padding: 40px 25px 30px;
    }

    .member-photo {
        width: 180px;
        height: 180px;
    }

    .member-intro h3 {
        font-size: 2.2rem;
    }

    .member-intro h4 {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 1.1rem;
    }

    .member-content {
        padding: 40px 25px 30px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .content-section h5 {
        font-size: 1.7rem;
    }

    .content-section h6 {
        font-size: 1.3rem;
    }

    .content-section p,
    .content-section li {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 60px;
    }

    .member-photo {
        width: 150px;
        height: 150px;
    }

    .member-intro h3 {
        font-size: 2rem;
    }

    .member-intro h4 {
        font-size: 1.2rem;
    }

    .member-role {
        font-size: 1rem;
    }

    .content-section h5 {
        font-size: 1.5rem;
    }

    .content-section h6 {
        font-size: 1.2rem;
    }

    .content-section p,
    .content-section li {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 20px;
    }

    .summary-quote {
        padding: 25px;
    }
}

/* Fade-in Animation - DISABLED for team members to prevent image loading delay */
.fade-in {
    opacity: 1; /* Changed from 0 to 1 - no fade animation */
    /* animation: fadeIn 0.8s ease forwards; */ /* Disabled */
}

.delay-100 {
    /* animation-delay: 0.1s; */ /* Disabled */
}

.delay-200 {
    /* animation-delay: 0.2s; */ /* Disabled */
}

.delay-300 {
    /* animation-delay: 0.3s; */ /* Disabled */
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
