@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.nav-link {
    @apply px-3 py-2 rounded-md text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-gray-100 dark:hover:bg-gray-800 transition-all duration-200;
}

.nav-link.active {
    @apply text-primary-600 dark:text-primary-400 bg-primary-50 dark:bg-primary-900/30;
}

.mobile-nav-link {
    @apply block px-3 py-2 rounded-md text-base font-medium text-gray-700 dark:text-gray-300 hover:text-primary-600 dark:hover:text-primary-400 hover:bg-gray-100 dark:hover:bg-gray-800 transition-all duration-200;
}

/* Button Styles */
.btn-primary {
    @apply inline-flex items-center px-8 py-3 bg-primary-600 hover:bg-primary-700 text-white font-medium rounded-lg transition-all duration-200 transform hover:scale-105 hover:shadow-lg;
}

.btn-secondary {
    @apply inline-flex items-center px-8 py-3 bg-transparent border-2 border-primary-600 text-primary-600 dark:text-primary-400 dark:border-primary-400 hover:bg-primary-600 hover:text-white dark:hover:bg-primary-400 dark:hover:text-gray-900 font-medium rounded-lg transition-all duration-200 transform hover:scale-105;
}

.btn-outline {
    @apply inline-flex items-center px-6 py-2 bg-transparent border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-800 rounded-lg transition-all duration-200;
}

/* Social Links */
.social-link {
    @apply w-12 h-12 bg-gray-100 dark:bg-gray-800 hover:bg-primary-100 dark:hover:bg-primary-900/30 text-gray-600 dark:text-gray-400 hover:text-primary-600 dark:hover:text-primary-400 rounded-full flex items-center justify-center transition-all duration-200 transform hover:scale-110;
}

/* Section Styles */
.section-title {
    @apply text-4xl md:text-5xl font-bold text-gray-900 dark:text-white mb-4;
}

.section-subtitle {
    @apply text-xl text-gray-600 dark:text-gray-300 max-w-2xl mx-auto;
}

/* Skill Categories */
.skill-category {
    @apply bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2;
}

.skill-category-header {
    @apply flex items-center space-x-3 mb-4;
}

.skill-category-header h3 {
    @apply text-xl font-semibold text-gray-900 dark:text-white;
}

.skill-category-header i {
    @apply text-2xl;
}

.skill-list {
    @apply space-y-2;
}

.skill-item {
    @apply bg-gray-50 dark:bg-gray-700 px-3 py-2 rounded-lg text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-primary-50 dark:hover:bg-primary-900/30 hover:text-primary-600 dark:hover:text-primary-400 transition-all duration-200 cursor-default;
}

/* Enhanced Skill Cards */
.skill-card {
    @apply bg-white dark:bg-gray-800 text-center border;
    padding: 24px 16px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent) border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.dark .skill-card {
    background: linear-gradient(rgb(31, 41, 55), rgb(31, 41, 55)) padding-box, 
                linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent) border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.dark .skill-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Skill Icons */
.skill-icon {
    @apply mb-4 transition-all duration-500;
    font-size: 3rem;
    position: relative;
    display: inline-block;
}

.skill-icon i {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotateY(10deg);
}

.skill-card:hover .skill-icon i {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Technology-specific icon enhancements */
.skill-card:hover .fa-react {
    animation: reactSpin 2s linear infinite;
}

.skill-card:hover .fa-js-square {
    animation: jsPulse 1.5s ease-in-out infinite;
}

.skill-card:hover .fa-node-js {
    animation: nodeFloat 2s ease-in-out infinite;
}

.skill-card:hover .fa-python {
    animation: pythonWave 1.8s ease-in-out infinite;
}

.skill-card:hover .fa-git-alt {
    animation: gitBranch 2s ease-in-out infinite;
}

@keyframes reactSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes jsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes pythonWave {
    0%, 100% { transform: skewX(0deg); }
    50% { transform: skewX(5deg); }
}

.skill-card:hover .fa-git-alt {
    animation: gitBranch 2s ease-in-out infinite;
}

.skill-card:hover .fa-java {
    animation: javaFloat 2s ease-in-out infinite;
}

.skill-card:hover .fa-microchip {
    animation: arduinoPulse 1.5s ease-in-out infinite;
}

.skill-card:hover .fa-laravel {
    animation: laravelWave 2s ease-in-out infinite;
}

@keyframes javaFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes arduinoPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(10deg); }
}

