:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --primary: #2563eb; 
    --gray: #f4f7f9;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
}

.container { 
    max-width: 1100px; 
    margin: auto; 
    padding: 0 2rem; 
}

.bg-alt { 
    background: var(--gray); 
    padding: 5rem 0; 
}

/* Header & Navigation */
header { 
    padding: 1.5rem 0; 
    border-bottom: 1px solid var(--border); 
    position: sticky; 
    top: 0; 
    background: #fff; 
    z-index: 1000; 
}

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

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 2rem;
}

nav ul li a { 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 600; 
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Logo Styling */
.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    color: #1a1a1a;
    text-transform: uppercase;
}

.logo span {
    font-weight: 400;
    color: var(--primary);
    margin-left: 2px;
}

/* Hero Section */
.hero { 
    display: flex; 
    align-items: center; 
    padding: 8rem 2rem; 
    gap: 4rem; 
}

.hero-content { flex: 2; }
.hero-img { flex: 1; text-align: right; }

.hero-img img { 
    width: 300px; 
    height: 300px;
    border-radius: 50%; 
    object-fit: cover; 
    border: 10px solid var(--gray); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 { font-size: 4rem; line-height: 1.1; }

.tagline { 
    font-size: 1.5rem; 
    color: var(--primary); 
    margin: 1rem 0; 
    font-weight: 600; 
}

.bio { color: #555; max-width: 600px; }

/* Timeline */
.title { margin-bottom: 3rem; font-size: 2.5rem; text-align: center; }

.timeline { 
    border-left: 3px solid var(--primary); 
    padding-left: 2rem; 
    max-width: 800px; 
    margin: auto;
}

.item { position: relative; margin-bottom: 3rem; }

.item::before { 
    content: ''; 
    position: absolute; 
    left: -2.7rem; 
    top: 0.5rem; 
    width: 1.2rem; 
    height: 1.2rem; 
    background: var(--primary); 
    border-radius: 50%; 
    border: 3px solid #fff;
}

.date { font-weight: 700; color: var(--primary); }

/* Education Cards */
.edu-card { 
    background: #fff; 
    padding: 2rem; 
    margin-bottom: 1.5rem; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}

/* Button */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); }

/* Footer */
footer { padding: 5rem 0; text-align: center; border-top: 1px solid #eee; }
footer a { color: var(--primary); text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column-reverse; text-align: center; padding: 4rem 1rem; }
    nav { display: none; }
    .hero-img img { width: 200px; height: 200px; }
}