::-webkit-scrollbar {
    width: 6px;
    background: transparent !important;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #4747477c;
    border-radius: 10px;
    transition: 0.05s;
}

::-webkit-scrollbar-thumb:hover {
    background: #30303099;
}

::-webkit-scrollbar:horizontal {
    height: 4px;
    background: transparent !important;
}

/* Enhanced Project Cards Styles */
.project-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

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

.project-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(var(--primary-color-rgb), 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.5);
}

.project-image-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.project-image-hover {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: cover;
    height: 100%;
    filter: brightness(0.8) contrast(1.1);
}

.project-card-modern:hover .project-image-hover {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

.project-overlay {
    background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.9) 0%, 
                rgba(var(--primary-color-rgb), 0.8) 100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px 8px 0 0;
}

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

.project-overlay-content {
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.project-card-modern:hover .project-overlay-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.project-icon {
    display: inline-block;
    position: relative;
}

.project-icon i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.project-icon::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: all 0.3s ease;
    z-index: 1;
}

.project-card-modern:hover .project-icon::before {
    transform: translateX(-50%) scale(1.2);
}

.project-card-modern:hover .project-icon i {
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.project-content {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-card-modern:hover .project-content {
    background: rgba(255, 255, 255, 0.05);
    border-top-color: rgba(var(--primary-color-rgb), 0.3);
}

.project-meta .badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-meta .badge::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: all 0.5s ease;
}

.project-card-modern:hover .project-meta .badge::before {
    left: 100%;
}

.project-stats small {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
}

.project-card-modern:hover .project-stats small {
    color: rgba(var(--primary-color-rgb), 1) !important;
}

.text-gray {
    color: rgba(255, 255, 255, 0.65) !important;
    transition: all 0.3s ease;
}

.project-card-modern:hover .text-gray {
    color: rgba(255, 255, 255, 0.8) !important;
}

.fs-36 {
    font-size: 36px !important;
}

.fs-14 {
    font-size: 14px !important;
}

/* Modern Pulse Animation */
@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }
}

/* Floating Animation - More Subtle */
@keyframes modernFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
    }
    50% { 
        transform: translateY(-8px) rotateX(2deg);
    }
}

.project-card-modern:nth-child(odd) {
    animation: modernFloat 8s ease-in-out infinite;
}

.project-card-modern:nth-child(even) {
    animation: modernFloat 8s ease-in-out infinite;
    animation-delay: 4s;
}

.project-card-modern:hover {
    animation: none;
}

/* Enhanced Button Effects */
.project-card-modern .btn-main {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card-modern .btn-main::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: all 0.6s ease;
}

.project-card-modern:hover .btn-main::before {
    left: 100%;
}

.project-card-modern:hover .btn-main {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Content Animation Stagger */
.project-card-modern:hover h4 {
    animation: slideInUp 0.6s ease;
    animation-fill-mode: both;
}

.project-card-modern:hover .project-meta {
    animation: slideInUp 0.6s ease 0.1s;
    animation-fill-mode: both;
}

.project-card-modern:hover .project-stats {
    animation: slideInUp 0.6s ease 0.2s;
    animation-fill-mode: both;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-image-wrapper {
        height: 200px;
    }
    
    .project-card-modern:hover {
        transform: translateY(-5px);
    }
    
    .project-card-modern:nth-child(odd),
    .project-card-modern:nth-child(even) {
        animation: none;
    }
}

/* Call to Action Section Enhancement */
.bg-blur {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.bg-blur:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2);
}