.tabs-container {
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

/* Tabs */
/*.tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #ddd;
}

.tab {
    padding: 20px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
}

.tab img.tab-icon {
    width: 80px;
    height: 80px;
}

.tab p {
    margin-top: 10px;
    font-size: 16px;
    color: #777;
}

.tab.active, .tab:hover {
    background-color: #eef;
    border-bottom: 3px solid #4a90e2;
}

.tab.active p {
    color: #4a90e2;
}*/

/* Content */
.tab-content .content {
    display: none;
    padding: 20px;
    background-color: #fff;
    /*border: 1px solid #ddd;*/
    border-top: none;
}

.tab-content .content.active {
    display: block;
}

/* Tabs Container */
.tabs {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap; /* Ensures no wrapping */
    overflow-x: auto; /* Allows horizontal scroll if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

/* Tabs */
.tab {
    flex: 0 0 auto; /* Prevent tabs from shrinking */
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
    min-width: 100px; /* Ensures a minimum clickable width */
}

.tab img.tab-icon {
    width: 100px;
    height: 100px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(68%) saturate(5580%) hue-rotate(315deg) brightness(101%) contrast(106%);
}

.tab p {
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}

.tab.active, .tab:hover {
    background-color: #eef;
    border-bottom: 3px solid #7a0046;
}

.tab.active p {
    color: #7a0046;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: nowrap; /* Prevent tabs from wrapping */
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 10px;
        min-width: 80px; /* Smaller tabs for small screens */
    }

    .tab img.tab-icon {
        width: 24px;
        height: 24px;
    }

    .tab p {
        font-size: 12px;
    }
}