/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #f4f6f9;
    color: #333;
}

/* Navbar */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #4f46e5;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #4f46e5;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-content span {
    color: #ffd700;
}

.hero-content p {
    margin: 20px 0;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #4f46e5;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #ffd700;
    color: #333;
}

/* Sections */
.section {
    max-width: 1000px;
    margin: auto;
    padding: 100px 20px;
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    color: #4f46e5;
}

/* Skills */
.skills-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.skills-list li {
    background: #4f46e5;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

/* Projects */
.project-card {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #4f46e5;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Smooth reveal animation */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 80px 20px;
    }
}
