:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-sidebar: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --accent: #1e3a8a;
    --accent-light: #eff6ff;
    --border: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glass: rgba(255, 255, 255, 0.7);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

font-family:'Inter', sans-serif;
background:#fafafa;
color:#334155;
background: var(--bg-primary);
color: var(--text-main);
line-height: 1.6;

transition: background 0.3s, color 0.3s;
}


/* Layout */

.page-wrapper{

display:grid;
grid-template-columns:300px 1fr;
min-height:100vh;

}


/* Sidebar */

.sidebar{

background:white;
border-right:1px solid #e2e8f0;

background: var(--bg-sidebar);
border-right:1px solid var(--border);
padding:40px 25px;

position:sticky;
top:0;
height:100vh;

display:flex;
flex-direction:column;

}


/* Profile */

.profile-container{

text-align:center;
margin-bottom:30px;

}

.prof-name{

font-family:'Outfit', sans-serif;
font-size:22px;
font-weight: 700;
}

.prof-title{

color:#1e3a8a;
color: var(--accent);
font-weight:600;
letter-spacing:1px;
font-size:13px;
margin-top:5px;

}

.prof-dept{

color:#475569;
color: var(--text-muted);
font-size:14px;
margin-top:10px;

}


/* Navigation */

.nav-menu{

display:flex;
flex-direction:column;
gap:12px;
margin-top:30px;

}

.nav-item{

display:flex;
align-items:center;
gap:10px;

text-decoration:none;

padding:12px 14px;

border-radius:8px;

color:#334155;

color: var(--text-main);
font-weight:500;

}

.nav-item:hover{

background:#f1f5f9;
color:#1e3a8a;

background: var(--accent-light);
color: var(--accent);
}

.nav-item.active{

background:#eff6ff;
color:#1e3a8a;

background: var(--accent-light);
color: var(--accent);
}


/* Contact */

.contact-mini{

margin-top:auto;
padding-top:20px;

border-top:1px solid #e2e8f0;

border-top:1px solid var(--border);
font-size:14px;

}

.contact-mini p{

display:flex;
align-items:center;
gap:10px;

margin-bottom:10px;

}


/* Main */

.main-content{
padding: 80px 60px;
max-width: 1200px;
}

/* General Section Spacing */
section {
    margin-bottom: 100px;
}

section:last-of-type {
    margin-bottom: 0;
}

/* Intro */

.intro{

max-width:750px;
margin-bottom:60px;

}

.intro h2{

font-family:'Outfit', sans-serif;
font-size:36px;
margin-bottom:10px;

}

.intro p{

font-size:18px;
line-height:1.6;

}


/* Research */

.section-title{

font-family:'Outfit', sans-serif;
font-size:28px;
font-weight: 700;
margin-bottom:25px;

}

.research-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

gap:25px;

}

.research-card{

background:white;

border:1px solid #e2e8f0;

padding:25px;

border-radius:10px;

transition:0.3s;

}

.research-card:hover{

transform:translateY(-6px);

box-shadow:0 10px 20px rgba(0,0,0,0.08);

}

.card-icon{

font-size:30px;
color:#1e3a8a;

margin-bottom:10px;

}


/* Footer */

/* Modern Footer */
.site-footer {
margin-top: 100px;
padding-top: 40px;
border-top: 1px solid #e2e8f0;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
font-size:14px;
color: #64748b;
}

.footer-brand {
font-family: 'Outfit', sans-serif;
font-weight: 600;
color: #1e3a8a;
font-size: 16px;
margin-bottom: 5px;
display: block;
}

.footer-links a {
color: #475569;
text-decoration: none;
margin-left: 25px;
transition: 0.2s;
}

.footer-links a:hover {
color: #1e3a8a;
}

/* Research Page */

.research-flex{
display:flex;
gap:40px;
align-items:center;
margin-top:20px;
}

.research-text{
flex:1;
}

.research-text ul{
margin:15px 0;
padding-left:20px;
}

.research-text li{
margin-bottom:8px;
}

.research-image{
flex:1;
}

.research-image img{
width:100%;
border-radius:10px;
}

.funding-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:20px;
}

.funding-card{
background:white;
padding:20px;
border-radius:10px;
border:1px solid #e2e8f0;
}

.funding-card h3{
margin-bottom:10px;
}

/* ================= HERO BANNER ================= */

.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    padding: 60px 50px;
    border-radius: 12px;
    border-left: 6px solid #1e3a8a;
    margin-bottom: 60px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-left-width: 6px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#94a3b8 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    color: #1e3a8a;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-banner p {
    font-size: 18px;
    color: #475569;
    margin: 4px 0;
    font-weight: 500;
}

/* ================= PEOPLE PAGE ================= */

.people-group-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: #334155;
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    display: inline-block;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.person-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.person-avatar {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.person-role {
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.person-area {
    font-size: 14px;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.5;
    font-style: italic;
}

.person-email {
    font-size: 13px;
    color: #1e3a8a;
    text-decoration: none;
    background: #eff6ff;
    padding: 5px 12px;
    border-radius: 20px;
    transition: 0.2s;
}

.person-email:hover {
    background: #1e3a8a;
    color: white;
}