    /* ================================================
   OSITEX CREATIVE HUB - Portfolio Section Styles
   portfolio.css
   ================================================ */
    /* ------------------------------------------------
   1. PORTFOLIO SECTION CONTAINER
------------------------------------------------ */
    
    .portfolio {
        position: relative;
        background-color: var(--bg-primary);
        padding: var(--spacing-xl) 0;
        border-top: 3px solid var(--red);
    }
    /* ------------------------------------------------
   2. PORTFOLIO HEADER
------------------------------------------------ */
    
    .portfolio-header {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    /* ------------------------------------------------
   3. STATS BAR
------------------------------------------------ */
    
    .portfolio-stats {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        background: var(--bg-card);
        border: 1px solid var(--gray-border);
        border-radius: var(--radius-lg);
        padding: 2rem 3rem;
        margin-bottom: var(--spacing-lg);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .stat-number {
        font-size: var(--text-4xl);
        font-weight: 800;
        color: var(--white);
        font-family: var(--font-main);
        line-height: 1;
    }
    
    .stat-plus {
        font-size: var(--text-2xl);
        font-weight: 800;
        color: var(--yellow);
        font-family: var(--font-main);
        line-height: 1;
        margin-top: -2rem;
        align-self: flex-start;
    }
    
    .stat-label {
        color: var(--gray-light);
        font-size: var(--text-sm);
        font-weight: 500;
        text-align: center;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .stat-divider {
        width: 1px;
        height: 60px;
        background: var(--gray-border);
    }
    /* ------------------------------------------------
   4. FILTER BAR
------------------------------------------------ */
    
    .portfolio-filter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-bottom: var(--spacing-lg);
    }
    
    .filter-btn {
        padding: 0.5rem 1.25rem;
        background: transparent;
        color: var(--gray-light);
        font-size: var(--text-sm);
        font-weight: 500;
        font-family: var(--font-main);
        border: 1px solid var(--gray-border);
        border-radius: 50px;
        cursor: pointer;
        transition: all var(--transition-normal);
        white-space: nowrap;
    }
    
    .filter-btn:hover {
        color: var(--white);
        border-color: var(--red);
        background: rgba(204, 0, 0, 0.1);
    }
    
    .filter-btn.active {
        background: var(--red);
        color: var(--white);
        border-color: var(--red);
        box-shadow: 0 0 15px rgba(204, 0, 0, 0.4), 0 0 30px rgba(204, 0, 0, 0.2);
    }
    /* ------------------------------------------------
   5. PORTFOLIO GRID
------------------------------------------------ */
    
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: var(--spacing-lg);
    }
    /* ------------------------------------------------
   6. PORTFOLIO CARD
------------------------------------------------ */
    
    .portfolio-card {
        background: var(--bg-card);
        border: 1px solid var(--gray-border);
        border-radius: var(--radius-md);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
        opacity: 1;
        transform: scale(1);
    }

    /* Enhanced animations for filtered cards */
    .portfolio-card[data-category="graphic-design"] {
        animation: portfolioRotate 4s ease-in-out infinite;
    }

    .portfolio-card[data-category="graphic-design"]:nth-child(odd) {
        animation-delay: 0.2s;
    }

    .portfolio-card[data-category="graphic-design"]:hover {
        animation: portfolioBounce 1s ease-in-out;
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 204, 0, 0.3);
        border-color: var(--yellow);
    }

    /* Sliding animation for filtered items */
    .portfolio-card.sliding-in {
        animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .portfolio-card.sliding-in:nth-child(1) {
        animation-delay: 0.1s;
        animation-name: slideInLeft;
    }

    .portfolio-card.sliding-in:nth-child(2) {
        animation-delay: 0.2s;
        animation-name: slideInDown;
    }

    .portfolio-card.sliding-in:nth-child(3) {
        animation-delay: 0.3s;
        animation-name: slideInRight;
    }

    .portfolio-card.sliding-in:nth-child(4) {
        animation-delay: 0.4s;
        animation-name: slideInUp;
    }
    
    .portfolio-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--red);
    }
    /* ------------------------------------------------
   7. PORTFOLIO IMAGE
------------------------------------------------ */
    
    .portfolio-img {
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
        background: linear-gradient(135deg, var(--blue), var(--red));
    }
    
    .portfolio-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-slow);
    }
    
    .portfolio-card:hover .portfolio-img img {
        transform: scale(1.08);
    }
    /* ------------------------------------------------
   6. PREMIUM ANIMATIONS
------------------------------------------------ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes portfolioPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 204, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

@keyframes portfolioShimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes portfolioBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

@keyframes portfolioRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}
    /* ------------------------------------------------
   8. PORTFOLIO OVERLAY
------------------------------------------------ */
    
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity var(--transition-normal);
    }
    
    .portfolio-card:hover .portfolio-overlay {
        opacity: 1;
    }
    
    .portfolio-overlay-content {
        text-align: center;
        padding: 1.5rem;
        transform: translateY(20px);
        transition: transform var(--transition-normal);
    }
    
    .portfolio-card:hover .portfolio-overlay-content {
        transform: translateY(0);
    }
    
    .portfolio-overlay-content h4 {
        color: var(--white);
        font-size: var(--text-lg);
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-overlay-content p {
        color: var(--gray-light);
        font-size: var(--text-sm);
        margin-bottom: 1rem;
    }
    
    .portfolio-view {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        font-size: var(--text-sm);
    }
    /* ------------------------------------------------
   9. PORTFOLIO INFO
------------------------------------------------ */
    
    .portfolio-info {
        padding: 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .portfolio-info h3 {
        color: var(--white);
        font-size: var(--text-base);
        font-weight: 600;
        margin: 0;
    }
    
    .portfolio-info p {
        color: var(--gray-light);
        font-size: var(--text-sm);
        line-height: 1.6;
        margin: 0;
    }
    /* ------------------------------------------------
       10. PORTFOLIO CATEGORY BADGES
    ------------------------------------------------ */
    
    .portfolio-category {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        align-self: flex-start;
    }
    
    .portfolio-category.graphic-design {
        background: rgba(255, 204, 0, 0.15);
        color: var(--yellow);
        border: 1px solid rgba(255, 204, 0, 0.3);
    }
    
    .portfolio-category.digital-marketing {
        background: rgba(204, 0, 0, 0.15);
        color: var(--red-light);
        border: 1px solid rgba(204, 0, 0, 0.3);
    }
    
    .portfolio-category.web-development {
        background: rgba(0, 51, 204, 0.15);
        color: var(--blue-light);
        border: 1px solid rgba(0, 51, 204, 0.3);
    }
    
    .portfolio-category.social-media {
        background: rgba(255, 204, 0, 0.1);
        color: #ff9900;
        border: 1px solid rgba(255, 153, 0, 0.3);
    }
    
    .portfolio-category.video-editing {
        background: rgba(204, 0, 0, 0.1);
        color: #ff6666;
        border: 1px solid rgba(255, 102, 102, 0.3);
    }
    /* ------------------------------------------------
   11. TESTIMONIALS WRAPPER
------------------------------------------------ */
    
    .testimonials-wrapper {
        background: var(--bg-secondary);
        padding: var(--spacing-xl) 0;
        margin-top: var(--spacing-xl);
        border-top: 1px solid var(--gray-border);
    }
    
    .testimonials-header {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    /* ------------------------------------------------
   12. TESTIMONIALS SLIDER
------------------------------------------------ */
    
    .testimonials-slider {
        position: relative;
        overflow: hidden;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .testimonials-track {
        display: flex;
        transition: transform 0.6s ease-in-out;
    }
    /* ------------------------------------------------
   13. PORTFOLIO MODAL
------------------------------------------------ */

.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.portfolio-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    height: 600px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform var(--transition-normal);
    position: relative;
}

.portfolio-modal-overlay.open .portfolio-modal-box {
    transform: scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-modal-close:hover {
    background: var(--red-light);
    transform: scale(1.1);
}

.portfolio-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-modal-header {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--gray-border);
}

.portfolio-modal-header h3 {
    color: var(--gray-dark);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.portfolio-modal-body {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.portfolio-modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.portfolio-modal-footer {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-border);
    text-align: center;
}

    /* ------------------------------------------------
   14. TESTIMONIAL CARD
------------------------------------------------ */
    
    .testimonial-card {
        min-width: 100%;
        background: var(--bg-card);
        border: 1px solid var(--gray-border);
        border-radius: var(--radius-lg);
        padding: 2.5rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        box-sizing: border-box;
    }
    /* Mentee card has yellow left border accent */
    
    .testimonial-mentee {
        border-left: 3px solid var(--yellow);
    }
    /* Client photo */
    
    .testimonial-photo {
        width: 80px;
        height: 80px;
        border-radius: var(--radius-full);
        overflow: hidden;
        border: 3px solid var(--red);
        box-shadow: 0 0 15px rgba(204, 0, 0, 0.3);
    }
    
    .testimonial-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Stars */
    
    .testimonial-stars {
        color: var(--yellow);
        font-size: var(--text-lg);
        letter-spacing: 3px;
    }
    /* Testimonial text */
    
    .testimonial-text {
        color: var(--gray-light);
        font-size: var(--text-base);
        line-height: 1.8;
        font-style: italic;
        max-width: 550px;
        margin: 0;
    }
    /* Author info */
    
    .testimonial-author {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .testimonial-author h4 {
        color: var(--white);
        font-size: var(--text-base);
        font-weight: 700;
        margin: 0;
    }
    
    .testimonial-author span {
        color: var(--gray-light);
        font-size: var(--text-sm);
    }
    
    .testimonial-result {
        color: var(--yellow) !important;
        font-size: var(--text-sm) !important;
        font-weight: 600 !important;
        margin-top: 0.25rem;
    }
    /* ------------------------------------------------
   14. SLIDER DOTS
------------------------------------------------ */
    
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-radius: var(--radius-full);
        background: var(--gray-border);
        border: none;
        cursor: pointer;
        transition: all var(--transition-normal);
        padding: 0;
    }
    
    .dot.active {
        background: var(--red);
        width: 30px;
        border-radius: 50px;
        box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
    }
    
    .dot:hover {
        background: var(--gray-light);
    }
    /* ------------------------------------------------
   15. BACK TO TOP BUTTON
------------------------------------------------ */
    
    .back-to-top {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--red) 0%, #ff2222 100%);
        color: var(--white);
        border: none;
        border-radius: var(--radius-full);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-md);
        display: flex;
        align-items: center;
        justify-content: center;
        will-change: transform, opacity; /* Performance optimization */
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .back-to-top:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 15px rgba(204, 0, 0, 0.5), 0 0 30px rgba(204, 0, 0, 0.3);
        background: linear-gradient(135deg, #ff2222 0%, var(--red) 100%);
    }
    /* ------------------------------------------------
   16. RESPONSIVE - Tablets (max 1024px)
------------------------------------------------ */
    
    @media (max-width: 1024px) {
        .portfolio-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .portfolio-stats {
            gap: 2rem;
            padding: 1.5rem 2rem;
        }
    }
    /* ------------------------------------------------
   17. RESPONSIVE - Mobile (max 768px)
------------------------------------------------ */
    
    @media (max-width: 768px) {
        .portfolio {
            padding: var(--spacing-lg) 0;
        }
        .portfolio-grid {
            grid-template-columns: 1fr;
        }
        .portfolio-img {
            height: 200px;
        }
        .portfolio-stats {
            gap: 1.5rem;
            padding: 1.25rem 1.5rem;
            max-width: 100%;
        }
        .stat-number {
            font-size: var(--text-3xl);
        }
        .portfolio-filter {
            gap: 0.5rem;
        }
        .filter-btn {
            font-size: 0.8rem;
            padding: 0.4rem 1rem;
        }
        .testimonial-card {
            padding: 2rem 1.5rem;
        }
        .testimonials-wrapper {
            padding: var(--spacing-lg) 0;
        }
        .back-to-top {
            bottom: 1.5rem;
            right: 1.5rem;
            width: 45px;
            height: 45px;
            font-size: 1.3rem;
        }
    }
    /* ------------------------------------------------
   18. RESPONSIVE - Small phones (max 480px)
------------------------------------------------ */
    
    @media (max-width: 480px) {
        .portfolio-grid {
            gap: 1rem;
        }
        .portfolio-img {
            height: 180px;
        }
        .portfolio-stats {
            flex-direction: column;
            gap: 1rem;
            padding: 1.5rem;
        }
        .stat-divider {
            width: 60px;
            height: 1px;
        }
        .stat-number {
            font-size: var(--text-2xl);
        }
        .filter-btn {
            font-size: 0.75rem;
            padding: 0.35rem 0.85rem;
        }
        .testimonial-card {
            padding: 1.5rem 1rem;
        }
        .testimonial-text {
            font-size: var(--text-sm);
        }
        .back-to-top {
            bottom: 1rem;
            right: 1rem;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
    }
    /* ------------------------------------------------
   19. RESPONSIVE - Very small phones (max 360px)
------------------------------------------------ */
    
    @media (max-width: 360px) {
        .portfolio-filter {
            gap: 0.4rem;
        }
        .filter-btn {
            font-size: 0.7rem;
            padding: 0.3rem 0.75rem;
        }
        .stat-number {
            font-size: var(--text-xl);
        }
        .testimonial-photo {
            width: 65px;
            height: 65px;
        }
        .testimonial-stars {
            font-size: var(--text-base);
        }
    }