/* Enhanced Projects Page Styles */

/* Projects page square-corner overrides */
#header .headerButton,
#nav ul.dropdown-content,
#nav .dropdown-content,
#nav li.dropdown:hover > a.headerButton,
.stats-section.enhanced .stat-card,
.past-projects,
.project-card,
.project-card.featured,
.project-icon-wrapper,
.tech-tag,
.button.primary,
.button.secondary,
.back-to-top {
    border-radius: 0 !important;
}

/* Enhanced Project Cards with 3D Effects */
.project-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0071BC, #1E88E5, #60a5fa);
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.project-card:hover {
    transform: rotateX(5deg) translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 113, 188, 0.2),
        0 0 0 1px rgba(0, 113, 188, 0.1);
}

.project-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Tech Stack Tags */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0071BC;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #0071BC, #1E88E5);
    color: white;
    transform: scale(1.1);
}

/* Particle Background Effect */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 113, 188, 0.3);
    border-radius: 0;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(even) {
    animation-duration: 20s;
    background: rgba(96, 165, 250, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-50px) translateX(-50px);
    }
    75% {
        transform: translateY(-150px) translateX(25px);
    }
}