@keyframes laravelWave {
    0%, 100% { transform: skewY(0deg) scale(1); }
    50% { transform: skewY(3deg) scale(1.05); }
}

/* Enhanced Skill Names */
.skill-name {
    @apply font-semibold text-gray-700 dark:text-gray-300 transition-all duration-300;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    position: relative;
    margin-top: 8px;
}

.skill-card:hover .skill-name {
    @apply text-primary-600 dark:text-primary-400;
    transform: translateY(-2px);
    font-weight: 600;
}

/* Skill Card Stagger Animation */
@keyframes skillFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    opacity: 0;
    transform: translateY(30px);
    animation: skillFadeIn 0.6s ease forwards;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.15s; }
.skill-card:nth-child(3) { animation-delay: 0.2s; }
.skill-card:nth-child(4) { animation-delay: 0.25s; }
.skill-card:nth-child(5) { animation-delay: 0.3s; }
.skill-card:nth-child(6) { animation-delay: 0.35s; }
.skill-card:nth-child(7) { animation-delay: 0.4s; }
.skill-card:nth-child(8) { animation-delay: 0.45s; }
.skill-card:nth-child(9) { animation-delay: 0.5s; }
.skill-card:nth-child(10) { animation-delay: 0.55s; }
.skill-card:nth-child(11) { animation-delay: 0.6s; }
.skill-card:nth-child(12) { animation-delay: 0.65s; }
.skill-card:nth-child(13) { animation-delay: 0.7s; }
.skill-card:nth-child(14) { animation-delay: 0.75s; }
.skill-card:nth-child(15) { animation-delay: 0.8s; }
.skill-card:nth-child(16) { animation-delay: 0.85s; }

/* Skills Grid Responsive Enhancement */
@media (max-width: 640px) {
    .skill-card {
        padding: 16px 12px;
    }
    
    .skill-icon {
        font-size: 2rem;
    }
    
    .skill-name {
        font-size: 0.75rem;
        margin-top: 6px;
    }
}

/* Skills Section Title Enhancement */
.section-title {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Enhanced Skills Section Background */
#skills {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark #skills {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Filter Buttons */
.filter-btn {
    @apply px-4 py-2 bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-lg font-medium transition-all duration-200 hover:bg-primary-100 dark:hover:bg-primary-900/30 hover:text-primary-600 dark:hover:text-primary-400;
}

.filter-btn.active {
    @apply bg-primary-600 text-white shadow-lg transform scale-105;
}

/* Project Cards - Ultra Enhanced Styling */
.project-card {
    @apply bg-white dark:bg-gray-800 shadow-lg hover:shadow-2xl transition-all duration-700 transform border border-gray-200/50 dark:border-gray-700/50;
    border-radius: 28px;
    overflow: hidden;
    padding: 0;
    perspective: 1000px;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    isolation: isolate;
    cursor: pointer;
    transform-origin: center center;
}

.dark .project-card {
    background: rgba(31, 41, 55, 0.98);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2) 0%, 
        rgba(139, 92, 246, 0.2) 25%, 
        rgba(236, 72, 153, 0.2) 50%, 
        rgba(16, 185, 129, 0.2) 75%, 
        transparent 100%);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    animation: gradient-shimmer 4s ease-in-out infinite;
}

@keyframes gradient-shimmer {
    0%, 100% { 
        background: linear-gradient(135deg, 
            rgba(59, 130, 246, 0.2) 0%, 
            rgba(139, 92, 246, 0.2) 25%, 
            rgba(236, 72, 153, 0.2) 50%, 
            rgba(16, 185, 129, 0.2) 75%, 
            transparent 100%);
    }
    50% { 
        background: linear-gradient(135deg, 
            transparent 0%, 
            rgba(16, 185, 129, 0.2) 25%, 
            rgba(59, 130, 246, 0.2) 50%, 
            rgba(139, 92, 246, 0.2) 75%, 
            rgba(236, 72, 153, 0.2) 100%);
    }
}

