@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fb;
    color: #222;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #003366;
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-lab-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.header-lab-logo:hover {
    opacity: 1;
}

.lab-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.main-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}
.main-header h2 {
    margin: 0.2rem 0 0 0;
    font-size: 1.3rem;
    font-weight: 400;
}
.main-header h3 {
    margin: 0.2rem 0 0 0;
    font-size: 1rem;
    font-weight: 400;
    color: #cce0ff;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin: 2rem auto;
    max-width: 1100px;
    padding: 0 1rem;
}
.mission, .vision {
    flex: 1 1 350px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem;
}
.mission h2, .vision h2 {
    color: #003366;
    margin-top: 0;
}

.research-areas {
    background: #e6f0fa;
    margin: 2rem 0;
    padding: 2rem 1rem;
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.research-areas h2 {
    color: #003366;
    margin-top: 0;
}
.research-areas ul {
    list-style: disc inside;
    padding-left: 1rem;
}
.research-areas li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.lab-director {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.director-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.director-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #003366;
    background: #e6f0fa;
}
.lab-director h2 {
    color: #003366;
    margin-top: 0;
}
.lab-director h3 {
    margin-bottom: 0.2rem;
}

.lab-image {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
.lab-main-photo {
    width: 90vw;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    object-fit: cover;
}

footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 1rem;
}

.core-research-img {
    display: block;
    margin: 0 auto 2rem auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}
.carousel-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.carousel-btn {
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-btn:hover {
    background: #00509e;
}
.carousel-image {
    width: 1000px;
    height: 720px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 700px) {
    .carousel-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    .carousel-image {
        width: 90vw;
        height: 180px;
    }
} 

.navigation {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}
.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
}
.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}
.nav-link:hover {
    color: #003366;
    background: #f8f9fa;
}
.nav-link.active {
    color: #003366;
    border-bottom-color: #003366;
    background: #f0f4f8;
}

@media (max-width: 700px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .nav-link.active {
        border-left-color: #003366;
    }
} 

.research-interests {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.research-interests h2 {
    color: #003366;
    margin-top: 0;
}
.research-interests ul {
    list-style: disc inside;
    padding-left: 1rem;
    margin-bottom: 0;
}
.research-interests li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
.research-videos {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #e6f0fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.research-videos h2 {
    color: #003366;
    margin-top: 0;
}
.video-embed-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
.video-embed-container iframe {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 100%;
}

/* News page styles */
.news-under-construction {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.news-under-construction h2 {
    color: #003366;
    margin-top: 0;
}

/* Openings page styles */
.openings-intro {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.openings-intro h2 {
    color: #003366;
    margin-top: 0;
}

.openings-intro h3 {
    color: #00509e;
    margin-bottom: 1rem;
}

.openings-positions,
.openings-description,
.openings-profile,
.openings-apply,
.openings-nmt {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #e6f0fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.openings-positions h3,
.openings-description h3,
.openings-profile h3,
.openings-apply h3,
.openings-nmt h3 {
    color: #003366;
    margin-top: 0;
}

.openings-positions ul,
.openings-description ul,
.openings-profile ul {
    list-style: disc inside;
    padding-left: 1rem;
}

.openings-positions li,
.openings-description li,
.openings-profile li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.openings-apply {
    background: #fff !important;
    border: 2px solid #003366;
}

.openings-nmt {
    background: #f0f4f8 !important;
}

/* Publications page styles */
.publication-impact {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #e6f0fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.publication-impact h2 {
    color: #003366;
    margin-top: 0;
}

.publication-impact ul {
    list-style: none;
    padding: 0;
}

.publication-impact li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.selected-publications {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.selected-publications h2 {
    color: #003366;
    margin-top: 0;
}

.selected-publications ul {
    list-style: none;
    padding: 0;
}

.selected-publications li {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #003366;
    transition: all 0.2s;
}

.selected-publications li:hover {
    background: #e6f0fa;
    transform: translateX(5px);
}

.selected-publications a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
}

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

/* Link styles */
.scholar-link,
.channel-link {
    display: inline-block;
    background: #003366;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.2s;
    margin: 1rem 0;
}

.scholar-link:hover,
.channel-link:hover {
    background: #00509e;
    text-decoration: none;
}

/* Professional Google Scholar Profile Section */
.scholar-profile-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.scholar-profile-container {
    background: linear-gradient(135deg, #003366 0%, #00509e 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.15);
    position: relative;
    overflow: hidden;
}

.scholar-profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.scholar-profile-container h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.scholar-profile-container p {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.scholar-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.scholar-profile-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #fff;
}

.scholar-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive design for scholar profile */
@media (max-width: 700px) {
    .scholar-profile-container {
        padding: 2rem 1.5rem;
    }
    
    .scholar-profile-container h2 {
        font-size: 1.5rem;
    }
    
    .scholar-profile-container p {
        font-size: 1rem;
    }
    
    .scholar-profile-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive design improvements */
@media (max-width: 700px) {
    .main-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .header-left {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .header-right {
        order: -1;
    }
    
    .header-lab-logo {
        width: 80px;
        height: 80px;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .main-header h2 {
        font-size: 1.1rem;
    }
    
    .main-header h3 {
        font-size: 0.9rem;
    }
    
    .lab-logo {
        width: 70px;
        height: 70px;
    }
    
    .director-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .director-photo {
        width: 100px;
        height: 100px;
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .carousel-image {
        width: 90vw;
        height: 200px;
    }
}

/* New Mexico Tech link styling */
.main-header h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.main-header h3 a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.director-info a {
    color: #00509e;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

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