/* Reset and Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding: 20px;
    max-width: 1000px; /* Widened slightly to accommodate more text */
    margin: 0 auto;
}

/* Headers */
.site-header { margin-bottom: 2rem; border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.site-header h1 { font-size: 2rem; color: #2c3e50; }
.mission-text { color: #555; margin-top: 0.5rem; }

/* Typography */
h2 { color: #2c3e50; margin-top: 0; margin-bottom: 1.5rem; border-bottom: 2px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
h3 { color: #2c3e50; font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
ul { margin-bottom: 1rem; padding-left: 20px; }
hr { border: 0; border-top: 1px solid #eee; margin: 3rem 0; }

/* The Split Container (Research & Clinical) */
.split-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start; /* Aligns tops of cards */
}

/* Cards */
.card {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
}

/* Specific Card Styling */
.research-card { border-top: 5px solid #27ae60; }
.clinical-card { border-top: 5px solid #2980b9; }

/* Buttons */
.btn-reveal {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 5px;
}
.btn-reveal:hover { background-color: #f0f0f0; }

/* Leadership Section */
.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.profile:last-child { border-bottom: none; }

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.profile-img:hover { border-color: #2c3e50; }

.role {
    font-weight: bold;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-box {
    margin-top: 1rem;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #ccc;
}
.contact-box a {
    color: #2980b9;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #777;
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 700px) {
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-img { margin-bottom: 15px; }
    .contact-box { text-align: center; }
}
