/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

header {
    background: #222;
    color: #fff;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

header ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

header ul li a:hover {
    color: #f39c12;
}

section {
    padding: 100px 20px;
    min-height: 100vh;
}

#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    text-align: center;
}

#home h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#home p {
    font-size: 1.2rem;
}

#about,
#skills,
#projects,
#contact {
    background: #fff;
    margin-top: 20px;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #222;
}

.skills-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-list span {
    background: #2575fc;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.project {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

form input,
form textarea,
form button {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #2575fc;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #6a11cb;
}

footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}
