/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

a {
    text-decoration: none !important;
    color: #38b6ff;  /* Soft blue color to indicate clickable links */
    transition: color 0.2s ease;
}

a:hover {
    color: #00d4ff;  /* Brighter blue on hover */
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar a {
    color: #212529;  /* Dark color for navbar links */
}

.navbar a:hover {
    color: #0d6efd;  /* Bootstrap primary blue on hover */
}

.navbar-brand {
    font-weight: 700;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin: 20px auto 0;
}

/* Home Section */
#home {
    position: relative;
    overflow: hidden;
}

.home-row {
    min-height: 700px;
}

.col-lg-7.d-flex.flex-column {
    justify-content: space-between;
}

.profile-picture-container {
    max-width: 450px;
    margin: 0;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.profile-picture {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 100%;
    object-fit: contain;
}

.profile-picture:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.home-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: transform 0.3s ease;
}

.home-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.home-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 30px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

/* News Section */
.news-highlights {
    margin-top: 1.5rem;
    padding: 0;
}

.news-item {
    transition: transform 0.3s ease;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.news-item:hover {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.news-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    margin-bottom: 0.4rem;
}

.news-item p {
    font-size: 1rem;
    line-height: 1.4;
}

.news-item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-item a:hover {
    color: #fff;
}

.news-link {
    text-decoration: none !important;
    transition: color 0.2s ease;
    color: #7cd3fc;  /* Light blue that works well on dark backgrounds */
    border-bottom: none !important;
}

.news-link:hover {
    color: #00eeff;  /* Brighter cyan on hover */
    text-decoration: none !important;
    border-bottom: none !important;
}

.paper-list {
    list-style-type: disc;
    margin-top: 0.25rem;
}

.paper-list li {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

/* Contact Section */
.contact-info i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #007bff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    margin: 0;
}

.social-links a i {
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-links a:hover {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

.social-links a:hover i {
    color: white !important;
}

.social-links a:hover svg {
    fill: white !important;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .timeline-item {
        padding: 20px;
    }
}