.project-card:hover::before {
    opacity: 1;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, 
        transparent 30%, 
        rgba(59, 130, 246, 0.08) 45%, 
        rgba(139, 92, 246, 0.08) 55%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

/* Enhanced Shadow System */
.project-card:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(59, 130, 246, 0.1),
        0 5px 15px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark .project-card:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(59, 130, 246, 0.2),
        0 5px 15px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Simplified Project Card Inner */
.project-card-inner {
    position: relative;
    height: 100%;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-inner {
    transform: scale(1.01);
}

/* Remove unused animations */

/* Project Image Container - Enhanced */
.project-image-container {
    @apply relative overflow-hidden;
    height: 320px;
    position: relative;
    border-radius: 24px 24px 0 0;
    margin: 10px 10px 0 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark .project-image-container {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.project-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 20%, 
        rgba(59, 130, 246, 0.15) 45%, 
        rgba(139, 92, 246, 0.15) 55%, 
        transparent 80%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.project-card:hover .project-image-container::before {
    opacity: 1;
}

/* Project Image Slider Styles */
.project-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-track .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}

.slider-prev {
    left: 8px;
}

.slider-next {
    right: 8px;
}

.project-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.project-card:hover .slider-indicators {
    opacity: 1;
}

.indicator-dot {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.25);
}

/* Advanced Project Overlay with Multiple Layers */
.project-overlay {
    @apply absolute inset-0 opacity-0 transition-all duration-700;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.project-card:hover .project-overlay {
    @apply opacity-100;
}

.project-overlay-content {
    @apply absolute inset-0 flex items-center justify-center;
}

.project-actions {
    @apply flex space-x-4 transform translate-y-4 transition-all duration-500;
}

.project-card:hover .project-actions {
    @apply transform translate-y-0;
}

/* Enhanced Project Category Badge */
.project-category-badge {
    @apply absolute top-4 left-4 px-4 py-2 rounded-full text-xs font-bold backdrop-blur-md border border-white/20;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.9));
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    z-index: 3;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-category-badge {
    transform: translateY(0);
    opacity: 1;
}

.category-text {
    @apply text-white font-semibold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ultra Enhanced Action Buttons */
.action-btn {
    @apply w-14 h-14 text-white rounded-full flex items-center justify-center transition-all duration-500 border-2 border-white/30;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform: scale(0.8) rotate(180deg);
    opacity: 0;
}

.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3), 
        rgba(139, 92, 246, 0.3),
        rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    @apply scale-110 border-white/50;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.project-card:hover .action-btn:nth-child(1) {
    animation: bounceIn 0.6s ease 0.1s forwards;
}

.project-card:hover .action-btn:nth-child(2) {
    animation: bounceIn 0.6s ease 0.2s forwards;
}

.project-card:hover .action-btn:nth-child(3) {
    animation: bounceIn 0.6s ease 0.3s forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Enhanced Project Content */
.project-content {
    @apply flex flex-col h-full;
    min-height: 360px;
    padding: 32px 28px 28px 28px;
    margin: 0 10px 10px 10px;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.dark .project-content {
    background: linear-gradient(to bottom, 
        rgba(31, 41, 55, 0.9) 0%, 
        rgba(17, 24, 39, 0.95) 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

/* Elevated Project Header */
.project-header {
    @apply flex items-start justify-between mb-6 pb-4;
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
    position: relative;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.5s ease;
}

.project-card:hover .project-header::after {
    width: 60px;
}

.project-title {
    @apply text-xl font-bold text-gray-900 dark:text-white mb-0 flex-1 pr-4 transition-all duration-300;
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.dark .project-title {
    background: linear-gradient(135deg, #f9fafb, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
}

.project-card:hover .project-title {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    transform: translateX(2px);
}

/* Animated Status Indicator */
.project-status {
    @apply flex items-center space-x-2 flex-shrink-0;
}

.status-dot {
    @apply w-3 h-3 bg-green-500 rounded-full;
    position: relative;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.status-text {
    @apply text-xs font-semibold text-green-600 dark:text-green-400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Project Description with Parallax Effect */
.project-description {
    @apply text-gray-600 dark:text-gray-300 mb-6 line-clamp-3 leading-relaxed text-sm;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-description {
    color: #4b5563;
    transform: translateZ(10px) translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dark .project-card:hover .project-description {
    color: #d1d5db;
}

/* Advanced Technology Tags with Animations */
.project-tech {
    @apply flex flex-wrap gap-3 mb-6 border border-gray-100 dark:border-gray-700;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(249, 250, 251, 0.9) 0%, 
        rgba(243, 244, 246, 0.9) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.dark .project-tech {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.9) 0%, 
        rgba(31, 41, 55, 0.9) 100%);
    border-color: rgba(75, 85, 99, 0.3);
}

.project-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    transition: left 0.8s ease;
}

.project-card:hover .project-tech::before {
    left: 100%;
}

/* Enhanced Technology Badge Individual Styling */
.project-tech .tech-tag {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-tech .tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease-in-out;
}

.project-tech .tech-tag:hover::before {
    left: 100%;
}

.project-tech .tech-tag:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Technology Section Label */
.project-content h4 {
    @apply text-sm font-bold text-gray-700 dark:text-gray-300 mb-3 uppercase tracking-wider;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.project-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.5s ease;
}

.project-card:hover .project-content h4::after {
    width: 100%;
}

/* Enhanced Technology Tags */
.tech-tag {
    @apply text-xs font-semibold transition-all duration-500 border-2;
    padding: 10px 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.tech-tag:hover::before {
    left: 100%;
}

.tech-tag:hover {
    @apply transform scale-105 -translate-y-1;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Enhanced Technology-specific colors with gradients */
.tech-react { 
    @apply text-blue-800 border-blue-300 dark:text-blue-200 dark:border-blue-600; 
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.dark .tech-react { 
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(59, 130, 246, 0.3)); 
}

.tech-node { 
    @apply text-green-800 border-green-300 dark:text-green-200 dark:border-green-600; 
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}
.dark .tech-node { 
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.3), rgba(34, 197, 94, 0.3)); 
}

.tech-postgres { 
    @apply text-indigo-800 border-indigo-300 dark:text-indigo-200 dark:border-indigo-600; 
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}
.dark .tech-postgres { 
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.3), rgba(99, 102, 241, 0.3)); 
}

.tech-stripe { 
    @apply text-purple-800 border-purple-300 dark:text-purple-200 dark:border-purple-600; 
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}
.dark .tech-stripe { 
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.3), rgba(147, 51, 234, 0.3)); 
}

.tech-redis { 
    @apply text-red-800 border-red-300 dark:text-red-200 dark:border-red-600; 
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}
.dark .tech-redis { 
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.3), rgba(239, 68, 68, 0.3)); 
}

.tech-nextjs { 
    @apply text-gray-800 border-gray-300 dark:text-gray-200 dark:border-gray-600; 
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}
.dark .tech-nextjs { 
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.3), rgba(75, 85, 99, 0.3)); 
}

.tech-typescript { 
    @apply text-blue-800 border-blue-300 dark:text-blue-200 dark:border-blue-600; 
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.dark .tech-typescript { 
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(59, 130, 246, 0.3)); 
}

.tech-prisma { 
    @apply text-teal-800 border-teal-300 dark:text-teal-200 dark:border-teal-600; 
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}
.dark .tech-prisma { 
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.3), rgba(20, 184, 166, 0.3)); 
}

