
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9fafb;
    color: #1f2933;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
}

.logo {
    font-weight: bold;
    font-size: 20px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #1f2933;
    font-weight: 600;
}

.nav-links a:hover {
    color: #2563eb;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, #dbeafe, #fef9c3);
}

.hero h1 {
    font-size: 42px;
}

.hero p {
    font-size: 20px;
    color: #374151;
}

.hero button {
    margin-top: 20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    border: none;
    color: white;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.4);
}


section {
    padding: 60px;
    max-width: 1000px;
    margin: auto;
}

.skill-card, .project-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover, .project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

input, textarea {
    margin: 10px 0;
    padding: 12px;
}

form button {
    background: #2563eb;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
}
.menu-icon {
    display: none;
    font-size: 25px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
        border-top: 1px solid #eee;
        display: block;
    }

    .menu-icon {
        display: block;
    }

    nav {
        flex-wrap: wrap;
    }
}
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #2563eb;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}
section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}
.resume-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.4);
}
.social-icons {
    position: fixed;
    top: 40%;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: white;
    color: #2563eb;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s, background 0.3s;
}

.social-icons a:hover {
    transform: translateX(8px) scale(1.1);
    background: #2563eb;
    color: white;
}

/* Hide on very small screens */
@media (max-width: 600px) {
    .social-icons {
        display: none;
    }
}
.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(37,99,235,0.4);
}
.footer {
    text-align: center;
    padding: 20px;
    background: #f1f5f9;
    margin-top: 50px;
    color: #475569;
}
