/* Academic Professional Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #004d99;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
    color: #004d99;
    margin: 0;
    display: block !important;
    border: none;
    padding-bottom: 0;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: #003366;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #004d99;
    border-bottom: 2px solid #004d99;
    padding-bottom: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    color: white;
    padding: 90px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    display: block;
    color: white;
    border: none;
    padding-bottom: 0;
}

.hero p {
    font-size: 26px;
    font-style: italic;
    opacity: 0.95;
}

/* Main Content */
main {
    padding: 40px 20px;
}

main > h1 {
    display: none !important;
}

/* Main Page Titles */
h1 {
    font-size: 38px;
    color: #004d99;
    margin: 35px 0 25px 0;
    padding-bottom: 8px;
    line-height: 1.2;
    border-bottom: 1px solid #d0d7de;
}

/* Section Titles */
h2 {
    font-size: 30px;
    color: #004d99;
    margin: 35px 0 18px 0;
    line-height: 1.3;
}

/* Subsection Titles */
h3 {
    font-size: 24px;
    color: #003366;
    margin: 25px 0 12px 0;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 18px 0 10px 0;
}

p {
    font-size: 15px;
    margin-bottom: 16px;
    text-align: justify;
}

ul, ol {
    margin-left: 30px;
    margin-bottom: 18px;
}

ul li, ol li {
    margin-bottom: 8px;
    font-size: 15px;
}

a {
    color: #004d99;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #003366;
    text-decoration: underline;
}

/* Team Member Cards */
.team-member {
    background: white;
    border-left: 4px solid #004d99;
    padding: 22px;
    margin: 22px 0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.team-member h3 {
    margin-top: 0;
}

.team-member strong {
    color: #004d99;
}

/* Publications */
.publication-item {
    background: white;
    padding: 20px;
    margin: 18px 0;
    border-radius: 6px;
    border-left: 4px solid #004d99;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.publication-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.publication-item em {
    color: #666;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 22px;
    border-radius: 6px;
    border-left: 4px solid #004d99;
    margin: 22px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-info dt {
    font-weight: 600;
    color: #004d99;
    margin-top: 12px;
}

.contact-info dd {
    margin-left: 0;
    margin-bottom: 8px;
}

/* Research Areas */
.research-area {
    background: white;
    padding: 22px;
    margin: 22px 0;
    border-radius: 6px;
    border-left: 4px solid #004d99;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid #d0d7de;
    margin: 30px 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    font-size: 14px;
}

footer p {
    margin-bottom: 8px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #a8d8ff;
}

footer a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {

    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .logo h1 {
        font-size: 22px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }

    p,
    ul li,
    ol li {
        font-size: 14px;
    }
}

.profile-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.profile-photo {
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

/* Print Styles */
@media print {

    header,
    footer {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .hero {
        background: none;
        color: black;
        padding: 20px 0;
    }

    .hero h1 {
        color: black;
    }
}