/* Modern Aerospace Faculty Website Styles */

/* CSS Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #0057b7;
    --accent-color-light: #6699cc;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --light-gray: #e0e0e0;
    --border-color: #ddd;
    --max-width: 1024px;
    --sky-gradient: #000924;
    --equation-color: rgba(0, 87, 183, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    /*background: url('../images/Background.png') no-repeat center center fixed;*/
    background: url('../images/Background13.png') no-repeat center center fixed;
    background-position-y: -70px;

    /*background-color: #001F3F;*/
    /*background-color: #1F283B;*/
    /*background-color: #141C2F;*/
    background-size: cover;
    /*color: #ffffff;*/
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Decoration */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    z-index: -2;
}

.space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(59, 130, 246, 0.06), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.8; }
}

/* Site Wrapper */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

/* Navigation */
.main-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.main-navigation li {
    margin: 0 25px;
}

.main-navigation a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #1e293b;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Quote Section */
.site-quote {
    text-align: center;
    padding: 30px 20px;
    background: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.site-quote blockquote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.site-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #3b82f6;
    font-weight: 600;
}

/* Floating Equation */
.pde-top-right {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.equation-title {
    font-size: 0.8rem;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pde-equation-main {
    font-size: 1.2rem;
    color: #1e293b;
}

.pde-caption-main {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main-content {
    padding: 10px 0;
}

/* New Hero Section with Aerospace Theme */
.hero-new {
    position: relative;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 900px; /* Adjusted max-width */
}

.quote-overlay {
    text-align: center;
    width: 100%;
    max-width: 700px; /* Constrain quote width */
    margin: 0 auto 20px auto; /* Center horizontally and add space below */
    padding: 30px 20px; /* Add padding for better spacing */
}

.quote-overlay blockquote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quote-overlay cite {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}


.professor-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    z-index: 3;
    position: relative;
}

.card-photo {
    flex: 0 0 200px;
}

.professor-image {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-info {
    flex: 1;
}

.card-info h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-info .title {
    font-size: 1.2rem;
    color: #0057b7;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-info .university {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
}

.contact-details i {
    width: 18px;
    margin-right: 12px;
    color: #1a2332;
    font-size: 0.9rem;
}

/* Academic Background Overlay */
.academic-overlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 30px;
    max-width: 900px;
    width: 100%;
    z-index: 10;
    height: fit-content;
    position: relative;
    /* Creative hexagonal shape */
    clip-path: polygon(20px 0%, calc(100% - 20px) 0%, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0% calc(100% - 20px), 0% 20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.education-inner-container {
    background: rgba(240, 248, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin: 10px;
    box-shadow: inset 0 2px 10px rgba(0, 87, 183, 0.1);
    border: 1px solid rgba(0, 87, 183, 0.2);
    position: relative;
}
/* .academic-overlay h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

 .academic-overlay .education-timeline {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.academic-overlay .education-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}*/

.academic-overlay .education-year {
    background: linear-gradient(135deg, #1d354f 0%, #0057b7 100%);
    color: #ffffff;
    border: 2px solid #0057b7;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    /* Creative hexagon shape */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    box-shadow: 0 8px 20px rgba(29, 53, 79, 0.4);
    transition: all 0.3s ease;
}

.academic-overlay .education-year:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(29, 53, 79, 0.6);
}


.academic-overlay .education-details h3 {
    color: #1e293b;
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Lora', serif;
    letter-spacing: 0.02em;
}

.academic-overlay .education-details p {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
}

.faculty-profile {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-left {
    flex: 0 0 300px;
}

.profile-photo {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 87, 183, 0.3);
}

.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-right {
    flex: 1;
}

.profile-right h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.professor-title {
    font-size: 1.2rem;
    color: #3b82f6;
    margin-bottom: 30px;
    line-height: 1.4;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #475569;
}

.contact-info i {
    width: 20px;
    margin-right: 10px;
    color: #1a2332;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-info a:hover {
    color: #1e40af;
}

/* Aerospace Visual */
.aerospace-visual {
    height: 60px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.flow-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 87, 183, 0.5), transparent);
    animation: flow 3s ease-in-out infinite;
}

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Section Styles */
section {
    margin-bottom: 50px;
}

section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.education-title {
    margin-bottom: 5px;
}

.research-overview-title::after {
    display: none;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.hero-section h2:nth-of-type(2)::after {
    display: none;
}


/* Research Focus Cards */
.research-focus {
    position: relative;
    z-index: 4;
    padding: 0 20px;
    text-align: center;
    
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.research-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.research-icon {
    font-size: 2.5rem;
    color: #1a2332;
    margin-bottom: 15px;
}

.research-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.research-card p {
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Education Timeline */
.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.education-year {
    flex: 0 0 80px;
    background: rgba(26, 35, 50, 0.1);
    color: #1a2332;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.education-details h3 {
    color: #1e293b;
    margin-bottom: 5px;
}

.education-details p {
    color: #1a2332;
}

/* Publications Styles */
.publications-content h2 {
    color: #1e293b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.publications-intro {
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #475569;
    max-width: 95%;
    font-size: 14.5px;
}

.publications-intro a {
    color: #0057b7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.publications-intro a:hover {
    text-decoration: underline;
}

.publication-section {
    margin-top: 20px;
}

.publication-list {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #475569;
}

.publication-list li {
    position: relative;
    padding: 0.6rem 0;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    border-bottom: 1px dotted #eaeaea;
    color: #475569;
}

.publication-list li:last-child {
    border-bottom: none;
}

.publication-list li strong {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: 'Lora', serif;
    letter-spacing: 0.02em;
    font-size: 15px;
    color: #1e293b;
}

.publication-list em {
    font-style: italic;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    color: #64748b;
    font-weight: 500;
}

.publication-list a {
    color: #0057b7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.publication-list a:hover {
    text-decoration: underline;
}

/* Quick Links */
.quick-links {
    padding: 60px 0;
    margin-top: 60px;
}

.quick-links h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

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

.link-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
}

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

.link-card i {
    font-size: 3rem;
    color: #1a2332;
    margin-bottom: 20px;
}

.link-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-decoration: none;
}

.link-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.link-card .btn {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.link-card .btn:hover {
    background: var(--secondary-color);
}

/* People Page Styles */
.people-content h1 {
    margin-bottom: 30px;
    color: #1e293b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.people-content h2 {
    color: #1e293b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.people-content p {
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.7rem;
}

.group-intro {
    margin-bottom: 40px;
    max-width: 800px;
}

.people-section {
    margin-bottom: 50px;
}

.people-section h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.person-container {
    width: 100%;
}

.person-container img {
    width: 100%;
    height: auto;
    display: block;
}

.person-card {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.person-photo {
    height: 200px;
    overflow: hidden;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.person-card:hover .person-photo img {
    transform: scale(1.05);
}

.person-info {
    padding: 20px;
}

.person-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.professor-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
}

.person-title {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.person-research {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.person-links {
    display: flex;
    gap: 15px;
}

.person-links a {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.person-links a:hover {
    color: var(--secondary-color);
}

.alumni-list {
    margin-top: 20px;
}

.alumni-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dotted var(--light-gray);
}

.alumni-item:last-child {
    border-bottom: none;
}

.alumni-year {
    flex: 0 0 80px;
    font-weight: 700;
    color: var(--accent-color);
}

.alumni-info {
    flex: 1;
}

.alumni-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.alumni-degree {
    font-weight: 600;
    margin-bottom: 5px;
}

.alumni-thesis {
    font-style: italic;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.alumni-current {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.collaborator-card {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.collaborator-card h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.collaborator-affiliation {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.join-group {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 5px;
    margin-top: 20px;
}

.join-group h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.join-group p {
    margin-bottom: 15px;
}

/* Mentored Research Section */
.mentored-research {
    margin-top: 50px;
    margin-bottom: 50px;
}

.mentored-research h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: 'Lora', serif;
    letter-spacing: 0.02em;
    font-size: 15px;
}

.mentored-research > p {
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.7rem;
}

.research-list h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: 'Lora', serif;
    letter-spacing: 0.02em;
    font-size: 15px;
    margin-top: 30px;
    border-bottom: 2px solid #0057b7;
    padding-bottom: 5px;
    display: inline-block;
}

.research-list h4:first-child {
    margin-top: 0;
}

.research-list ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.research-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.research-list li::before {
    content: "•";
    color: #0057b7;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Research Content Styles */
.research-content h2 {
    color: #1e293b;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.research-content p {
    color: #475569;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 14.5px;
}

.research-content h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: 'Lora', serif;
    letter-spacing: 0.02em;
    font-size: 15px;
}

.research-content ul li {
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.7rem;
}

/* Content Container Styles */
.content-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content-container h2 {
    color: #1e293b;
    margin-bottom: 20px;
}

.content-container h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.content-container p {
    color: #475569;
    line-height: 1.6;
}

.content-container ul li {
    color: #475569;
}

.content-container a {
    color: #0057b7;
}

.content-container a:hover {
    color: #003d82;
}

/* Teaching Content Styles */
.teaching-content h2 {
    color: #1e293b !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 10px !important;
    margin-bottom: 25px !important;
    margin-top: 30px !important;
    font-family: 'Lora', serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
}

.teaching-content h3 {
    color: #1e293b !important;
    font-weight: 600 !important;
    margin-bottom: 0.2rem !important;
    font-family: 'Lora', serif !important;
    letter-spacing: 0.02em !important;
    font-size: 15px !important;
}

.teaching-content p {
    color: #475569 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0.7rem !important;
}

.course-item h3 {
    color: #1e293b !important;
    font-weight: 600 !important;
    margin-bottom: 0.2rem !important;
    font-family: 'Lora', serif !important;
    letter-spacing: 0.02em !important;
    font-size: 15px !important;
}

.course-item p {
    color: #475569 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0.7rem !important;
}

.course-item a {
    color: #0057b7 !important;
}

/* Research Page Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.contact-text {
    flex: 1;
}

.campus-image {
    flex: 0 0 300px;
}

.campus-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Responsive Design for New Format */
@media (max-width: 768px) {
    .professor-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .card-photo {
        flex: none;
        align-self: center;
    }
    
    .professor-image {
        width: 180px;
        height: 220px;
    }
    
    .card-info h1 {
        font-size: 2rem;
    }
    
    .quote-overlay {
        top: 40px;
        padding: 0 20px;
    }
    
    .quote-overlay blockquote {
        font-size: 1rem;
    }
    
    .hero-new {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .academic-overlay {
        position: static;
        margin: 20px;
        max-width: none;
    }
    
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .research-focus {
        margin-top: 20px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .campus-image {
        flex: none;
        width: 100%;
    }
    
    .campus-photo {
        height: 150px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 0;
    }
    
    .main-navigation li {
        margin: 5px 10px;
    }
    
    .pde-top-right {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .profile-columns {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-left {
        flex: none;
        margin-bottom: 30px;
    }
    
    .profile-right h1 {
        font-size: 2rem;
    }
    
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
    }
    
    .education-year {
        align-self: center;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .faculty-profile {
        padding: 20px;
    }
    
    .profile-right h1 {
        font-size: 1.8rem;
    }
    
    .site-quote blockquote {
        font-size: 1rem;
    }
}
