/* Global Styles */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    background: #f4f7fb; 
    color: #333; 
}

a { 
    text-decoration: none; 
    color: inherit; 
}

header { 
    background: linear-gradient(135deg, #4e54c8, #8f94fb); 
    color: #fff; 
    padding: 80px 20px; 
    text-align: center; 
}

header h1 { 
    font-size: 3rem; 
    margin-bottom: 10px; 
}

header p { 
    font-size: 1.2rem; 
    opacity: 0.9; 
}

nav { 
    background: #fff; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 10; 
}

nav ul { 
    display: flex; 
    justify-content: center; 
    list-style: none; 
}

nav ul li { 
    margin: 10px 20px; 
}

nav ul li a { 
    font-weight: bold; 
    color: #4e54c8; 
    transition: color 0.3s ease; 
}

nav ul li a:hover { 
    color: #8f94fb; 
}

section { 
    padding: 80px 20px; 
    max-width: 1000px; 
    margin: auto; 
}

section h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    text-align: center; 
    color: #4e54c8; 
}

/* About */
.about p { 
    text-align: center; 
    font-size: 1.1rem; 
    max-width: 700px; 
    margin: auto; 
}

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

.project-card { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    padding: 20px; 
    transition: transform 0.3s ease; 
}

.project-card:hover { 
    transform: translateY(-8px); 
}

.project-card h3 { 
    margin-bottom: 10px; 
    color: #333; 
}

.project-card p { 
    font-size: 0.95rem; 
    margin-bottom: 10px; 
}

.project-card a { 
    color: #4e54c8; 
    font-weight: bold; 
}

/* Experience */
.timeline { 
    border-left: 3px solid #4e54c8; 
    padding-left: 20px; 
}

.timeline-item { 
    margin-bottom: 20px; 
    position: relative; 
}

.timeline-item::before { 
    content: ""; 
    position: absolute; 
    left: -10px; 
    top: 5px; 
    width: 15px; 
    height: 15px; 
    background: #4e54c8; 
    border-radius: 50%; 
}

.timeline-item h3 { 
    margin-bottom: 5px; 
    color: #4e54c8; 
}

.timeline-item span { 
    font-size: 0.9rem; 
    color: #777; 
}

/* Contact */
.contact { 
    text-align: center; 
}

.contact a { 
    display: inline-block; 
    margin: 10px 15px; 
    font-size: 1.2rem; 
    color: #4e54c8; 
    transition: color 0.3s; 
}

.contact a:hover { 
    color: #8f94fb; 
}

footer { 
    background: #333; 
    color: #fff; 
    text-align: center; 
    padding: 20px; 
    margin-top: 40px; 
}


/* Animations */
[data-animate] { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease; 
}

[data-animate].visible { 
    opacity: 1; 
    transform: translateY(0); 
}
