* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00bcd4;
}

.resume-btn {
    border: 1px solid #00bcd4;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, #000, #1a1a1a);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero span {
    color: #00e5ff;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.main-btn {
    text-decoration: none;
    background-color: #00e5ff;
    color: #111;
    padding: 12px 25px;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Sections */
.section {
    padding: 100px 60px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

/* Skills */
.skills-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skill {
    background-color: white;
    padding: 15px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.skill:hover {
    transform: scale(1.1);
}

/* Projects */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Contact */
#contact p {
    text-align: center;
    font-size: 18px;
    margin: 10px 0;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 80px 20px;
    }
}
