/* Team page specific styles */
body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

.team-container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    min-height: 100vh;
}

/* Logo override for team page */
.team-container #logo {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    display: block;
    margin: 0 auto 40px;
    opacity: 0.9;
    pointer-events: auto;
}

/* Heading styles */
.team-container h1 {
    color: #39ff14;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 
        0 0 10px rgba(57, 255, 20, 0.6),
        0 0 20px rgba(57, 255, 20, 0.4);
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Content box */
.team-container .content {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Description paragraph */
.description {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Team member card */
.team-member {
    background-color: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    background-color: rgba(57, 255, 20, 0.05);
    border-color: rgba(57, 255, 20, 0.5);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transform: translateY(-5px);
}

/* Member avatar */
.member-avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(57, 255, 20, 0.4));
    border: 2px solid rgba(57, 255, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #39ff14;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Avatar image styling */
.avatar-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(57, 255, 20, 0.5);
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
}

/* Member name */
.member-name {
    color: #39ff14;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Member role */
.member-role {
    color: rgba(57, 255, 20, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Member bio */
.member-bio {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* LinkedIn link */
.linkedin-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: rgba(57, 255, 20, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #39ff14;
    transform: scale(1.1);
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* Advisors section */
.advisors-heading {
    color: #39ff14;
    text-align: center;
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 30px;
    text-shadow: 
        0 0 10px rgba(57, 255, 20, 0.6),
        0 0 20px rgba(57, 255, 20, 0.4);
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Advisors grid */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Advisor member card */
.advisor-member {
    background-color: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.advisor-member:hover {
    background-color: rgba(57, 255, 20, 0.05);
    border-color: rgba(57, 255, 20, 0.5);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transform: translateY(-3px);
}

/* Advisor avatar */
.advisor-avatar {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.avatar-placeholder-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(57, 255, 20, 0.4));
    border: 2px solid rgba(57, 255, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #39ff14;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Advisor name */
.advisor-name {
    color: #39ff14;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Advisor bio */
.advisor-bio {
    color: #e0e0e0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Back button */
.back-button {
    display: inline-block;
    margin-bottom: 30px;
    color: rgba(57, 255, 20, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid rgba(57, 255, 20, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.back-button:hover {
    background-color: rgba(57, 255, 20, 0.1);
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .team-container {
        padding: 20px 15px 60px;
    }
    
    .team-container h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .avatar-image {
        width: 80px;
        height: 80px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-bio {
        font-size: 0.85rem;
    }
    
    .advisors-heading {
        font-size: 1.8rem;
        margin-top: 50px;
    }
    
    .advisors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .advisor-member {
        padding: 18px;
    }
    
    .avatar-placeholder-small {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }
    
    .advisor-name {
        font-size: 1rem;
    }
    
    .advisor-bio {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .team-container h1 {
        font-size: 1.8rem;
    }
    
    .team-container .content {
        padding: 20px;
    }
    
    .team-member {
        padding: 15px;
    }
    
    .advisors-heading {
        font-size: 1.6rem;
        margin-top: 40px;
    }
    
    .advisors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advisor-member {
        padding: 15px;
    }
    
    .avatar-placeholder-small {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .advisor-name {
        font-size: 1rem;
    }
    
    .advisor-bio {
        font-size: 0.8rem;
    }
}

