
/* Tabs Section */
.tabs-section {
    margin-bottom: var(--margin);
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--margin-small);
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    padding: 0.8rem 2rem;
    background: white;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.tab.active {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--primary-brown) 100%);
    color: white;
    transform: scale(1.05);
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.member-card {
    background: white;
    border-radius: 30px;
    padding: var(--padding);
    box-shadow: 0 10px 40px var(--shadow);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3em;
    align-items: center;
}

.member-image {
    height: 440px;
    width: 100%;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    box-shadow: 0 8px 30px var(--shadow);
    
    overflow: hidden;
    img {
        object-fit: cover;
        background-size: 100%;
        width: 100%;
        height: 100%;
    }

}

.member-info h2 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1em;
    color: var(--dark);
    width: 100%;
}

.member-text {
    color: var(--gray);
    margin-bottom: 1em;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--terracotta-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 1.4em;
    height: 1.4em;
    
}

.social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px var(--shadow);
}


@media (max-width: 768px) {

    .tabs-section {
        margin-bottom: var(--margin-phone);
    }

   .member-info h2 {
        width: 100%;
    }

    .member-image {
        aspect-ratio: .7;
        max-height: unset;
        max-width: 200px;
        height: auto;
    }

    .member-card {
        grid-template-columns: 1fr;
        gap: 2em;
        padding: var(--padding-small-phone);
        align-items: flex-start;
    }

    .social-links {
        justify-content: center;
    }

    .tabs {
        gap: .3em;
    }

    .tab {
        padding: 0.5em 1.2em;
        border-radius: 50px;
        font-size: 1em;
    }
}