* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f172a;
    color: white;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1e293b;
}

.logo {
    font-size: 28px;
    color: #38bdf8;
}

.logo span {
    color: #facc15;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Home */
.home {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 80px 10%;
    flex-wrap: wrap;
}

.home-content {
    max-width: 500px;
}

.home-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.home-content span {
    color: #38bdf8;
}

.btn {
    background: #38bdf8;
    color: white;
    border: none;
    padding: 10px 25px;
    margin-top: 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
}

.profile-pic {
    width: 250px;
    border-radius: 50%;
    box-shadow: 0 0 20px #38bdf8;
}

/* About */
.about, .skills, .projects, .contact {
    padding: 80px 10%;
    text-align: center;
}

.about p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.skill-card {
    background: #1e293b;
    padding: 15px 30px;
    border-radius: 12px;
    transition: 0.3s;
}

.skill-card:hover {
    background: #38bdf8;
}

/* Projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    transition: 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Contact */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
}

textarea {
    resize: none;
    height: 120px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-links a {
    font-size: 28px;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    color: #38bdf8;
}

.email-text {
    margin-top: 15px;
    font-size: 16px;
}

.email-text a {
    color: #38bdf8;
    text-decoration: none;
}

.email-text a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 20px;
    background: #1e293b;
    color: #94a3b8;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1e293b;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        border-radius: 0 0 0 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .home {
        text-align: center;
    }
}
