/* ======== Global Styles & Variables ======== */
:root {
    --primary-color: #004a9e;
    --secondary-color: #b3a369;
    --dark-gray: #333;
    --light-gray: #f4f4f4;
    --background-color: #ffffff;
    --text-color: #444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--light-gray);
    padding-bottom: 5px;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

/* ======== Header & Navigation ======== */
header {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

nav .logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* ======== Hero & About Section ======== */
.hero-about {
    background-color: var(--light-gray);
    border-bottom: 1px solid #ddd;
    padding: 5rem 2rem;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* --- Left Column: Pic + Links --- */
.hero-left {
    flex: 0 0 150px; /* <--- CHANGED */
    display: flex;
    flex-direction: column;
}

.hero-left .profile-pic {
    width: 200;           /* <--- CHANGED */
    height: 200px;          /* <--- CHANGED */
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-left .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-left .social-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    border: none;
    padding: 0;
    transition: color 0.3s ease;
}

.hero-left .social-links a:hover {
    color: var(--secondary-color);
    background: none;
    text-decoration: underline;
}

/* --- Right Column: Text --- */
.hero-right {
    flex: 1;
}

.hero-right h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-right .subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-right .about-text {
    font-size: 1.1rem; /* Slightly larger text for readability */
    margin-bottom: 1.5rem;
}

/* ======== Timeline Section ======== */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100px;
    height: 100%;
    width: 3px;
    background: var(--light-gray);
}

.timeline li {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 140px;
    min-height: 50px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 92px;
    top: 5px;
    height: 15px;
    width: 15px;
    background: var(--secondary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline .timeline-date {
    position: absolute;
    left: 0;
    top: 2px;
    width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.timeline .timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline .timeline-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

/* ======== Footer ======== */
footer {
    background: var(--dark-gray);
    color: var(--light-gray);
    text-align: center;
    padding: 3rem 2rem;
}

footer h2 {
    color: var(--background-color);
    border-bottom: none;
}

footer p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

footer .social-links a {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
    color: var(--background-color);
}

footer .social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-gray);
    text-decoration: none;
}

footer .copyright {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #aaa;
}

/* ======== Responsive Design ======== */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    
    nav {
        flex-direction: column;
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    nav .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.25rem 0.5rem;
    }

    body {
        padding-top: 120px;
    }

    .hero-about {
        padding-top: 3rem;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-left {
        flex-basis: auto;
        align-items: center;
    }

    .hero-left .social-links {
        align-items: center;
    }

    .hero-right {
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline li {
        padding-left: 60px;
    }

    .timeline li::before {
        left: 12px;
    }

    .timeline .timeline-date {
        position: static;
        width: auto;
        text-align: left;
        font-size: 0.9rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
}