.portfolio-section {
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
    background: radial-gradient(circle at 20% 30%, rgba(4, 167, 86, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 49, 49, 0.08) 0%, transparent 50%),
                #0a0a0a;
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(1, 185, 95, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 49, 49, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.works-showcase-container {
    max-width: 1400px;
    margin: 20px auto;
    position: relative;
    z-index: 2;
}

.works-showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.works-showcase-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Mobile responsive title */
@media (max-width: 768px) {
    .works-showcase-title {
        letter-spacing: -1px !important;
    }
}

@media (max-width: 480px) {
    .works-showcase-title {
        letter-spacing: -0.5px !important;
    }
}

.works-showcase-title .highlight {
    background: linear-gradient(45deg, #04A756, red, green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
}

.works-showcase-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(45deg, red, green);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.works-showcase-description {
    line-height: 1.6;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.works-categories-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-item {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(1, 185, 95, 0.1);
    border-color: rgba(1, 185, 95, 0.3);
    color: #01B95F;
    transform: translateY(-1px);
}

.works-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

/* Mobile responsive grid */
@media (max-width: 768px) {
    .works-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 0 10px 40px 10px !important;
    }
    
    .works-showcase-item {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .works-showcase-image-section {
        height: 250px !important;
    }
}

@media (max-width: 768px) {
    /* Gallery navigation buttons - always visible on tablets */
    .gallery-nav {
        opacity: 1 !important;
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 480px) {
    .works-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin: 0 5px 30px 5px !important;
    }
    
    .works-showcase-item {
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 15px !important;
    }
    
    .works-showcase-image-section {
        height: 200px !important;
        border-radius: 15px 15px 0 0 !important;
    }
    
    .works-showcase-content {
        padding: 15px !important;
    }
    
    /* Gallery navigation buttons - smaller and always visible on mobile */
    .gallery-nav {
        opacity: 1 !important;
        width: 30px !important;
        height: 30px !important;
    }
    
    .gallery-nav.prev {
        left: 8px !important;
    }
    
    .gallery-nav.next {
        right: 8px !important;
    }
}

.works-showcase-item {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.works-showcase-item:hover {
    transform: translateY(-5px);
    border-color: rgba(1, 185, 95, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.works-showcase-image-section {
    height: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(20, 20, 20, 0.9) 50%, 
        rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(8px);
    z-index: 10;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}

.portfolio-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(1, 185, 95, 0.1) 0%, 
        rgba(255, 49, 49, 0.08) 100%);
    border-radius: 20px 20px 0 0;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 20px;
}

.portfolio-overlay-icon {
    margin-bottom: 15px;
    opacity: 0.8;
    background: linear-gradient(45deg, #04A756, #ff3131);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-overlay-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.portfolio-overlay-subtext {
    opacity: 0.7;
    color: #ccc;
}

/* Hover state - slide overlay to the left to peek */
.works-showcase-item:hover .portfolio-overlay {
    transform: translateX(-60%);
}

/* Clicked state - completely hide overlay */
.works-showcase-item.overlay-removed .portfolio-overlay {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Ensure gallery is visible when overlay is moved */
.works-showcase-item.overlay-removed .works-showcase-gallery {
    opacity: 1;
}

/* Hide navigation buttons when overlay is active */
.works-showcase-item:not(.overlay-removed) .gallery-nav,
.works-showcase-item:not(.overlay-removed) .image-counter {
    opacity: 0;
    pointer-events: none;
}

/* Show navigation only when overlay is removed */
.works-showcase-item.overlay-removed:hover .gallery-nav {
    opacity: 1;
    pointer-events: auto;
}

.works-showcase-gallery {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.works-showcase-gallery img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.works-showcase-item:hover .works-showcase-gallery img {
    filter: brightness(1) contrast(1.2);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

.gallery-nav:hover {
    background: rgba(1, 185, 95, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.works-showcase-item:hover .gallery-nav {
    opacity: 1;
}

.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 3;
}

.works-showcase-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.works-showcase-category {
    display: inline-block;
    background: linear-gradient(45deg, red, green);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.works-showcase-company {
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.works-showcase-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 5px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(1, 185, 95, 0.2);
    border-color: rgba(1, 185, 95, 0.3);
    color: #01B95F;
}

.works-showcase-results {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-number {
    font-weight: 700;
    color: #ccc;
    margin-bottom: 5px;
    line-height: 1.2;
}

.result-label {
    color: #ccc;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Media queries for works-showcase-results */
@media (max-width: 768px) {
    .works-showcase-results {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
    }
    
    .result-number {
            margin-bottom: 0;
        order: 2;
    }
    
    .result-label {
        order: 1;
    }
}

@media (max-width: 480px) {
    .works-showcase-results {
        padding: 12px 15px;
        gap: 12px;
    }
    
    
}

.works-showcase-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.works-load-more-btn,
.works-collapse-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.works-load-more-btn {
    background: linear-gradient(45deg, red, green);
}

.works-collapse-btn {
    background: linear-gradient(45deg, red, green);
}

.works-load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(1, 185, 95, 0.4);
    background: linear-gradient(45deg, red, green);
}

.works-collapse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 49, 49, 0.4);
    background: linear-gradient(45deg, red, green);
}

/* Results Statistics Section */
.results-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    margin: 60px 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(1, 185, 95, 0.05) 0%, 
        rgba(255, 49, 49, 0.03) 100%);
    pointer-events: none;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.results-title {
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.results-title .highlight {
    background: linear-gradient(45deg, #04A756, red, green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
}

.results-subtitle {
    color: #ccc;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.works-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.works-stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.works-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(1, 185, 95, 0.1) 0%, 
        rgba(255, 49, 49, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.works-stat-item:hover::before {
    opacity: 1;
}

.works-stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(1, 185, 95, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.works-stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #01B95F;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.works-stat-label {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.works-stat-description {
    color: #ccc;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* Modal for full image view */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 15000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.hidden {
    display: none;
}




/* Responsive Design */
