/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cross-browser compatibility */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    margin-left: -80px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #1d4ed8;
}

.nav-logo a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    color: #1d4ed8;
}

.nav-logo a u {
    font-family: 'Courier New', monospace;
    font-size: 0.75em;
    font-weight: 400;
    color: #dc2626;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-logo a:hover u {
    color: #b91c1c;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-transform: lowercase;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    color: #2563eb;
}

.nav-menu a:focus::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 25px 0;
}

.experience {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f0f0f;
    position: relative;
    text-transform: lowercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
    color: #1a1a1a;
    padding: 80px 0 0 0;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    justify-content: flex-start;
    padding-left: 1.5rem;
}

.about-photo {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-left: -10rem;
    gap: 1.5rem;
}

.about-photo .intro-contact-buttons {
    justify-content: center;
    margin-bottom: 0;
}

.about-name {
    flex: 1 1 0;
}

.intro-contact-buttons {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.intro-contact-buttons .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2563eb;
}

.intro-contact-buttons .contact-icon:hover {
    transform: translateY(-2px);
    color: #1d4ed8;
}

.intro-contact-buttons .contact-icon:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    transform: translateY(-2px);
    color: #1d4ed8;
}

.intro-contact-buttons .contact-icon i {
    font-size: 2.8rem !important;
}

.about-name h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
}

.about-name h2 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: #0f0f0f;
}

.about-name p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: #0f0f0f;
    margin-bottom: 1rem;
}

.about-name p:last-child {
    margin-bottom: 0;
}

.highlight-yellow {
    background-color: #fef08a;
    padding: 0.2rem 0.1rem;
    border-radius: 0;
    margin-top: 0.5rem;
    display: block;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-photo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, #2563eb, #3b82f6, #60a5fa, #93c5fd, #2563eb);
    background-size: 400% 400%;
    animation: gradientShift 3s ease-in-out infinite;
}

.profile-photo {
    width: 300px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* Section Separator */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    max-width: 200px;
    margin: 0 auto;
}

.separator-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    flex: 1;
    animation: separatorGlow 2s ease-in-out infinite alternate;
}

.separator-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    margin: 0 1rem;
    animation: separatorPulse 2s ease-in-out infinite;
}

@keyframes separatorGlow {
    0% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes separatorPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 0.05rem;
}

.timeline-content {
    background: white;
    padding: 0.6rem;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.3s ease;
    margin-left: 20px;
    width: calc(100% - 20px);
}

.timeline-content:hover {
    transform: translateY(-1px);
    border-bottom: 2px solid #d1d5db;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -50px;
    width: 20px;
    height: 3px;
    background: #2563eb;
    border-radius: 0;
    border: none;
}

.timeline-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #0f0f0f;
}

.timeline-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.company-name {
    font-weight: 500;
    color: #2563eb;
}

.location-separator {
    color: #cbd5e1;
    font-weight: bold;
    margin: 0 0.3rem;
}

.location {
    color: #0f0f0f;
    font-weight: 400;
}

/* Remove underlines from links in about section */
.about-name a {
    text-decoration: none;
    color: #2563eb;
    transition: color 0.3s ease;
}

.about-name a:hover {
    color: #1d4ed8;
}

.timeline-manager {
    font-size: 0.8rem;
    color: #2563eb;
    margin-bottom: 0.4rem;
    font-style: italic;
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #0f0f0f;
    margin: 0;
}

/* Publications Section */
.publications {
    background: white;
}

.publications-profile {
    text-align: center;
    margin-bottom: 1.5rem;
}

.scholar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.2);
}

.scholar-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.3);
}

.scholar-btn i {
    font-size: 1rem;
}

.publications-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.publication-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.publication-image {
    width: 120px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.image-placeholder {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.publication-content {
    padding: 0.8rem;
    flex: 1;
}

.publication-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #0f0f0f;
}

.publication-authors {
    font-size: 0.75rem;
    color: #0f0f0f;
    margin-bottom: 0.3rem;
}

.publication-venue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.publication-venue {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0;
}

.publication-abstract {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #0f0f0f;
    margin-bottom: 0.2rem;
}

.publication-links {
    display: flex;
    gap: 0.4rem;
}

.link-btn {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.link-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Talks Section */
.talks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.talk-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #2563eb;
}

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

.talk-date {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.talk-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
}

.talk-card p {
    color: #0f0f0f;
    margin-bottom: 0.5rem;
}

.talk-location {
    font-size: 0.9rem;
    color: #0f0f0f;
    font-style: italic;
}

/* Awards Section */
.awards {
    background: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.award-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.award-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
}

.award-card p {
    color: #0f0f0f;
    margin-bottom: 0.5rem;
}

/* News Section */
.news-timeline {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 1rem;
}

.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    min-width: 120px;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f0f0f;
}

