body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #2C2C2C; /* Dark Gray */
    color: #EAEAEA; /* Light Gray */
}

header {
    background-color: transparent;
    color: #EAEAEA; /* Light Gray */
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
    position: relative;
}

nav ul li a {
    color: #00A8E8; /* Bright Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #00A8E8; /* Bright Blue */
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #00FF9F; /* Neon Green */
}

.cover {
    height: 100vh;
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    top: -83px;
    background-attachment: fixed;
    background-color: #2C2C2C; /* Match body background color */
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-attachment: fixed;
    z-index: -1;
    filter: none; /* Remove any blur filter */
}

.cover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    z-index: 1; /* Ensure the overlay is above the images */
}

.cover div {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 8px 8px 16px #0a0a0a, -8px -8px 16px #1a1a1a; /* Neumorphism effect */
    z-index: 2; /* Ensure the content is above the overlay */
}

.cover h1 {
    font-size: 3rem;
    margin: 0;
    color: #00FF9F; /* Neon Green */
    text-shadow: 0 0 10px #00FF9F; /* Neon effect */
}

.cover h1.intro {
    font-size: 2.5rem;
    margin: 0;
    color: #FFFFFF; /* White */
    text-shadow: 0 0 10px #00FF9F; /* Neon effect */
    opacity: 0; /* Initially invisible */
    animation: fadeIn 1s ease-in-out forwards;
}

.cover h1.name {
    font-size: 4rem;
    margin: 0.5rem 0;
    color: #00FF9F; /* Neon Green */
    text-shadow: 0 0 20px #00FF9F; /* Stronger neon effect */
    opacity: 0; /* Initially invisible */
    animation: fadeIn 1s ease-in-out 1s forwards;
}

.cover p {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #00A8E8; /* Electric Blue */
    text-shadow: 0 0 10px #00A8E8; /* Neon effect */
}

.cover p.title {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #00A8E8; /* Electric Blue */
    text-shadow: 0 0 10px #00A8E8; /* Neon effect */
    opacity: 0; /* Initially invisible */
    animation: fadeIn 1s ease-in-out 2s forwards;
}

.cover a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #00A8E8; /* Electric Blue */
    color: #121212; /* Deep Black */
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 10px #00A8E8; /* Neon effect */
}

.cover a:hover {
    background-color: #00FF9F; /* Neon Green */
    box-shadow: 0 0 10px #00FF9F; /* Neon effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #1F1F1F; /* Slightly lighter than main background */
    border-radius: 10px;
    box-shadow: 8px 8px 16px #0a0a0a, -8px -8px 16px #1a1a1a; /* Neumorphism effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease-out;
    opacity: 0; /* Initially hidden */
    transform: translateY(50px); /* Initial position for fade-in effect */
}

section.visible {
    opacity: 1; /* Fade-in effect */
    transform: translateY(0); /* Move to final position */
}

section:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h2 {
    border-bottom: 2px solid #EAEAEA; /* Light Gray */
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 1rem;
    color: #A8A8A8; /* Muted Gray */
}

form input, form textarea {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 10px;
    background-color: #1F1F1F; /* Slightly lighter than main background */
    color: #EAEAEA; /* Light Gray */
    box-shadow: inset 8px 8px 16px #0a0a0a, inset -8px -8px 16px #1a1a1a; /* Neumorphism effect */
}

form button {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #00A8E8; /* Bright Blue */
    color: #121212; /* Deep Black */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 8px 8px 16px #0a0a0a, -8px -8px 16px #1a1a1a; /* Neumorphism effect */
}

form button:hover {
    background-color: #00FF9F; /* Neon Green */
    transform: scale(1.05);
}

footer {
    background-color: #1F1F1F; /* Slightly lighter than main background */
    color: #EAEAEA; /* Light Gray */
    text-align: center;
    padding: 1rem;
    /* position: fixed; */
    width: 97%;
    /* bottom: 0; */
}

img {
    max-width: 40%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add media query for mobile devices */
@media (max-width: 426px) {
    img {
        max-width: 100%;
    }
}

.portfolio-item .links {
    margin-top: 1rem;
}

.portfolio-item .links a {
    color: #00A8E8; /* Electric Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.portfolio-item .links a:hover {
    color: #00FF9F; /* Neon Green */
}
