/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
}

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

/* Navigation */
nav {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

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

.logo img {
    width: 50px;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

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

/* Header Content */
.header-content {
    text-align: center;
    padding: 0;
}

.header-content h1 {
    font-size: 48px;
    margin-bottom: 6px;
}

.header-content p {
    font-size: 20px;
    color: #777;
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-header img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #ddd;
    margin-bottom: 20px;
}

.profile-header h1 {
    font-size: 48px;
    margin: 0;
}

.profile-header p {
    font-size: 20px;
    color: #777;
    margin: 10px 0 30px 0;
}

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

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 40px 0;
}

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

.timeline-entry {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-entry .timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.timeline-entry .timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-entry .timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.timeline-entry h3 {
    margin-top: 0;
}

.timeline-entry p {
    margin-bottom: 0;
}

.timeline-entry a {
    color: #007bff;
    text-decoration: none;
}

.timeline-entry a:hover {
    text-decoration: underline;
}

/* Projects */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-card {
    flex: 1 1 calc(25% - 40px);
    max-width: calc(25% - 40px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s;
    text-align: center;
}

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

.project-card img {
    width: 100%;
    height: auto;
}

.project-card .project-info {
    padding: 10px;
}

.project-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* Publications Section */
#publications {
    margin-top: 40px;
  }

  
  .publication-list {
    list-style: none;
    padding-left: 0;
  }
  
  .publication-item {
    margin-bottom: 15px;
    /* font-size: 18px; */
    line-height: 1.6;
  }
  
  .publication-item a {
    /* font-weight: bold; */
    color: #007bff;
    text-decoration: none;
  }
  
  .publication-item a:hover {
    text-decoration: underline;
    color: #0056b3;
  }
  
  .publication-date {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
  }
  
  .publication-item:hover {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
  }
  

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

footer p {
    margin: 0;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .project-card {
        flex: 1 1 calc(33.333% - 40px);
        max-width: calc(33.333% - 40px);
    }
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
    }

    .nav-links li {
        display: block;
        margin: 5px 0;
    }

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

    .timeline-entry {
        padding-left: 50px;
    }

    .timeline-entry .timeline-icon {
        left: 0;
    }

    .projects-grid {
        gap: 10px;
    }

    .project-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .project-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .timeline-entry {
        padding-left: 70px;
    }

    .timeline-entry .timeline-icon {
        left: 10px;
    }
}



/* Blog Section */
#blog {
    margin-top: 60px;
}

.blog-list {
    margin-top: 20px;
}

.blog-post {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.blog-post p {
    margin: 0 0 12px 0;
}

.blog-post p a {
    text-decoration: none;
    color: #007bff;
}

.blog-post p a:hover {
    text-decoration: underline;
}

.blog-date {
    color: #777;
    font-size: 14px;
    margin: 5px 0;
}

.blog-excerpt {
    font-size: 16px;
    color: #555;
}

/*Section Divider*/
.section-divider {
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    padding: 0;
    margin: 20px 0px 20px 0px;
    border: 0;
    width: 100%;
}

