body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #222;
}
.navbar {
    background: #007BFF;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.navbar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.navbar a:hover {
    color: #e0e0e0;
}
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 1rem 1rem;
    background: #f8f9fa;
}
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,123,255,0.15);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}
.avatar:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 32px rgba(0,123,255,0.25);
}
.about h1 {
    margin: 0.5rem 0 0.2rem 0;
    color: #007BFF;
    font-size: 2rem;
}
.about p {
    color: #555;
    font-size: 1.1rem;
    text-align: center;
}
.skills {
    padding: 2rem 1rem;
    background: #fff;
}
.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.skill {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.07);
}
.progress {
    background: #e9ecef;
    border-radius: 6px;
    height: 8px;
    margin-top: 0.5rem;
    overflow: hidden;
}
.progress-bar {
    background: #007BFF;
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.experience {
    padding: 2rem 1rem;
    background: #f8f9fa;
}
.experience ul {
    padding-left: 1.2rem;
}
.projects {
    padding: 2rem 1rem;
    background: #fff;
}
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.project {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,123,255,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.project img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(0,123,255,0.18);
}
.project:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 32px rgba(0,123,255,0.25);
}
.project-info {
    padding: 1rem;
}
.btn {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: background 0.3s, transform 0.3s;
}
.btn:hover {
    background: #0056b3;
    transform: scale(1.08);
}
.contact {
    padding: 2rem 1rem;
    background: #f8f9fa;
    text-align: center;
}
.contact ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}
.contact a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.contact a:hover {
    color: #0056b3;
}
@media (max-width: 768px) {
    .skills-list, .projects-list {
        grid-template-columns: 1fr;
    }
    .about h1 {
        font-size: 1.5rem;
    }
    .project img {
        height: 120px;
    }
}
@media (max-width: 480px) {
    .navbar ul {
        gap: 1rem;
        font-size: 0.95rem;
    }
    .about {
        padding: 1.2rem 0.5rem;
    }
    .skills, .experience, .projects, .contact {
        padding: 1.2rem 0.5rem;
    }
}
