/* Responsive Adjustments */
@media (max-width: 768px) {
    .folport-projects-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        padding: 1rem;
        gap: 1.5rem;
    }

    .folport-project-title {
        font-size: 1.2rem;
    }

    .folport-project-description {
        font-size: 0.85rem;
    }
}

/* Additional Responsive Tweaks */
@media (max-width: 480px) {
    .folport-projects-grid {
        padding: 0.5rem;
        gap: 1rem;
    }

    .folport-project-content {
        padding: 15px;
    }
}


        /* Hero Section */
        .folport-hero {
            min-height: 100vh;
            background: var(--dark-purple);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: var(--spacing-lg);
        }

        .folport-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(221, 136, 255, 0.1), transparent);
            filter: blur(80px);
            animation: folport-pulse 8s infinite;
            z-index: 1;
        }

        @keyframes folport-pulse {
            0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
            50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
        }

        .folport-hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        .folport-hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: var(--spacing-md);
            color: var(--purple-light);
            text-shadow: 0 4px 15px rgba(221, 136, 255, 0.4);
        }

        .folport-hero-subtitle {
            font-size: 1.5rem;
            color: var(--pink-purple);
            margin-bottom: var(--spacing-lg);
        }

        /* Contact Button */
        .folport-contact-btn {
            background: var(--gradient-primary);
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            color: white;
            font-weight: 600;
            transition: all var(--transition-base);
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(221, 136, 255, 0.3);
        }

        .folport-contact-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(221, 136, 255, 0.5);
        }

        .folport-contact-btn::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
            transform: rotate(45deg);
            transition: all var(--transition-base);
            opacity: 0;
        }

        .folport-contact-btn:hover::before {
            opacity: 1;
        }

         /* Detailed Project Card Styles */
         .folport-projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            padding: 2rem;
        }

        .folport-project-card {
            position: relative;
            background: linear-gradient(145deg, rgba(30,30,50,0.9), rgba(20,20,40,0.9));
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.4s ease;
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
            border: 1px solid rgba(221,136,255,0.1);
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .folport-project-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(221,136,255,0.05), transparent);
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .folport-project-card:hover::before {
            opacity: 1;
        }

        .folport-project-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            filter: grayscale(20%) brightness(0.8);
            transition: all 0.4s ease;
        }

        .folport-project-card:hover .folport-project-image {
            filter: grayscale(0%) brightness(1);
            transform: scale(1.05);
        }

        .folport-project-content {
            padding: 20px;
            position: relative;
            z-index: 2;
        }

        .folport-project-title {
            color: var(--purple-light);
            font-size: 1.4rem;
            margin-bottom: 10px;
            transition: color 0.3s ease;
            font-weight: 600;
        }

        .folport-project-description {
            color: rgba(255,255,255,0.7);
            margin-bottom: 15px;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .folport-project-technologies {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .folport-tech-badge {
            background: rgba(221,136,255,0.1);
            color: var(--purple-light);
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(221,136,255,0.2);
        }

        .folport-project-card:hover .folport-tech-badge {
            background: rgba(221,136,255,0.2);
            color: white;
            transform: translateY(-3px);
        }

        .folport-project-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .folport-project-details-btn {
            background: transparent;
            border: 2px solid var(--purple-light);
            color: var(--purple-light);
            padding: 10px 20px;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-size: 0.8rem;
            position: relative;
            overflow: hidden;
        }

        .folport-project-details-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(221,136,255,0.2), transparent);
            transition: all 0.3s ease;
        }

        .folport-project-details-btn:hover::before {
            left: 100%;
        }

        .folport-project-card:hover .folport-project-details-btn {
            background: var(--gradient-primary);
            border-color: transparent;
            color: white;
            box-shadow: 0 5px 15px rgba(221,136,255,0.3);
        }

        .folport-project-difficulty {
            font-size: 0.7rem;
            display: inline-block;
            padding: 5px 10px;
            border-radius: 15px;
            font-weight: 500;
            text-transform: uppercase;
        }

        .folport-difficulty-easy {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
        }

        .folport-difficulty-medium {
            background: rgba(255, 152, 0, 0.2);
            color: #FF9800;
        }

        .folport-difficulty-hard {
            background: rgba(244, 67, 54, 0.2);
            color: #F44336;
        }
        /* Improved Category Filters Responsive Design */
.folport-category-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.folport-category-btn {
    background: transparent;
    border: 2px solid var(--purple-light);
    color: var(--purple-light);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    white-space: nowrap;
    margin: 0.25rem;
    min-width: 120px;
    text-align: center;
}

.folport-category-btn.active,
.folport-category-btn:hover {
    color: white;
    border-color: transparent;
}

.folport-category-btn.active::before,
.folport-category-btn:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -1;
    transform: scaleX(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .folport-category-filters {
        flex-direction: row;
        justify-content: center;
        padding: var(--spacing-sm);
    }

    .folport-category-btn {
        flex-grow: 1;
        max-width: calc(50% - 0.75rem);
        margin: 0.25rem;
        padding: 10px 15px;
        font-size: 0.8rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .folport-category-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .folport-category-btn {
        max-width: 100%;
        margin: 0.25rem 0;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll container for very small screens if needed */
@media (max-height: 600px) {
    .folport-category-filters {
        max-height: 250px;
        overflow-y: auto;
    }
}

          /* Detailed Project Card Styles */
          .folport-project-card {
            position: relative;
            background: linear-gradient(145deg, rgba(30,30,50,0.9), rgba(20,20,40,0.9));
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.4s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            border: 1px solid rgba(221,136,255,0.1);
        }

        .folport-project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(221,136,255,0.1) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .folport-project-card:hover::before {
            opacity: 1;
        }

        .folport-project-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            filter: grayscale(20%) brightness(0.9);
            transition: all 0.4s ease;
        }

        .folport-project-card:hover .folport-project-image {
            filter: grayscale(0%) brightness(1.1);
            transform: scale(1.05);
        }

        .folport-project-content {
            padding: 20px;
            position: relative;
            z-index: 2;
        }

        .folport-project-title {
            color: var(--purple-light);
            font-size: 1.4rem;
            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        .folport-project-card:hover .folport-project-title {
            color: white;
        }

        .folport-project-description {
            color: rgba(255,255,255,0.7);
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .folport-project-technologies {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
        }

        .folport-tech-badge {
            background: rgba(221,136,255,0.1);
            color: var(--purple-light);
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 0.7rem;
            transition: all 0.3s ease;
        }

        .folport-project-card:hover .folport-tech-badge {
            background: rgba(221,136,255,0.2);
            color: white;
        }

        .folport-project-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .folport-project-details-btn {
            background: transparent;
            border: 2px solid var(--purple-light);
            color: var(--purple-light);
            padding: 8px 15px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .folport-project-card:hover .folport-project-details-btn {
            background: var(--gradient-primary);
            border-color: transparent;
            color: white;
        }

        .folport-project-difficulty {
            font-size: 0.8rem;
            display: inline-block;
            padding: 4px 8px;
            border-radius: 15px;
        }

        .folport-difficulty-easy {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
        }

        .folport-difficulty-medium {
            background: rgba(255, 152, 0, 0.2);
            color: #FF9800;
        }

        .folport-difficulty-hard {
            background: rgba(244, 67, 54, 0.2);
            color: #F44336;
        }