* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    z-index: 100;
}

.navbar a {
    color: #cbd5f5;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #38bdf8;
}

/* Hero */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #020617);
}

.hero h2 {
    font-size: 3rem;
}

.hero p {
    color: #94a3b8;
}

/* Section */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Projects */
.projects {
    padding: 80px 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-card {
    background: #020617;
    padding: 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(56,189,248,0.3);
}

.project-card span {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #38bdf8;
}

/* About */
.about {
    padding: 80px 40px;
    text-align: center;
    background: #020617;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar nav {
        margin-top: 10px;
    }
}
