/* Apple-Inspired Academic Portfolio Design System - Dr. Shyamsunder */
/* Pure White, Electric Cobalt Blue, and Editorial Hierarchy */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;

    --border-color: #e2e8f0;
    --border-hairline: #d9e1ef;
    --border-blue: #2563eb;

    --text-heading: #0f172a;
    --text-main: #101828;
    --text-muted: #475467;
    --text-dim: #94a3b8;

    --accent-blue: #1557e8;
    --accent-blue-dark: #1d5fff;
    --accent-blue-light: #eff6ff;

    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--accent-blue-dark);
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.nav-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 2px 8px rgba(21, 87, 232, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(21, 87, 232, 0.35);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-heading);
    font-weight: 600;
}

.nav-logo .badge {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-left: 0.35rem;
}

.nav-link.active::after {
    content: '•';
    position: absolute;
    bottom: -0.65rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-blue);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

/* Page Header Banner (Multi-Page Architecture) */
.page-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 3.5rem 0 3rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.page-title {
    font-size: 3rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 680px;
}

/* ==========================================================================
   Hero Section (Preserved Unchanged as Requested)
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 4rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle span.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: -0.04em;
}

.hero-affiliation {
    font-size: 1.35rem;
    color: var(--text-heading);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-bio {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.btn-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-blue);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-icon-link .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-icon-link:hover .icon-circle {
    transform: translateX(4px);
    background: var(--accent-blue-dark);
}

.btn-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline-link .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--text-heading);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-outline-link:hover .icon-circle {
    transform: translateX(4px);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.social-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.social-circle-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

.hero-profile-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.orbit-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    background: var(--accent-blue-light);
    border: 4px solid #ffffff;
}

.profile-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-caption {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-caption-title {
    font-size: 1.25rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.profile-caption-sub {
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 500;
}

.stats-circle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    width: 100%;
    max-width: 520px;
    position: relative;
}

.stat-circle-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.stat-circle-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
    background: var(--accent-blue-light);
}

.stat-circle-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.1;
}

.stat-circle-label {
    font-size: 0.725rem;
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0.15rem;
}

/* ==========================================================================
   Apple-Inspired Two-Column Editorial System (For All Sections Below Hero)
   ========================================================================== */

.section {
    padding: 5.5rem 0;
    border-top: 1px solid var(--border-hairline);
}

.editorial-two-col {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: flex-start;
}

.editorial-left-col {
    position: sticky;
    top: 6rem;
}

.editorial-eyebrow {
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
}

.editorial-section-title {
    font-size: 3.25rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.editorial-section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
}

/* Abstract Mathematical Concentric Arc Graphic */
.editorial-math-arc {
    width: 220px;
    height: 220px;
    margin: 1.5rem 0 2.5rem;
}

.circular-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-blue);
    transition: all 0.25s ease;
}

.circular-arrow-link .arrow-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-blue);
    transition: all 0.25s ease;
}

.circular-arrow-link:hover .arrow-circle {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateX(4px);
}

/* Publication Filters & Search Bar */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: 20px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: #f8fafc;
}

.filter-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(21, 87, 232, 0.25);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    background: #ffffff;
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    font-size: 0.925rem;
    color: var(--text-heading);
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(21, 87, 232, 0.12);
}

/* Right Editorial Column Lists */
.editorial-right-col {
    display: flex;
    flex-direction: column;
}

.editorial-row,
.editorial-pub-row {
    display: flex;
    gap: 1.5rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border-hairline);
    align-items: flex-start;
}

.editorial-row:first-child,
.editorial-pub-row:first-child {
    padding-top: 0;
}

.editorial-row:last-child,
.editorial-pub-row:last-child {
    border-bottom: none;
}

.editorial-num-col {
    flex-shrink: 0;
}

.circle-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.editorial-content-col {
    flex-grow: 1;
}

