body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* progress bar */

#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #38bdf8;
    width: 0%;
    z-index: 100;
}

/* hero */

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero h2 {
    color: #38bdf8;
    font-weight: 400;
}

.buttons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 12px 22px;
    margin-right: 12px;

    background: #38bdf8;
    color: black;

    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;

    transition: all 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 14px #38bdf8;
}

/* sections */

section {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.skill {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.skill:hover {
    transform: scale(1.1);
    background: #38bdf8;
    color: black;
}

/* projects */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.project {
    background: #1e293b;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project:hover {
    transform: translateY(-10px);
    background: #38bdf8;
    color: black;
}

.project-links {
    margin-top: 20px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-right: 10px;
    padding: 8px 16px;

    background: #38bdf8;
    color: black;

    border-radius: 6px;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: all 0.25s ease;
}

.project-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px #38bdf8;
}

/* FIX BUTTON COLOR WHEN CARD IS HOVERED */

.project:hover .project-links a {
    background: #0f172a;
    color: white;
}

.project:hover .project-links a:hover {
    box-shadow: 0 0 12px #0f172a;
}

footer {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
}