.item {
    display: none;
    /* Hide items initially */
}

.active {
    display: block;
    /* Show active items */
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portfolio-card {
    background-color: #0d0c22;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    /* Three cards per row with margin */
    box-sizing: border-box;
    transition: transform 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}


/* Column Sizes */
.col-12 {
    flex: 0 0 100%;
    /* Full width */
}

.our_clients_page .col-4 {
    flex: 0 0 calc(25% - 20px);
    /* Three columns */
}

.portfolio-text-container {
    margin-top: 15px;
}

.portfolio-project-image {
    border-radius: 10px;
    width: 75%;
    margin: 0 auto;
    display: flex;
}

.portfolio-text {
    font-size: 10px;
    color: #545453;
    display: flex;
    margin: 0 auto;
    margin-top: 5px;
    justify-content: center;
}

.portfolio-client-logo {
    max-width: 170px;
}

.filter-button {
    cursor: pointer;
    font-size: 18px;
    background: #0d0c22;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    padding: 8px 20px;
    margin-right: 15px;
    margin-top: 10px;
}

.active-filter {
    color: #62e7f3;
    border-color: #62e7f3;
}

.project-name {
    color: #707072;
    font-size: 12px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.font-10 {
    font-size: 10px;
}

.project-name.mt-2 {
    margin-top: 10px;
}

@media (min-width: 1200px) {
    .container.portfolio-container {
        max-width: 1531px !important;
    }
}

@media (max-width: 991px) {
    .our_clients_page .col-4 {
        flex: 0 0 calc(35% - 20px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .our_clients_page .col-4 {
        flex: 0 0 calc(33.33% - 20px);
        /* Two columns */
    }
}

@media (max-width: 768px) {
    .our_clients_page .col-4 {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {

    /* 
    .our_clients_page .col-4,
    .col-12 {
        flex: 0 0 100%;
    } */
    .portfolio-project-image {
        width: 100%;
    }

    .portfolio-card {
        margin: 10px 0px;
        padding: 10px;
    }

    .portfolio-text-container {
        margin-top: 13px;
        text-align: center;
    }

    .project-name {
        font-size: 10px;
    }

    .portfolio-text {
        margin-top: 6px;
        font-size: 10px;
    }
}

.filter-buttons {
    margin-top: 20px;
}