body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #f9f9f9, #eef2f7);
    animation: fadeIn 1s ease-out forwards;
}
html {
    scroll-behavior: smooth;
}
.section {
    background: white;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
header {
    margin: 20px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-around;
}

nav a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

nav a:hover {
    background: purple;
    color: white;
}

.home-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile {
    width: 250px;
    border-radius: 50%;
}

.text-content h1 {
    color: purple;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.skill-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.skill-item:hover {
    background: #ddd;
    color: purple;
    transform: translateY(-2px);
}
.projects-grid {
    display: grid;
    gap: 15px;
}
.project-card {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
}
.contact-form {
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    display: block;
}

button {
    padding: 10px 20px;
    cursor: pointer;
}
.hire-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #4285f4;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.hire-btn:hover {
    background: #3367d6;
}
footer {
    margin: 20px;
    padding: 10px;
    background: white;
    text-align: center;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .profile {
        width: 180px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }
}
