
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0f1a, #4b0082);
    color: white;
}

.section {
    display: none;
    padding: 60px 20px;
}

.section.active {
    display: block;
}

/* NAVBAR */
.navbar {
    background: white;
    color: #0a0f1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    border-radius: 12px;
    margin: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-center button {
    background: transparent;
    border: none;
    font-size: 16px;
    margin: 0 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.nav-center button:hover {
    background: #6a0dad;
    color: white;
    box-shadow: 0 0 10px #3b82f6;
}

.nav-icon {
    width: 32px;
    margin-left: 10px;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.purple {
    color: #c77dff;
}

.hero-sub {
    font-size: 20px;
    opacity: 0.9;
}

.cta {
    margin-top: 25px;
    padding: 12px 25px;
    font-size: 18px;
    background: #6a0dad;
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.cta:hover {
    background: #3b82f6;
    box-shadow: 0 0 12px #3b82f6;
}

/* CARDS */
.card {
    background: white;
    color: #0a0f1a;
    padding: 25px;
    border-radius: 12px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-left: 5px solid #6a0dad;
}

/* PROJECTS */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.project-card {
    background: white;
    color: #0a0f1a;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #6a0dad;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.project-card:hover {
    box-shadow: 0 0 15px #3b82f6;
    transform: translateY(-5px);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
}
