* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #f5f7fb,#d0dcf5);
    color: #333;
}
 
.navbar {
    position: sticky;
    top: 20px;
    float: right;
    margin-right: 40px;
    z-index: 100;
}

.navbar a {
    display: inline-block;
    margin-left: 10px;
    padding: 10px 16px;
    background: #625be1;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.navbar a:hover {
    background: #4834d4;
    text-decoration: underline;
    transform: translateY(-2px);
}
 
.section {
    padding: 100px 12%;
    background: #fffaf4;
}

.section.light {
    background: #f5f7fb;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #6492f6;
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.home-content img {
    width: 240px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.home h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

.role {
    font-size: 18px;
    color: #555;
}

.intro {
    margin-top: 15px;
    max-width: 420px;
    line-height: 1.6;
}

.skills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    
}

.skills li {
    background: #625be1;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.skills li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
    .navbar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section {
        padding: 70px 8%;
    }

    .home h1 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .home-content img {
        width: 180px;
        height: 230px;
    }

    .section h2 {
        font-size: 24px;
    }
}