/* Team Page Styles - Professional & Simple with Dropdown */

.team-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.95) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 3rem;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 23, 68, 0.1), transparent 50%);
    pointer-events: none;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.team-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.team-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.team-selector-section {
    padding: 2.5rem 0 1.5rem;
    background: var(--bg-color, #0f172a);
}

.team-selector-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-selector-wrapper {
    position: relative;
}

.team-selector {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 12px;
    color: #FF1744;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.team-selector:hover {
    border-color: rgba(255, 23, 68, 0.5);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 4px 20px rgba(255, 23, 68, 0.15);
}

.team-selector:focus {
    outline: none;
    border-color: #FF1744;
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.2);
}

.team-selector option {
    background: #1e293b;
    color: #fff;
    padding: 1rem;
}

.selector-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #FF1744;
    width: 20px;
    height: 20px;
}

.team-content-section {
    padding: 2rem 0 5rem;
    background: var(--bg-color, #0f172a);
}

.team-content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-container {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.team-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.team-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.03) 0%,
            transparent 50%,
            rgba(255, 107, 107, 0.03) 100%);
    pointer-events: none;
}

.team-section-name {
    font-size: 2rem;
    font-weight: 700;
    color: #FF1744;
    margin-bottom: 2.5rem;
    text-align: center;
}

.team-group {
    margin-bottom: 3rem;
}

.team-group:last-child {
    margin-bottom: 0;
}

.team-group-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-member {
    padding: 0.625rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: padding-left 0.2s ease;
}

.team-member:hover {
    padding-left: 0.375rem;
}

.member-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    margin: 0;
    flex: 1;
}

.member-role {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
    margin-right: auto;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.linkedin-icon:hover {
    opacity: 0.9;
}

/* Hierarchy Colors - GOLDEN for Leadership (Premium Look) */
.team-member.president .member-name,
.team-member.vice-president .member-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.team-member.president:hover .member-name,
.team-member.vice-president:hover .member-name {
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.team-member.general-secretary .member-name,
.team-member.treasurer .member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #FFC107;
}

.team-member.lead .member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #FFB300;
}

.team-member.por .member-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #FFE082;
}

.team-member.advisor .member-name,
.team-member.faculty .member-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.team-member.member .member-name {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Lead/Co-lead Extra Highlighting */
.team-member.co-lead .member-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.team-member.co-lead:hover .member-name {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    transform: translateY(-2px);
}

.sub-members {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.sub-members .team-member {
    padding: 0.5rem 0;
}

.sub-members .member-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.view-more-btn {
    background: rgba(255, 23, 68, 0.15);
    border: 1px solid rgba(255, 23, 68, 0.4);
    color: #FF1744;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 1rem 0 0 0;
    display: inline-block;
}

.view-more-btn:hover {
    background: rgba(255, 23, 68, 0.25);
    border-color: rgba(255, 23, 68, 0.6);
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.2);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.25rem;
    }

    .team-hero p {
        font-size: 1rem;
    }

    .team-selector {
        font-size: 1rem;
        padding: 0.875rem 2.5rem 0.875rem 1.25rem;
    }

    .team-content-container {
        padding: 0 1rem;
    }

    .team-container {
        padding: 2rem 1.5rem;
    }

    .team-section-name {
        font-size: 1.625rem;
    }

    .team-group-title {
        font-size: 1.125rem;
    }

    .team-member {
        flex-wrap: wrap;
    }

    .member-role {
        order: 3;
        margin-left: 0;
        width: 100%;
        margin-top: 0.25rem;
    }

    .linkedin-icon {
        order: 2;
    }

    .sub-members {
        margin-left: 1rem;
    }
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.explore-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.9), rgba(220, 20, 60, 0.9));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
    margin: 3rem auto 0;
    display: flex;
    width: fit-content;
}

.explore-team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4);
    background: linear-gradient(135deg, rgba(255, 23, 68, 1), rgba(220, 20, 60, 1));
}

.explore-team-btn svg {
    transition: transform 0.3s ease;
}

.explore-team-btn:hover svg {
    transform: translateX(4px);
}