.news-content p {
    color: #0f0f0f;
    line-height: 1.6;
}

/* Top Contact Section */
/* Removed top-contact styles as buttons are now integrated into intro section */

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact styles moved to intro-contact-buttons */

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile menu active state */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        gap: 1rem;
        z-index: 1000;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Mobile navigation logo positioning */
    .nav-logo {
        margin-left: 0;
        font-size: 1.2rem;
    }
    
    .nav-logo a {
        font-size: 1.2rem;
    }
    
    .about-header h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .about-photo {
        margin-bottom: 0.5rem;
        margin-left: 0;
        flex-direction: column;
        gap: 1rem;
        order: 1;
    }
    .about-name {
        order: 3;
    }
    .about-name {
        width: 100%;
        text-align: left;
    }
    
    .about-name h1 {
        font-size: 2rem;
        margin-top: 0.5rem;
    }
    
    .about-name h2 {
        font-size: 1rem;
    }
    
    .about-name p {
        font-size: 0.9rem;
    }
    
    .highlight-yellow {
        padding: 0.25rem 0.15rem;
        line-height: 1.7;
    }
    
    .intro-contact-buttons {
        margin-bottom: 0.5rem;
        gap: 1.5rem;
    }
    
    .intro-contact-buttons .contact-icon {
        padding: 10px;
    }
    
    .intro-contact-buttons .contact-icon i {
        font-size: 3.2rem !important;
    }
    
    .profile-photo {
        width: 340px;
        height: 450px;
    }
    
    .profile-photo-container {
        border-radius: 50%;
        padding: 4px;
    }
    
    .about-details {
        gap: 1.5rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-content {
        margin-left: 15px;
        width: calc(100% - 15px);
    }
    
    .timeline-content::before {
        left: -35px;
    }
    
    .publication-card {
        flex-direction: column;
        margin-bottom: 0.5rem;
    }
    
    .publication-image {
        width: 100%;
        height: 100px;
    }
    
    .publication-content {
        padding: 0.7rem;
    }
    
    .publication-content h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .publication-authors {
        font-size: 0.7rem;
    }
    
    .publication-venue-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .publication-links {
        gap: 0.2rem;
    }
    
    .link-btn {
        padding: 0.15rem 0.3rem;
        font-size: 0.55rem;
    }
    
    .talks-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact info styles moved to intro-contact-buttons */
    
    /* Top contact styles removed as buttons are now in intro section */
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .scholar-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .academic-services-list ul {
        padding-left: 0.5rem;
    }
    
    .academic-services-list ul li {
        font-size: 0.9rem;
    }
    
    /* Fix bullet points for awards, teaching, and news on mobile */
    .awards-list li,
    .teaching-list li,
    .news-compact-list li {
        display: block;
        position: relative;
        padding-left: 1.5rem;
    }
    
    .awards-list li::before,
    .teaching-list li::before,
    .news-compact-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #0f0f0f;
        font-weight: bold;
    }
    
    /* Fix bullet points for academic services on mobile */
    .academic-services-list li {
        display: block;
        position: relative;
        padding-left: 1.5rem;
    }
    
    .academic-services-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #0f0f0f;
        font-weight: bold;
    }
    
    /* Reduce left indentation for bullet points on mobile */
    .awards-list,
    .teaching-list,
    .academic-services-list,
    .news-compact-list {
        padding-left: 0.5rem;
    }
    
    /* Override desktop padding for mobile */
    .awards-list {
        padding-left: 0.5rem !important;
    }
    .teaching-list {
        padding-left: 0.5rem !important;
    }
    .academic-services-list {
        padding-left: 0.5rem !important;
    }
    .news-compact-list {
        padding-left: 0.5rem !important;
    }
    
    .timeline-content h4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .location-separator {
        display: none;
    }
    
    .location {
        font-size: 0.85rem;
        color: #404040;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-header h2 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .profile-photo {
        width: 280px;
        height: 370px;
    }
    
    .about-details {
        gap: 1rem;
    }
    
    .profile-photo-container {
        border-radius: 50%;
        padding: 4px;
    }
    
    .publication-image {
        height: 80px;
    }
    
    .publication-content {
        padding: 0.6rem;
    }
    
    .publication-content h3 {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .publication-authors {
        font-size: 0.65rem;
    }
    
    .publication-venue-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
    
    .publication-links {
        flex-direction: row;
        gap: 0.15rem;
    }
    
    .link-btn {
        padding: 0.1rem 0.2rem;
        font-size: 0.5rem;
    }
    
    .scholar-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .academic-services-list {
        padding-left: 0.5rem;
    }
    
    .academic-services-list ul {
        padding-left: 0.5rem;
        margin: 0.2rem 0 0 0;
    }
    
    .academic-services-list ul li {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
    }
    
    /* Override desktop padding for 480px mobile */
    .awards-list {
        padding-left: 0.5rem !important;
    }
    .teaching-list {
        padding-left: 0.5rem !important;
    }
    .academic-services-list {
        padding-left: 0.5rem !important;
    }
    .news-compact-list {
        padding-left: 0.5rem !important;
    }
    
    /* Fix bullet points for 480px mobile */
    .awards-list li,
    .teaching-list li,
    .academic-services-list li,
    .news-compact-list li {
        display: block;
        position: relative;
        padding-left: 1.5rem;
    }
    
    .awards-list li::before,
    .teaching-list li::before,
    .academic-services-list li::before,
    .news-compact-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        color: #0f0f0f;
        font-weight: bold;
    }
    
    .intro-contact-buttons {
        gap: 2.0rem;
        margin-bottom: 0.5rem;
        justify-content: center;
    }
    
    .intro-contact-buttons .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .intro-contact-buttons .contact-icon i {
        font-size: 3.0rem !important;
    }

    /* Mobile navigation logo positioning for 480px */
    .nav-logo {
        margin-left: 0;
        font-size: 1rem;
    }
    .nav-logo a {
        font-size: 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .about-content {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .profile-photo {
        width: 100px;
        height: 180px;
    }
    
    .about-name p {
        font-size: 0.85rem;
    }
    
    .highlight-yellow {
        padding: 0.3rem 0.2rem;
        line-height: 1.6;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .publication-card {
        flex-direction: row;
    }
    
    .publication-image {
        width: 120px;
        height: 90px;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .profile-photo {
        width: 130px;
        height: 200px;
    }
}

/* News section responsive styles are handled by the main responsive design */

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .scholar-btn,
    .publication-links {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 16pt;
        margin-bottom: 8pt;
    }
    
    .publication-card {
        break-inside: avoid;
        margin-bottom: 12pt;
    }
} 

/* Talks List (bulleted) */
.talks-list {
    margin: 1.2rem 0 0 0;
    padding-left: 1.5rem;
    font-size: 1rem;
    color: #0f0f0f;
    line-height: 1.7;
}
.talks-list li {
    margin-bottom: 0.3rem;
    line-height: 1.3;
}
.talks-list strong {
    color: #2563eb;
    font-weight: 600;
} 

/* Awards List (bulleted) */
.awards-list {
    margin: 1rem 0 0 0;
    padding-left: 3rem;
    font-size: 0.95rem;
    color: #0f0f0f;
    line-height: 1.5;
    list-style-type: disc;
}
.awards-list li {
    margin-bottom: 0.2rem;
    line-height: 1.5;
    display: block;
    position: relative;
}

.awards-list li::before {
    content: "•";
    margin-right: 0.5rem;
    color: #0f0f0f;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.award-link {
    color: #2563eb;
    text-decoration: none;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.award-link:hover {
    opacity: 1;
}

.award-link i {
    font-size: 0.8rem;
}

/* Academic Services Section */
.academic-services {
    background: white;
}

/* Academic Services List (bulleted) */
.academic-services-list {
    margin: 1rem 0 0 0;
    padding-left: 3rem;
    font-size: 0.95rem;
    color: #0f0f0f;
    line-height: 1.5;
}

/* Teaching Section */
.teaching {
    background: white;
}

.teaching-list {
    margin: 1rem 0 0 0;
    padding-left: 3rem;
    font-size: 0.95rem;
    color: #0f0f0f;
    line-height: 1.5;
    list-style-type: disc;
}

.teaching-list li {
    margin-bottom: 0.2rem;
    line-height: 1.5;
    display: block;
    position: relative;
}

.teaching-list li::before {
    content: "•";
    margin-right: 0.5rem;
    color: #0f0f0f;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}
.academic-services-list li {
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

.academic-services-list ul {
    margin: 0.3rem 0 0 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.academic-services-list ul li {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* News Section */
.news-compact {
    background: white;
    margin-bottom: 1.5rem;
}

.news-compact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    text-transform: lowercase;
}

.news-compact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.news-compact-list {
    margin: 1rem 0 0 0;
    padding-left: 3rem;
    font-size: 0.95rem;
    color: #0f0f0f;
    line-height: 1.5;
    list-style-type: disc;
}

.news-compact-list li {
    margin-bottom: 0.2rem;
    line-height: 1.5;
    display: block;
    position: relative;
}

.news-compact-list li::before {
    content: "•";
    margin-right: 0.5rem;
    color: #0f0f0f;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* News section links */
.news-compact-list a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 0.2em;
}

.news-compact-list a:hover {
    color: #1d4ed8;
}

.news-compact-list a:visited {
    color: #2563eb;
}

.news-compact-list a:active {
    color: #1d4ed8;
} 