/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme */
    --primary: #0B3C5D;
    --accent: #4A90E2;
    --bg-dark: #0A1929;
    --bg-darker: #050D15;
    --bg-card: #0F1E2E;
    --text-primary: #E8EEF2;
    --text-secondary: #B0BEC5;
    --text-muted: #78909C;
    --border-color: #1E3A52;
    --success: #10B981;
    
    /* Fonts */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 2rem;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

a:hover {
    color: #6AB0F0;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: 10%;
    left: -10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 50%;
    right: -5%;
    animation-delay: -10s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--success);
    bottom: 10%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: inline;
}

.accent-text {
    display: inline;
}

.hero-subtitle {
    margin-bottom: 2rem;
}

.subtitle-main {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.subtitle-location {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tag {
    padding: 0.5rem 1.25rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.image-placeholder {
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
}

.image-placeholder p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===================================
   QUICK BIO SECTION
   =================================== */
.quick-bio {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
    font-size: 1rem;
    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: 0.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===================================
   RESEARCH PREVIEW SECTION
   =================================== */
.research-preview {
    padding: var(--section-padding);
}

.research-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.15);
}

.research-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.research-type,
.research-status {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.research-type {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
}

.research-status {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.research-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.research-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.research-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.supervisor {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.3), rgba(74, 144, 226, 0.1));
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===================================
   BIO SECTION (About Page)
   =================================== */
.bio-section {
    padding: var(--section-padding);
}

.bio-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
}

.profile-image-large {
    position: sticky;
    top: 6rem;
}

.profile-image-large .image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 16px;
}

.quick-facts {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.quick-facts h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.fact-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.fact-value {
    color: var(--text-primary);
    font-weight: 500;
}

.bio-text-content {
    margin-bottom: 3rem;
}

.bio-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.bio-paragraph.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

.research-interests-detail {
    margin-top: 3rem;
}

.subsection-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.interest-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.interest-icon {
    width: 48px;
    height: 48px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.interest-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.interest-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.interest-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   EDUCATION TIMELINE
   =================================== */
.education-section {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
}

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

.timeline-marker {
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.timeline-marker.current {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1), 0 0 30px rgba(16, 185, 129, 0.6); }
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.degree-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.degree-status {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.degree-status.honors {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.degree-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.degree-year {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.institution {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.institution svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    flex-shrink: 0;
}

.degree-details {
    display: grid;
    gap: 1.5rem;
}

.detail-section h4 {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-section ul {
    list-style: none;
    padding-left: 0;
}

.detail-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.research-topic {
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.thesis-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s ease;
}

.thesis-link:hover {
    gap: 0.75rem;
}

/* ===================================
   RESEARCH PAGE
   =================================== */
.current-research {
    padding: var(--section-padding);
}

.research-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.research-header {
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.5), rgba(74, 144, 226, 0.2));
    padding: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.research-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(74, 144, 226, 0.2);
    color: var(--accent);
}

.badge-status {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.research-main-title {
    font-size: 2rem;
    line-height: 1.4;
}

.research-body {
    padding: 2.5rem;
}

.research-overview {
    margin-bottom: 2.5rem;
}

.research-overview h4 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.research-overview p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.research-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.research-detail {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
}

.research-detail h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.research-detail ul {
    list-style: none;
    padding-left: 0;
}

.research-detail li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.research-detail li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.supervisor-info {
    background: var(--bg-darker);
    border-radius: 10px;
    padding: 1.75rem;
}

.supervisor-info h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.supervisor-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.research-interests {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.interests-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.interest-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.interest-detail-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.interest-detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.interest-icon-large {
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.interest-icon-large svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent);
}

.interest-detail-header h3 {
    font-size: 1.35rem;
}

.interest-detail-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.previous-research {
    padding: var(--section-padding);
}

.research-list {
    display: grid;
    gap: 2rem;
}

.research-list-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.1);
}

.research-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.research-degree {
    padding: 0.4rem 1rem;
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.research-year {
    color: var(--text-muted);
    font-weight: 600;
}

.research-list-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.research-institution {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.research-list-item .research-description {
    margin-bottom: 1rem;
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-section {
    padding: var(--section-padding);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.contact-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details a {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-weight: 500;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-card,
.collaboration-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.cta-card h3,
.collaboration-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p,
.collaboration-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.collaboration-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.collaboration-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.collaboration-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.collaboration-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.quick-links-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.quick-link-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.2);
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.quick-link-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quick-link-card .arrow {
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .arrow {
    transform: translateX(5px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bio-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-image-large {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .research-details-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 25, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 2rem 1.5rem;
        gap: 0;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1.25rem 1.5rem;
        margin-bottom: 1rem;
        background: rgba(74, 144, 226, 0.1);
        border: 1px solid rgba(74, 144, 226, 0.3);
        border-radius: 8px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.1rem;
        text-align: center;
        font-weight: 500;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(74, 144, 226, 0.5);
        touch-action: manipulation;
    }
    
    .nav-link:active {
        background: rgba(74, 144, 226, 0.3);
        transform: scale(0.98);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        background: var(--accent);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -2.5rem;
    }
    
    .degree-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .degree-year {
        align-self: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-content {
        padding: 0 1.25rem;
    }
}

/* ===================================
   PUBLICATIONS PAGE
   =================================== */
.publications-section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.document-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.document-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.15);
}

.document-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.3), rgba(74, 144, 226, 0.1));
}

.document-icon {
    width: 80px;
    height: 80px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent);
}

.document-info {
    min-width: 0;
}

.document-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.document-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.document-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.doc-type,
.doc-updated {
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-weight: 600;
}

.doc-type {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
}

.doc-updated {
    color: var(--text-muted);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.documents-grid .document-card {
    display: block;
    padding: 2.5rem;
}

.documents-grid .document-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.documents-grid .document-card p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.documents-grid .document-card .doc-footer {
    margin-top: 1.5rem;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.doc-badge {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.doc-badge.ongoing {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.doc-badge.completed {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
}

.doc-year {
    color: var(--text-muted);
    font-weight: 600;
}

.doc-title {
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.doc-institution {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.doc-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.doc-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.doc-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.publications-list,
.presentations-list {
    display: grid;
    gap: 2rem;
}

.publication-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.pub-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
}

.pub-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.pub-authors {
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.pub-venue {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pub-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.publication-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .document-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .document-icon {
        margin: 0 auto;
    }
    
    .document-card .btn {
        width: 100%;
        justify-content: center;
    }
    
    .document-info {
        width: 100%;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .documents-grid .document-card {
        text-align: left;
    }
    
    .publication-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pub-year {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .document-icon {
        margin: 0 auto;
    }
}
