/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 48px);
}

a {
    text-decoration: none;
    color: #00509e;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #002855;
    /* Deep Blue */
}

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

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

.nav-links a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00509e;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #002855 0%, #00509e 100%);
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
    background-color: #eee;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections General */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #002855;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #00509e;
    margin: 10px auto 0;
}

.section-light {
    background: #fff;
}

.section-dark {
    background: #f9f9f9;
}

/* Bio */
.bio-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1rem;
}

/* Cards (Research) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.card-icon {
    font-size: 2.5rem;
    color: #00509e;
    margin-bottom: 15px;
}

/* Timeline (Awards) */
.timeline {
    list-style: none;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline li {
    display: flex;
    margin-bottom: 30px;
    border-left: 2px solid #00509e;
    padding-left: 20px;
}

.timeline .date {
    font-weight: bold;
    color: #00509e;
    min-width: 60px;
}

/* Project List */
.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.project-item {
    background: #fff;
    padding: 20px;
    border-left: 5px solid #28a745;
    /* Green for funding */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project-item .meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.role-highlight {
    display: inline-block;
    font-weight: 700;
    color: #0b3d91;
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    padding: 1px 8px;
    line-height: 1.4;
}

.project-link {
    color: #333;
}

.project-link:hover {
    color: #00509e;
}

.pub-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.pub-type-book {
    background: #fdeaea;
    color: #a83232;
    border: 1px solid #f6c9c9;
}

.pub-type-journal {
    background: #e8f3ff;
    color: #0b4f99;
    border: 1px solid #c9dfff;
}

/* Publications */
.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
}

.pub-card {
    background: #fff;
    display: flex;
    align-items: flex-start;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.pub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.pub-icon-box {
    background-color: #1a3c61;
    /* Dark blue from screenshot */
    width: 130px;
    min-width: 130px;
    height: 180px;
    min-height: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pub-icon-lines {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0.6;
}

.pub-line {
    background: #5c7c9e;
    height: 4px;
    width: 80%;
    border-radius: 2px;
}

.pub-line:nth-child(2) {
    width: 60%;
}

.pub-line:nth-child(3) {
    width: 90%;
}

.pub-line:nth-child(4) {
    width: 70%;
}

.pub-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pub-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #000;
}

.pub-authors {
    color: #4a86ba;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.pub-context {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.pub-doi {
    font-size: 0.8rem;
    color: #333;
}

.pub-doi a {
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.pub-list {
    max-width: 1100px;
    margin: 0 auto;
}

.pub-item {
    margin-bottom: 18px;
}

.book-icon {
    background-color: #c0392b;
    /* Reddish color for books */
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.journal-cover {
    padding: 0;
    overflow: hidden;
}

.journal-cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}



/* Footer */
.footer {
    background: #002855;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .nav-links {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .nav-links li {
        margin-left: 10px;
        margin-right: 10px;
    }
}