/* General Styling */
*{
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0F172A; /* Dark Navy */
    color: #E2E8F0; /* Soft White-Gray Text */
    text-align: center;
    scroll-behavior:smooth;
}

/* Header */
header {
    background: #111827; /* Deep Charcoal */
    color: #FACC15; /* Bright Yellow */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 3px solid #6366F1; /* Electric Purple */
}

header img {
    width: 400px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6366F1; /* Electric Purple border */
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

header img:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}


.one {
    text-align: left;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #FACC15; /* Bright Yellow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #6366F1; /* Electric Purple */
}

/* Sections */
section {
    padding: 40px;
    background: #111827; /* Deep Charcoal */
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(99, 102, 241, 0.5); /* Purple Glow */
}

/* Projects */

.project {
    background: #1E293B; /* Dark Blue */
    padding: 28px;
    margin: 10px auto;
    border-radius: 25px;
    width: 50%;
    min-width: 250px;
    max-width: 600px;
    height: auto;
    color: white;
    transition: 0.3s;
    border: 2px solid #6366F1; /* Electric Purple Border */
}

.project:hover {
    background: #6366F1; /* Electric Purple */
    cursor: pointer;
    transform: scale(1.05);
}

/* Skills Section */
#skills ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

#skills li {
    width: 45%;
    display: inline-block;
    margin: 5px;
    padding: 10px;
    background: #1E293B; /* Dark Blue */
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: #FACC15; /* Bright Yellow */
    border: 1px solid #6366F1; /* Electric Purple */
}

/* Footer */
footer {
    background: #111827;
    color: #FACC15; /* Bright Yellow */
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid #6366F1; /* Electric Purple */
}

a{
    text-decoration: none;
    color: #8485ed; /* Electric Purple */
    transition: bsackground-color 0.3s ease,;

}

a :hover {
    color: #FACC15; /* Bright Yellow */
}   


/* Responsive Design */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .one {
        margin-left: 0;
        text-align: center;
    }
    .project {
        width: 80%;
    }
    section {
        padding: 25px;
        margin: 10px;
    }
    #skills li {
        width: 90%;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 10px;
    }
    header img {
        width: 100px;
        height: 100px;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .project {
        width: 98%;
        padding: 15px;
    }
    section {
        padding: 10px;
        margin: 5px;
    }
    #skills ul {
        flex-direction: column;
    }
    #skills li {
        width: 100%;
        margin: 5px 0;
    }
    footer {
        font-size: 14px;
        padding: 6px;
    }
}

@media (max-width: 425px) {
    body {
        font-size: 15px;
    }
    header {
        padding: 5px;
    }
    header img {
        width: 60px;
        height: 60px;
    }
    .project {
        border-radius: 12px;
        padding: 8px;
    }
    section {
        border-radius: 5px;
    }
}