.editorial-item-title {
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.editorial-item-desc {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.editorial-keywords {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Editorial Publication Specifics */
.editorial-pub-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.825rem;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.editorial-pub-title {
    font-size: 1.35rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.editorial-pub-authors {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.editorial-pub-venue {
    color: var(--text-heading);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.editorial-pub-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.editorial-link,
.editorial-link-btn {
    color: var(--accent-blue);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0;
}

.editorial-link:hover,
.editorial-link-btn:hover {
    text-decoration: underline;
    color: var(--accent-blue-dark);
}

.editorial-pub-links .sep {
    color: var(--text-dim);
}

/* Course Editorial Rows (Matching Reference Image) */
.course-editorial-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border-hairline);
}

.course-editorial-row:first-child {
    padding-top: 0;
}

.course-editorial-row:last-child {
    border-bottom: none;
}

.course-vertical-bar {
    width: 2px;
    height: 48px;
    background: var(--accent-blue);
    flex-shrink: 0;
}

.course-content-col {
    flex-grow: 1;
}

.course-title {
    font-size: 1.35rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.course-icon-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1.5rem;
}

/* Sponsored Grant Layout (Matching Reference Image) */
.grant-editorial-container {
    display: grid;
    grid-template-columns: 0.85fr 60px 1.15fr;
    align-items: center;
    gap: 1.5rem;
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-hairline);
}

.grant-left-col {
    padding-right: 1.5rem;
}

.grant-divider-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
    position: relative;
}

.grant-v-line {
    width: 1.5px;
    background: #d9e1ef;
    flex-grow: 1;
}

.grant-right-col {
    padding-left: 1rem;
}

.grant-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.grant-meta-sep {
    color: var(--accent-blue);
    font-weight: 400;
}

.grant-title {
    font-size: 1.65rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.grant-line {
    color: var(--text-heading);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0.65rem;
}

.grant-line strong {
    color: var(--text-heading);
    font-weight: 700;
}

.grant-abstract {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}

.grant-abstract strong {
    color: var(--text-heading);
    font-weight: 700;
}

.grant-tags {
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.grant-bottom-rule {
    border-bottom: 1.5px solid #d9e1ef;
    width: 100%;
}

/* Research Mentorship & Academic Guidance List */
.mentee-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2.5rem;
}

.mentee-editorial-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-hairline);
}

.mentee-bullet-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.mentee-content {
    flex-grow: 1;
}

.mentee-name {
    font-size: 1.05rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mentee-affiliation {
    color: var(--text-muted);
    font-size: 0.885rem;
    line-height: 1.5;
}

.mentee-role {
    color: var(--accent-blue);
    font-weight: 600;
}

/* About Page Specific Mathematical Arc Graphic */
.about-math-arc {
    width: 200px;
    height: 200px;
    margin: 2rem 0 1rem;
}

/* About Page Trajectory Timelines (Matching Reference Image) */
.trajectory-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.trajectory-timeline-list {
    display: flex;
    flex-direction: column;
}

.trajectory-timeline-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.75rem;
}

.trajectory-timeline-item:last-child {
    padding-bottom: 0;
}

.trajectory-timeline-item::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 52px;
    bottom: 0;
    width: 1.5px;
    background: #d9e1ef;
}

.trajectory-timeline-item:last-child::after {
    display: none;
}

.timeline-date-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.15;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 2;
}

.trajectory-content {
    flex-grow: 1;
    padding-top: 0.25rem;
}

.trajectory-role {
    color: var(--accent-blue);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.trajectory-inst {
    color: var(--text-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.trajectory-degree {
    color: var(--text-heading);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.trajectory-date-label {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trajectory-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.trajectory-highlight {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-main);
}

.trajectory-highlight strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Editorial Timelines without Card Containers */
.timeline-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.timeline-col-title {
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.timeline-editorial-list {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--accent-blue);
}

.timeline-row {
    position: relative;
    margin-bottom: 2.75rem;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -2.6rem;
    top: 0.2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--accent-blue);
}

.timeline-date {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-role {
    font-size: 1.25rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-inst {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-highlight {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Page Layout (Three-Column Editorial) */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 0.7fr 0.8fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-channel-label {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.contact-channel-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
}

/* Standard Text Boxes & Form Controls (Matching Admin Hero Section) */
.form-group,
.form-group-underline {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-label,
.form-label-underline {
    font-size: 0.9rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.45rem;
    display: block;
    font-family: var(--font-body);
}

.form-control,
.form-control-underline,
.search-input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9e1ef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #101828;
    font-family: var(--font-body);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-control-underline:focus,
.search-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #1557e8;
    box-shadow: 0 0 0 3px rgba(21, 87, 232, 0.1);
}

.form-control::placeholder,
.form-control-underline::placeholder,
.search-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

textarea.form-control,
textarea.form-control-underline,
textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* Search Box Container */
.search-box {
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
}

.search-box .search-input {
    padding-left: 2.75rem;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    width: 90%;
    max-width: 650px;
    padding: 2.25rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.bibtex-code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-blue-dark);
    white-space: pre-wrap;
    margin-top: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-grid,
    .editorial-two-col,
    .timeline-two-col,
    .trajectory-two-col,
    .contact-layout-grid,
    .grant-editorial-container,
    .about-contact-cards,
    .mentee-editorial-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .grant-divider-col {
        display: none;
    }

    .editorial-left-col {
        position: static;
    }

    .editorial-section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}