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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

header {
    background: linear-gradient(135deg, #18453B 0%, #2d6a5f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2em;
    opacity: 0.95;
}

.university {
    margin-top: 20px;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

section {
    background: white;
    margin: 40px 0;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    color: #18453B;
    font-size: 2em;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #18453B;
}

h3 {
    color: #2d6a5f;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.research-card {
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #18453B;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.research-card h4 {
    color: #18453B;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.opportunities {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4cc 100%);
    border-left: 5px solid #ff9933;
    padding: 40px;
    margin: 30px 0;
    border-radius: 8px;
}

.opportunity-box {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.opportunity-box h3 {
    color: #ff6600;
    margin-top: 0;
}

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

.team-member {
    text-align: center;
    padding: 20px;
}

.team-member h4 {
    color: #18453B;
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.team-member .role {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.publications {
    list-style: none;
}

.publications li {
    padding: 15px;
    margin: 15px 0;
    background: #f8f9fa;
    border-left: 3px solid #18453B;
    border-radius: 3px;
}

.publications li strong {
    color: #18453B;
}

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

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

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    background: white;
}

.gallery-caption h4 {
    color: #18453B;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.gallery-caption p {
    color: #666;
    font-size: 0.9em;
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3em;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ff6600;
}

/* Video/Podcast Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: #18453B;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.video-info p {
    color: #666;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #999;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.podcast-placeholder {
    background: linear-gradient(135deg, #18453B 0%, #2d6a5f 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.podcast-placeholder i {
    font-size: 4em;
    margin-bottom: 20px;
}

.podcast-placeholder h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #18453B;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2d6a5f;
}

.btn-secondary {
    background: #ff6600;
}

.btn-secondary:hover {
    background: #ff8533;
}

footer {
    background: #18453B;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    section {
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 968px) {
    #about > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Collaborator name links */
.team-member h4 a {
    transition: color 0.3s ease;
}

.team-member h4 a:hover {
    color: #2d6a5f !important;
    text-decoration: underline;
}