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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

body {
    line-height: 1.9;
    color: #333;
    background: #f7f7f7;
}

header {
    color: white;
    padding: 15px 40px;
    position: sticky;
    top: 0;
    width: 100%;
    background: #2b4c7e;
}

nav {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 50px;
}

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

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

nav a:hover,
nav a.active {
    color: #111;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.close-icon {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media(max-width:768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        justify-content: flex-start;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: #2a5298;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        gap: 25px;
        transition: 0.3s;
    }

    nav ul.show {
        left: 0;
    }

}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2a5298;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 20px;
}

.buttons {
    margin-top: 20px;
}

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

.btn:hover {
    background: white;
    color: #1e3c72;
}

.section {
    padding: 60px;
    background: white;
    margin-top: 20px;
}

.section h2 {
    margin-bottom: 20px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    ;
}

.skills-grid ul {
    list-style: none;
}

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

.experience-card {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    line-height: 1.7;
}

.experience-card h3 {
    margin-bottom: 10px;
    color: #1e3c72;
}

.experience-card h4 {
    margin-top: 20px;
    color: #333;
}

.duration {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.experience-card ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.project-card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

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

.project-card ul {
    margin: 10px 0;
    padding-left: 15px;
}

.learning {
    padding-left: 20px;
}

.contact {
    text-align: center;
}

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

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2b4c7e;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

@media(max-width:768px) {

    .section {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

}