.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 5vw;
}

.tabs {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    flex-wrap: wrap;
}

.tab-button {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    margin: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    z-index: 1;
}

.tab-button.active {
    background-color: #ff6200;
    color: #fff;
    border-color: #ff6200;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background-color: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 2;
}

.tab-content {
    display: none;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.profile-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 150px;
    height: 150px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 auto 10px;
    object-fit: cover;
}

.view-profile-button {
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    margin-top: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-profile:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .profile-card {
        width: 200px;
        padding: 1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin: 4px;
    }

    .tab-button.active::after {
        bottom: -8px;
        width: 16px;
        height: 8px;
    }

    .tab-content.active {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        width: 90%;
        padding: 1rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .view-profile-button {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}
