.education li {
    margin-bottom: 1rem;
}

.education .duration {
    color: #888;   /* light grey */
    font-weight: 300;
    margin-left: 5px;
}

.education .university {
    font-size: 0.9rem;
    color: #888;   /* light grey */
    margin-left: 1.5rem; /* indent for better look */
    font-weight: 300;
}








/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff; /* Full white background */
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-menu a {
    color: #333;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Header (Profile + About Intro) */
.header {
    display: flex;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 1rem;
    background-color: #ffffff;
}

/* Sidebar */
.sidebar {
    flex: 0 0 300px;
    padding: 2rem;
    background-color: #ffffff;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.sidebar h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.title {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    margin: 0 0.5rem;
    color: #333;
    font-size: 1.5rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.main-content section {
    margin-bottom: 3rem;
    padding: 2rem;
}

.main-content section:nth-child(odd) {
    background-color: #f8f8f8; /* Light gray for odd sections to distinguish */
}

.main-content section:nth-child(even) {
    background-color: #ffffff; /* White for even sections */
}

#projects {
    background-color: #f5f5f5; /* Slightly darker gray for projects/publications section */
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

ul {
    list-style: disc;
    margin-left: 1.5rem;
}

/* Two-column layout for interests and education */
.two-columns {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.interests, .education {
    flex: 1;
}

.education li i {
    margin-right: 0.5rem;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 0.2rem;
}

/* Timeline for Experience (Waterfall style) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: 13px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0066cc;
}

.timeline-content {
    background-color: #fff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.date {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

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

.project-card {
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Blog Posts */
.blog-post {
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
    }

    .sidebar {
        margin-bottom: 2rem;
    }

    .two-columns {
        flex-direction: column;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

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

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-dot {
        left: 13px;
    }
}