header.header-area .header__logo img {
    height: 150px;
}

.portfolio-section {
    padding: 60px 0;
    font-family: inherit;
}

.portfolio-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.tab-button {
    background: transparent;
    color: #000;
    border: 1px solid #555555;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #b6e403;
    color: #000000;
    border-color: #b6e403;
}

.tab-button:hover:not(.active) {
    border-color: #ffffff;
}

.tab-container {
    width: 100%;
}

.tab-panel {
    display: none;
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
    display: block;
}

.gallery-grid {
    column-count: 4;
    column-gap: 20px;
    padding: 0;
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.gallery-grid a {
    display: block;
    margin-bottom: 20px;
    break-inside: avoid;
}

.gallery-grid a img {
    margin-bottom: 0;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }

    .tab-button {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    header.header-area .header__logo img {
        height: auto;
    }
}