.tech-socket { 
    @apply text-yellow-800 border-yellow-300 dark:text-yellow-200 dark:border-yellow-600; 
    background: linear-gradient(135deg, #fefce8, #fef3c7);
}
.dark .tech-socket { 
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.3), rgba(245, 158, 11, 0.3)); 
}

.tech-tailwind { 
    @apply text-cyan-800 border-cyan-300 dark:text-cyan-200 dark:border-cyan-600; 
    background: linear-gradient(135deg, #ecfeff, #cffafe);
}
.dark .tech-tailwind { 
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.3), rgba(6, 182, 212, 0.3)); 
}

.tech-redux { 
    @apply text-purple-800 border-purple-300 dark:text-purple-200 dark:border-purple-600; 
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}
.dark .tech-redux { 
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.3), rgba(147, 51, 234, 0.3)); 
}

.tech-java { 
    @apply text-red-800 border-red-300 dark:text-red-200 dark:border-red-600; 
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}
.dark .tech-java { 
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.3), rgba(239, 68, 68, 0.3)); 
}

.tech-arduino { 
    @apply text-teal-800 border-teal-300 dark:text-teal-200 dark:border-teal-600; 
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}
.dark .tech-arduino { 
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.3), rgba(20, 184, 166, 0.3)); 
}

