body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #121212;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    background: rgba(22, 22, 22, 0.8);
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
}
.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}
.projects-section {
    padding: 60px 20px;
    text-align: center;
    min-height: 150vh;
}
.projects-section h2 {
    font-size: 4rem;
    margin-bottom: 40px;
    color: #c7c7c7;
    position: relative;
    top: 40px;
}
.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.card {
    position: relative;
    width: 350px;
    padding: 20px;
    height: 500px;
    border-radius: 10px;
    border: 0.8px solid white;
    overflow: hidden;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    top: 60px;
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #d2d2d2;
}
.card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
}
.card p {
    font-size: 1rem;
    color: #ddd;
}
.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateX(var(--rotateX)) rotateY(var(--rotateY));
}
.live-link {
    display: inline-block;
    padding: 12px 18px;
    background: #d4d4d4;
    color: rgb(43, 43, 43);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.live-link:hover {
    background-color: #004d99;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .projects-section h2 {
        font-size: 2rem;
    }
    .card {
        width: 100%;
        height: auto;
    }
    .card img {
        height: 150px;
    }
    .card h3 {
        font-size: 1.2rem;
    }
    .card p {
        font-size: 0.9rem;
    }
}