        /* Projects Page Specific Styles */
        .projects-hero {
            background: linear-gradient(135deg, #eaf7f9 0%, #f0f8ff 100%);
            color: var(--text-bright);
            padding: 150px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        /* Projects hero — morphing blob top-right + dashed ring bottom-left */
        @keyframes projectBlob {
            0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
            50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
        }
        @keyframes projectSpin {
            from { transform: rotate(0deg); }
            to   { transform: rotate(360deg); }
        }

        .projects-hero::before {
            content: '';
            position: absolute;
            top: -60px; right: -60px;
            width: 380px; height: 380px;
            background: linear-gradient(135deg, rgba(18,179,197,0.07) 0%, rgba(13,138,154,0.03) 100%);
            animation: projectBlob 14s ease-in-out infinite;
            pointer-events: none;
        }

        .projects-hero::after {
            content: '';
            position: absolute;
            bottom: 20px; left: 40px;
            width: 130px; height: 130px;
            border: 2px dashed rgba(18,179,197,0.25);
            border-radius: 50%;
            animation: projectSpin 22s linear infinite;
            pointer-events: none;
        }
        
        .breadcrumb {
            background: transparent;
            padding: 0;
        }
        
        .breadcrumb-item a {
            color: var(--text);
        }
        
        .breadcrumb-item.active {
            color: var(--primary-light);
        }
        
        .breadcrumb-item + .breadcrumb-item::before {
            color: var(--text-muted);
        }
        
        .projects-section {
            padding: 100px 0;
            background: #ffffff;
        }
        
        .section-header {
            margin-bottom: 60px;
        }
        
        .section-label {
            display: inline-block;
            background: var(--gradient);
            color: var(--white);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text);
        }
        
        .section-description {
            color: var(--text-light);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto; 
        }
        
        .project-category-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 50px;
        }
        
        .category-btn {
            background: var(--bg-alt);
            color: var(--text);
            border: none;
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .category-btn.active,
        .category-btn:hover {
            background: var(--gradient);
            color: var(--white);
        }
        
        .project-category-section {
            padding: 80px 0;
        }
        
        .project-category-section:nth-child(even) {
            background: var(--bg-alt);
        }
        
        .project-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.06);
            transition: var(--transition);
            height: 100%;
            position: relative;
        }
        
        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        }
        
        .project-image {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .project-card:hover .project-image img {
            transform: scale(1.05);
        }
        
        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(18, 179, 197, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }
        
        .project-card:hover .project-overlay {
            opacity: 1;
        }
        
        .project-actions {
            display: flex;
            gap: 15px;
        }
        
        .project-action-btn {
            width: 50px;
            height: 50px;
            background: #ffffff;
            color: var(--primary);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .project-action-btn:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: scale(1.1);
        }
        
        .project-content {
            padding: 25px;
        }
        
        .project-category {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 8px;
            display: block;
        }
        
        .project-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }
        
        .project-description {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 15px;
        }
        
        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-weight: 600;
            transition: var(--transition);
        }
        
        .project-link:hover {
            gap: 12px;
            color: var(--primary-dark);
        }
        
        /* View More Button */
        .view-more-container {
            text-align: center;
            margin-top: 40px;
        }
        
        .view-more-btn {
            background: var(--gradient);
            color: var(--white);
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .view-more-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(18, 179, 197, 0.2);
        }
        
        /* Image Modal Styles */
        .image-modal {
            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: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .image-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .image-modal .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            border-radius: 0;
        }
        
        .modal-image {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 10px;
        }
        
        .modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .modal-close:hover {
            color: var(--primary-light);
        }
        
        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .modal-nav:hover {
            background: var(--primary);
        }
        
        .modal-prev {
            left: 20px;
        }
        
        .modal-next {
            right: 20px;
        }
        
        .modal-counter {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 1rem;
        }
        
        /* Hidden items */
        .portfolio-item.hidden {
            display: none;
        }

        /* Portfolio thumbnail grid */
        .portfolio-thumb {
            position: relative;
            aspect-ratio: 1;
            overflow: hidden;
            border-radius: 10px;
            cursor: pointer;
            background: var(--bg-alt);
        }
        .portfolio-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            display: block;
        }
        .portfolio-thumb:hover img {
            transform: scale(1.08);
        }
        .portfolio-thumb-overlay {
            position: absolute;
            inset: 0;
            background: rgba(18,179,197,0.82);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: #fff;
            font-size: 1.5rem;
        }
        .portfolio-thumb:hover .portfolio-thumb-overlay {
            opacity: 1;
        }
        
        .website-project-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.06);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .website-project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        }
        
        .website-preview {
            position: relative;
            height: 250px;
            overflow: hidden;
        }
        
        .website-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .website-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }
        
        .website-project-card:hover .website-overlay {
            opacity: 1;
        }
        
        .website-content {
            padding: 30px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        
        .website-client {
            font-size: 0.9rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .website-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text);
        }
        
        .website-description {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .website-features {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 20px;
        }

        .website-feature {
            background: var(--bg-alt);
            color: var(--primary);
            padding: 3px 9px;
            border-radius: 20px;
            font-size: 0.72rem;
            font-weight: 600;
        }

        .website-link {
            display: flex;
            width: fit-content;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: var(--white);
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            margin-top: auto;
            align-self: center;
        }

        .website-link:hover {
            background: var(--primary-dark);
            gap: 15px;
            color: var(--white);
        }
        
        .app-project-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.06);
            transition: var(--transition);
            height: 100%;
        }
        
        .app-project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        }
        
        .app-preview {
            position: relative;
            height: 300px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-alt);
        }
        
        .app-preview img {
            max-height: 80%;
            object-fit: contain;
        }
        
        .app-content {
            padding: 30px;
        }
        
        .app-platform {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-alt);
            color: var(--primary);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .app-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text);
        }
        
        .app-description {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .app-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: var(--white);
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
        }
        
        .app-link:hover {
            background: var(--primary-dark);
            gap: 15px;
            color: var(--white);
        }
        
        .ai-project-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.06);
            transition: var(--transition);
            height: 100%;
        }
        
        .ai-project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        }
        
        .ai-preview {
            position: relative;
            height: 250px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-alt);
        }
        
        .ai-preview img {
            max-height: 80%;
            object-fit: contain;
        }
        
        .ai-content {
            padding: 30px;
        }
        
        .ai-category {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-alt);
            color: var(--primary);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .ai-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text);
        }
        
        .ai-description {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        
        .ai-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: var(--white);
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
        }
        
        .ai-link:hover {
            background: var(--primary-dark);
            gap: 15px;
            color: var(--white);
        }
        
        .cta-projects {
            background: var(--gradient);
            color: var(--white);
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-projects::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
            background-size: cover;
        }
        
        .cta-projects .container {
            position: relative;
            z-index: 2;
        }

        /* AI Assistant Styles */
        .ai-assistant-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--gradient);
            color: var(--white);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: var(--shadow-lg);
            transition: var(--transition);
            z-index: 999;
            cursor: pointer;
        }

        .ai-assistant-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(18, 179, 197, 0.4);
        }

        .ai-pulse {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--primary);
            animation: pulse 2s infinite;
            z-index: -1;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 0.8;
            }
            70% {
                transform: scale(1.5);
                opacity: 0;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        .ai-chat-container {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            height: 500px;
            background: #ffffff;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transform: translateY(20px);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .ai-chat-container.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .ai-chat-header {
            background: var(--gradient);
            color: var(--white);
            padding: 20px;
            border-radius: 15px 15px 0 0;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .ai-avatar {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .ai-info h4 {
            color: var(--white);
            margin: 0;
            font-size: 1.1rem;
        }

        .ai-status {
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .ai-close-btn {
            background: transparent;
            border: none;
            color: var(--white);
            font-size: 1.2rem;
            margin-left: auto;
            cursor: pointer;
            transition: var(--transition);
        }

        .ai-close-btn:hover {
            transform: scale(1.1);
        }

        .ai-chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .ai-message {
            display: flex;
            max-width: 80%;
        }

        .ai-user-message {
            align-self: flex-end;
        }

        .ai-bot-message {
            align-self: flex-start;
        }

        .message-content {
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .ai-user-message .message-content {
            background: var(--primary);
            color: var(--white);
            border-bottom-right-radius: 5px;
        }

        .ai-bot-message .message-content {
            background: var(--bg-alt);
            color: var(--text);
            border-bottom-left-radius: 5px;
        }

        .ai-chat-input {
            padding: 20px;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 10px;
        }

        .ai-chat-input input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 25px;
            font-size: 0.9rem;
            outline: none;
            transition: var(--transition);
        }

        .ai-chat-input input:focus {
            border-color: var(--primary);
        }

        #aiSendBtn {
            background: var(--primary);
            color: var(--white);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        #aiSendBtn:hover {
            background: var(--primary-dark);
            transform: scale(1.05);
        }

        /* Hide scroll-to-top button */
        .back-to-top {
            display: none !important;
        }

        @media (max-width: 768px) {
            .ai-chat-container {
                width: 300px;
                right: 15px;
            }
            
            .project-category-nav {
                flex-direction: column;
                align-items: center;
            }
            
            .category-btn {
                width: 100%;
                max-width: 250px;
            }
            
            .modal-nav {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .modal-prev {
                left: 10px;
            }
            
            .modal-next {
                right: 10px;
            }
        }

        /* Current Projects Section Styles */
.current-projects-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.current-project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.current-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.project-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(18, 179, 197, 0.05);
    border-bottom: 1px solid var(--border);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-development {
    background: var(--primary);
    color: var(--white);
}

.status-design {
    background: #ff9800;
    color: var(--white);
}

.status-planning {
    background: #9c27b0;
    color: var(--white);
}

.status-testing {
    background: #4caf50;
    color: var(--white);
}

.progress-percent {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.project-preview {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.current-project-card:hover .project-preview img {
    transform: scale(1.05);
}

.current-project-card:hover .project-overlay {
    opacity: 1;
}

.timeline-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
}

.project-content {
    padding: 25px;
    position: relative;
}

.project-icon {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(18, 179, 197, 0.3);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    padding-right: 60px;
}

.project-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 0.8rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--bg-alt);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -20px;
    }
    
    .project-title {
        padding-right: 50px;
        font-size: 1.2rem;
    }
}


        /* Horizontal scroll carousel */
        .scroll-carousel {
            display: flex;
            overflow-x: auto;
            gap: 24px;
            padding: 10px 4px 24px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }
        .scroll-carousel::-webkit-scrollbar { display: none; }
        .scroll-carousel { -ms-overflow-style: none; scrollbar-width: none; }

        .scroll-item {
            flex: 0 0 340px;
            scroll-snap-align: start;
        }
        .scroll-item-wide {
            flex: 0 0 380px;
            scroll-snap-align: start;
        }
        .scroll-item-app {
            flex: 0 0 320px;
            scroll-snap-align: start;
        }

        /* Override card heights for scroll layout */
        .scroll-item .project-image,
        .scroll-item .website-preview { height: 220px; }
        .scroll-item-wide .project-preview { height: 200px; }
        .scroll-item-app .app-preview { height: 280px; }

        /* Ensure cards fill their scroll-item */
        .scroll-item .project-card,
        .scroll-item .website-project-card,
        .scroll-item .ai-project-card,
        .scroll-item-wide .current-project-card,
        .scroll-item-app .app-project-card { height: 100%; }