.tech-c { 
    @apply text-blue-800 border-blue-300 dark:text-blue-200 dark:border-blue-600; 
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.dark .tech-c { 
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), rgba(59, 130, 246, 0.3)); 
}

.tech-oracle { 
    @apply text-orange-800 border-orange-300 dark:text-orange-200 dark:border-orange-600; 
    background: linear-gradient(135deg, #fed7aa, #fdba74);
}
.dark .tech-oracle { 
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.3), rgba(251, 146, 60, 0.3)); 
}

/* GitHub Stats Section */
#stats {
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stats-card img {
    transition: all 0.3s ease;
}

.stats-card:hover img {
    transform: scale(1.05);
}

/* GitHub Stats Title Enhancement */
#stats .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Project Stats */
.project-stats {
    @apply flex items-center justify-between mb-6;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(249, 250, 251, 0.8) 0%, 
        rgba(243, 244, 246, 0.8) 100%);
    border: 1px solid rgba(156, 163, 175, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dark .project-stats {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.8) 0%, 
        rgba(31, 41, 55, 0.8) 100%);
    border: 1px solid rgba(75, 85, 99, 0.2);
}

.stat-item {
    @apply flex items-center space-x-2 text-sm font-semibold text-gray-600 dark:text-gray-300;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item i {
    @apply text-lg;
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: rotate(10deg);
}

/* Ultra Enhanced Project Links */
.project-links {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(156, 163, 175, 0.2);
    position: relative;
    align-items: center;
    justify-content: stretch;
}

.project-links::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.8s ease;
}

.project-card:hover .project-links::before {
    width: 100%;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.875rem;
    flex: 1;
    border: 2px solid;
    padding: 12px 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    min-height: 44px;
    cursor: pointer;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.project-link-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.project-link-secondary {
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.95), rgba(243, 244, 246, 0.95));
    color: #374151;
    border-color: #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dark .project-link-secondary {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.95), rgba(75, 85, 99, 0.95));
    color: #d1d5db;
    border-color: #4b5563;
}

.project-link-secondary:hover {
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.95), rgba(229, 231, 235, 0.95));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dark .project-link-secondary:hover {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.95), rgba(107, 114, 128, 0.95));
}

.project-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin-right: 4px;
    display: inline-block;
}

.project-link:hover i {
    transform: scale(1.1);
}

.project-link span {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Advanced Project Card Animations and Micro-interactions */

/* Staggered animation for project cards */
.project-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }
.project-item:nth-child(5) { animation-delay: 0.5s; }
.project-item:nth-child(6) { animation-delay: 0.6s; }

/* Simplified magnetic effect for project cards */
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Remove unused magneticFloat animation */

/* Remove conflicting particle effect overlay - already handled by main ::after */

