* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #eef2f5;
    color: #222;
    transition: 0.3s;
}

body.dark {
    background: #0e1624;
    color: #f0f0f0;
}

/* HEADER */
header {
    text-align: center;
    padding: 40px 10px;
    background: #003663;
    color: white;
}

nav {
    background: #022943;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

nav ul li a:hover {
    color: #ffd700;
}

.mode-toggle {
    position: fixed;
    right: 15px;
    bottom: 15px;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background: #003663;
    color: white;
    z-index: 10;
}

/* SLIDER */
.slider-section {
    text-align: center;
    margin-top: 25px;
}

.slider {
    position: relative;
    max-width: 700px;
    margin: 20px auto;
}

.slides img {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.slides img.active {
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.download-btn {
    margin-top: 10px;
    padding: 12px 20px;
    border: none;
    background: #003663;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

/* PROFILE CARDS */
.profile, .skills, .contact {
    width: 80%;
    margin: 30px auto;
}

.profile h2, .skills h2, .contact h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #003663;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

body.dark .card {
    background: #162235;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* SKILLS */
.skills ul {
    list-style: square;
    padding-left: 25px;
    font-size: 18px;
    line-height: 1.8;
}

/* CONTACT */
.contact {
    text-align: center;
}

/* ANIMATION */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #003663;
    color: white;
    margin-top: 30px;
}
