* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #0f172a;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Sections */
section {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0f172a;
}

/* Skills */
#skills ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

#skills li {
    background: white;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Projects */
.project {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.project h3 {
    margin-bottom: 10px;
    color: #0f172a;
}

.project span {
    font-size: 0.9rem;
    color: #555;
}

/* Contact */
#contact p {
    text-align: center;
    margin: 10px 0;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
/* Dark Mode */
body.dark {
    background-color: #0f172a;
    color: #e5e7eb;
}

body.dark header,
body.dark footer {
    background-color: #020617;
}

body.dark section h2 {
    color: #38bdf8;
}

body.dark .project,
body.dark #skills li {
    background-color: #020617;
    color: #e5e7eb;
}

/* Dark mode button */
#theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    background: #38bdf8;
}
/* Animations */
section {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.project:hover {
    transform: scale(1.02);
    transition: 0.3s ease;
}

#skills li:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}
