* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #222;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.top-info {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: white;
}

.top-info h1 {
    font-size: 32px;
}

.top-info .role {
    font-size: 18px;
    margin: 10px 0;
}

.buttons {
    margin-top: 15px;
}

.buttons a {
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.buttons a:hover {
    background-color: white;
    color: #007bff;
}

section {
    padding: 60px 50px;
}

#skills, #projects {
    background-color: #f9f9f9;
}

.skills-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.skill-box {
    background: white;
    padding: 20px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Projects */
#projects h2 {
    text-align: center;
    margin-bottom: 40px;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.3s;

    opacity: 0;
    transform: translateY(30px);
}

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

.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    margin: 6px 0;
    color: #444;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.project-card a:hover {
    text-decoration: underline;
}

#contact {
    text-align: center;
}

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    section {
        padding: 40px 20px;
    }

    .skills-container {
        flex-direction: column;
    }
}