/* --- VARIABLES & RESET --- */
:root {
    --primary: #003366;       /* Academic Blue */
    --secondary: #005599;     /* Lighter Blue */
    --accent: #e6f0fa;        /* Light Background Accent */
    --text: #333333;          /* Dark Grey */
    --text-light: #666666;    /* Medium Grey */
    --white-soft: rgba(255, 255, 255, 0.9);
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --max-width: 1000px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-light); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
p { margin-bottom: 1rem; text-align: justify; }

/* --- LAYOUT --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 2rem; }

/* --- NAVIGATION --- */
nav { background: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.nav-brand { font-weight: 700; font-size: 1.2rem; color: var(--primary); }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--text-light); font-weight: 500; font-size: 0.95rem; padding: 5px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); border-bottom-color: var(--secondary); }

/* --- HERO SECTION --- */
.hero { background: linear-gradient(135deg, var(--primary), #001a33); color: var(--white); padding: 3rem 0; margin-bottom: 2rem; }
.hero-content { display: flex; align-items: center; gap: 2rem; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 0.5rem; line-height: 1.2; }
.hero-text h2 { font-size: 1.25rem; font-weight: 300; color: var(--white-soft); margin-bottom: 1rem; }

/* --- PROFILE PICTURE --- */
.profile-img { 
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid rgba(255,255,255,0.2); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    background-color: #ddd; 
}

/* --- GENERAL STYLES --- */
h2.section-title { color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 0.5rem; margin-bottom: 1.5rem; margin-top: 0; }
h3 { color: #444; margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.3rem; border-bottom: 1px solid #eee; padding-bottom: 5px; }
h4 { color: #555; margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #eee; padding-bottom: 5px; }

.btn { display: inline-block; background: var(--secondary); color: var(--white); padding: 0.6rem 1.2rem; border-radius: 4px; font-weight: 500; }
.btn:hover { background: var(--primary); }
.btn-outline { background: transparent; color: var(--secondary); border: 1px solid var(--secondary); padding: 0.5rem 1rem; border-radius: 4px; display: inline-block; font-size: 0.9rem; }
.btn-outline:hover { background: var(--secondary); color: var(--white); }

.thesis-list li { margin-bottom: 0.8rem; padding-left: 1rem; border-left: 3px solid #eee; }

/* --- PRESS LIST STYLING (UPDATED) --- */
.press-group { margin-bottom: 3rem; }
.press-list li { 
    margin-bottom: 0.8rem; 
    padding-left: 1.2rem; 
    position: relative; 
}
.press-list li::before { 
    content: "➤"; 
    color: var(--secondary); 
    font-size: 0.8rem; 
    position: absolute; 
    left: 0; 
    top: 4px; 
}
/* Highlighted Links */
.press-list a { 
    color: var(--secondary); 
    font-weight: 600; 
    text-decoration: underline; /* Make it obvious it's a link */
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.press-list a:hover { 
    color: var(--primary); 
    background-color: var(--accent); /* Subtle highlight on hover */
}

/* --- FLEX GALLERY --- */
.gallery-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1.5rem; 
    justify-content: center; 
    align-items: flex-start; 
}

.gallery-item { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    max-width: 100%; 
}

.gallery-item img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.gallery-caption { padding: 1rem; font-size: 0.9rem; color: #555; text-align: center; background: #fafafa; border-top: 1px solid #eee; }

@media (max-width: 768px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .nav-links { gap: 10px; justify-content: center; }
}
