:root {
    /* Color Palette - Premium Academic */
    --primary-color: #0d2b4f;
    /* Deep Navy */
    --secondary-color: #f7ab0a;
    /* Subtle Gold Accent */
    --bg-main: #fcfcfc;
    /* Off-white */
    --bg-panel: #ffffff;
    /* Crisp white for cards/panels */
    --text-primary: #1a1a1a;
    --text-secondary: #5a6b80;
    /* Slate Gray */
    --border-light: rgba(13, 43, 79, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.06);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography styles */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.text-link {
    font-weight: 600;
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Layout Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.side-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Nav Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* Glass Panels (Cards) */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.glass-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    margin-top: 2rem;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.hero h2 {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 1.5rem;
}

.hero-text {
    flex: 1;
}

.hero-content {
    font-size: 1.1rem;
    max-width: 800px;
}

.hero-content p {
    margin-bottom: 1rem;
}

.hero-image {
    flex-shrink: 0;
    width: 280px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
}

.secondary-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Timeline/Experience */
.timeline {
    list-style: none;
    margin-top: 1.5rem;
}

.timeline li {
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--border-light);
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}

.timeline li:last-child {
    border: 0;
    padding-bottom: 0;
}

.timeline li::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--bg-panel);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 5px;
}

.timeline .date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.timeline .role {
    font-weight: 600;
    color: var(--text-primary);
}

/* Interests List */
.interest-list {
    list-style: none;
    margin-top: 1.5rem;
}

.interest-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.interest-list li:last-child {
    border-bottom: none;
}

.interest-list .icon {
    color: var(--primary-color);
    font-size: 0.6rem;
    margin-right: 12px;
}

/* Utilities */
.mb-1 {
    margin-bottom: 1rem;
}

.mt-auto {
    margin-top: auto;
}

.font-weight-bold {
    font-weight: bold;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    padding: 3rem 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-light);
    margin-top: 3rem;
}

.text-center {
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .side-column {
        flex-direction: row;
    }

    .side-column>section {
        flex: 1;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-panel);
        border-bottom: 1px solid var(--border-light);
        padding: 1rem 0;
        box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-radius: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-layout {
        flex-direction: column-reverse;
        /* Put buttons/text above image, or just column for text above image */
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-image {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .side-column {
        flex-direction: column;
    }
}