body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #0d6efd;
}
a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-weight: 700;
    color: #2c3e50;
}

/* Profile Card (Left Sidebar) */
.profile-card {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px; /* Sticky effect */
}
.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    background-color: #eee; /* Placeholder color */
}

/* Social Links */
.social-link {
    color: #555;
    font-size: 1.3rem;
    margin: 0 8px;
    transition: color 0.3s;
}
.social-link:hover {
    color: #0d6efd;
}

/* Section Styling */
.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    color: #2c3e50;
    margin-top: 60px;
}
.section-title:first-of-type {
    margin-top: 0;
}

/* News List with Scrollbar */
.news-container {
    max-height: 300px; /* Limit height */
    overflow-y: auto;  /* Enable vertical scroll */
    padding-right: 15px;
    border: 1px solid #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 20px;
}
.news-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}
.news-item:last-child {
    border-bottom: none;
}
.news-date {
    font-weight: bold;
    color: #0d6efd;
    margin-right: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Custom Scrollbar Styling */
.news-container::-webkit-scrollbar {
    width: 8px;
}
.news-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.news-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.news-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Publication List */
.paper-item {
    margin-bottom: 25px;
}
.paper-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #000;
    display: block;
    margin-bottom: 4px;
}
.paper-title:hover {
    color: #0d6efd;
    text-decoration: none;
}
.paper-authors {
    color: #555;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.paper-venue {
    font-style: italic;
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.me {
    font-weight: bold;
    color: #2c3e50;
    text-decoration: underline;
}

/* Publication Buttons Style */
.pub-btn {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    margin-right: 8px;
    margin-top: 4px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    color: #495057;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.pub-btn:hover {
    background: #f8f9fa;
    color: #0d6efd;
    text-decoration: none;
    border-color: #0d6efd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.pub-btn i {
    margin-right: 4px;
    font-size: 0.85em;
}

/* Experience & Education Lists */
.exp-item, .edu-item {
    margin-bottom: 20px;
}
.exp-role, .edu-degree {
    font-weight: 600;
    font-size: 1.05rem;
}
.exp-place, .edu-school {
    font-weight: 500;
}
.exp-date, .edu-date {
    color: #6c757d;
    font-size: 0.9rem;
    float: right;
}

@media (max-width: 768px) {
    .exp-date, .edu-date {
        float: none;
        display: block;
    }
    .profile-card {
        position: static;
        margin-bottom: 30px;
    }
}