/* Enhanced technology tag stagger animation */
.project-tech .tech-tag {
    animation-fill-mode: both;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .tech-tag:nth-child(1) { 
    animation: techTagPop 0.4s ease 0.05s forwards; 
}
.project-card:hover .tech-tag:nth-child(2) { 
    animation: techTagPop 0.4s ease 0.1s forwards; 
}
.project-card:hover .tech-tag:nth-child(3) { 
    animation: techTagPop 0.4s ease 0.15s forwards; 
}
.project-card:hover .tech-tag:nth-child(4) { 
    animation: techTagPop 0.4s ease 0.2s forwards; 
}
.project-card:hover .tech-tag:nth-child(5) { 
    animation: techTagPop 0.4s ease 0.25s forwards; 
}
.project-card:hover .tech-tag:nth-child(6) { 
    animation: techTagPop 0.4s ease 0.3s forwards; 
}

@keyframes techTagPop {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Ripple effect for project links */
.project-link {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.project-link:active::after {
    width: 300px;
    height: 300px;
}

/* Focus states for accessibility */
.project-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.project-link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Ensure text doesn't wrap */
.project-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove conflicting glowing border animation */

/* Remove unused borderGlow animation */

/* Enhanced overlay reveal animation */
.project-overlay {
    transform: scale(0.8);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Project stats counter animation */
.project-card:hover .stat-item {
    animation: statsBounce 0.6s ease;
}

.project-card:hover .stat-item:nth-child(1) { animation-delay: 0.1s; }
.project-card:hover .stat-item:nth-child(2) { animation-delay: 0.2s; }
.project-card:hover .stat-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes statsBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments with enhanced animations */
@media (max-width: 768px) {
    .project-card-inner {
        transform: none;
    }
    
    .project-card:hover .project-card-inner {
        transform: none;
    }
    
    .project-card:hover {
        animation: none;
        transform: translateY(-6px);
    }
    
    .project-links {
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .project-link {
        padding: 14px 16px;
        font-size: 0.75rem;
        min-height: 40px;
        width: 100%;
    }
    
    .project-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .project-tech {
        @apply gap-2;
        padding: 12px;
    }
    
    .tech-tag {
        @apply px-3 py-1 text-xs;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* Testimonial Cards */
.testimonial-card {
    @apply bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300;
}

.testimonial-content {
    @apply text-gray-600 dark:text-gray-300 mb-4 italic;
}

.testimonial-author {
    @apply flex items-center space-x-3;
}

.testimonial-avatar {
    @apply w-12 h-12 rounded-full object-cover;
}

.testimonial-info h4 {
    @apply font-semibold text-gray-900 dark:text-white;
}

.testimonial-info p {
    @apply text-sm text-gray-500 dark:text-gray-400;
}

/* Blog Cards */
.blog-card {
    @apply bg-white dark:bg-gray-800 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1;
}

.blog-image {
    @apply w-full h-48 object-cover;
}

.blog-content {
    @apply p-6;
}

.blog-category {
    @apply inline-block bg-primary-100 dark:bg-primary-900/30 text-primary-700 dark:text-primary-300 px-2 py-1 rounded-md text-xs font-medium mb-2;
}

.blog-title {
    @apply text-xl font-bold text-gray-900 dark:text-white mb-2 hover:text-primary-600 dark:hover:text-primary-400 transition-colors;
}

.blog-excerpt {
    @apply text-gray-600 dark:text-gray-300 mb-4 line-clamp-3;
}

.blog-meta {
    @apply flex items-center justify-between text-sm text-gray-500 dark:text-gray-400;
}

/* Contact Form */
.form-group {
    @apply mb-6;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2;
}

.form-input {
    @apply w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent bg-white dark:bg-gray-800 text-gray-900 dark:text-white transition-all duration-200;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent bg-white dark:bg-gray-800 text-gray-900 dark:text-white transition-all duration-200 resize-vertical min-h-[120px];
}

/* Scroll Progress Bar */
.scroll-progress {
    @apply fixed top-0 left-0 h-1 bg-primary-600 z-50 transition-all duration-200;
}

/* Loading Animation */
.loading {
    @apply animate-spin rounded-full h-6 w-6 border-b-2 border-primary-600;
}

/* Intersection Observer Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design Utilities */
@media (max-width: 768px) {
    .section-title {
        @apply text-3xl;
    }
    
    .skill-category {
        @apply p-4;
    }
    
    .project-card {
        @apply mx-4;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    @apply bg-gray-100 dark:bg-gray-800;
}

::-webkit-scrollbar-thumb {
    @apply bg-gray-400 dark:bg-gray-600 rounded-full;
}

::-webkit-scrollbar-thumb:hover {
    @apply bg-gray-500 dark:bg-gray-500;
}

/* Text truncation utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
