/* Global */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.95);
    padding: 10px 0;
    z-index: 1000;
}

    nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            margin: 0 15px;
        }

            nav ul li a {
                color: #00bfff;
                text-decoration: none;
                font-weight: bold;
                transition: color 0.3s;
            }

                nav ul li a:hover {
                    color: #00ffff;
                }

/* Hero */
#hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #007acc, #00bfff);
    color: #fff;
}

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

    #hero p {
        font-size: 1.5rem;
    }

/* Sections */
main {
    max-width: 900px;
    margin: 100px auto 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
}

/* Headings */
h2 {
    color: #00bfff;
    margin-bottom: 15px;
    border-bottom: 2px solid #00bfff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Badges */
.badge {
    background-color: #00bfff;
    color: #fff;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Projects */
ul {
    list-style-type: disc;
    padding-left: 25px;
}

    ul li {
        margin-bottom: 10px;
    }

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

            ul li a:hover {
                color: #00ffff;
            }

/* Contact icons */
#contact a {
    color: #00bfff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

    #contact a:hover {
        color: #00ffff;
    }

/* Footer */
footer {
    background-color: #1f1f1f;
    color: #bbb;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #00bfff;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    #backToTop:hover {
        background-color: #00ffff;
        transform: scale(1.1);
    }
