/* General Styles */
.portfolio-tabs {
    font-family: Arial, sans-serif;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px !important;
    justify-content: center;
}

.tabs-nav .tab {
    margin-right: 15px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f0efef;
    color: #333;
    transition: all 0.3s;
    margin-bottom: 0 !important;
    font-size: 15px !important;
    transition: all 0.3s;
}
.tabs-nav .tab:hover{
    background-color:#bcbaba
}
.tabs-nav .tab.active {
    background-color: #28b5a4;
    font-weight: bold;
    color: #fff;
}

/* Tabs Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Portfolio Item */
.portfolio-item {
    width: calc(33.33% - 20px);
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0,.5)
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 290px;
    background-size: cover;
    background-position: center;
    transition-timing-function: ease-in-out;
    transition-duration: 1.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(40,181,164,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-item:hover .portfolio-image {
    transform: scale(1.1); /* Zoom effect */
    transition-timing-function: ease-in-out;
    transition-duration: 1.5s;
}

.portfolio-title {
    margin: 0;
    font-size: 18px !important;
    font-weight: bold;
    color: #fff;
}

.portfolio-description {
    margin: 5px 0 0;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .portfolio-item {
        width: calc(50% - 20px); /* Two columns for tablets */
    }
}

@media screen and (max-width: 480px) {
    .portfolio-item {
        width: 100%; /* Single column for smaller screens */
    }
}
