/* General Styling */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif; /* A nice serif font for headings looks more academic */
    font-weight: 700;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #0d6efd; /* Bootstrap primary color */
    margin-top: 10px;
}

/* Hero Section */
.profile-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border: 5px solid #fff;
}

.social-btn {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* Publication Card */
.publication-card {
    border-left: 3px solid #0d6efd;
    padding-left: 20px;
    transition: transform 0.2s;
}

.publication-card:hover {
    transform: translateX(5px);
}

/* Project Cards */
.project-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Experience Timeline */
.timeline {
    border-left: 2px solid #e9ecef;
    margin-left: 10px;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    left: -39px;
    top: 5px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
}

/* Navbar Tweaks */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #555;
}
.navbar-nav .nav-link.active {
    color: #0d6efd;
}

/* Responsive Tweaks */
@media (max-width: 991px) {
    .photo-wrapper {
        margin-bottom: 30px;
    }
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    .display-4 {
        font-size: 2.5rem;
    }
}