/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Navigation */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.nav-links a:hover {
    color: #0077ff;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Menu Hidden by Default */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 200px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        border-radius: 8px 0 0 8px;
    }

    .nav-links a {
        font-size: 18px;
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(to right, #0077ff, #00c6ff);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
}

.hero span {
    color: #ffe600;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ffe600;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background: #fff;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.skill-card {
    background: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Timeline */
.timeline-item {
    margin-bottom: 20px;
}

.timeline-item h3 {
    font-size: 22px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-card a {
    color: #0077ff;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    margin-top: 40px;
}
