/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --text-color: #e5e7eb;
    --text-light: #9ca3af;
    --bg-color: #000000;
    --bg-light: #111111;
    --bg-card: #1a1a1a;
    --border-color: #333333;
    --accent-color: #60a5fa;
    --success-color: #10b981;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.1);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.15);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a1a 50%, #0a0a0a 75%, #000000 100%);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(59, 130, 246, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.03) 87.5%, rgba(59, 130, 246, 0.03)),
        linear-gradient(150deg, rgba(59, 130, 246, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.03) 87.5%, rgba(59, 130, 246, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 40px 70px;
    pointer-events: none;
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* Left Sidebar */
.hero-sidebar {
    width: 280px;
    flex-shrink: 0;
    text-align: center;
}

.profile-image {
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.sidebar-info {
    text-align: center;
}

.institution {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.institution i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.location {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.location i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.email {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.email i {
    color: var(--primary-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sidebar-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.sidebar-links a:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.sidebar-links i {
    font-size: 1.1rem;
}

/* Right Main Content */
.hero-main {
    flex: 1;
    min-width: 0;
}

.hero-main h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.intro-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.intro-text strong {
    color: var(--text-color);
    font-weight: 600;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-buttons {
    margin: 2rem 0 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
    background-color: var(--secondary-color);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--glow);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
}

/* Main Content Tabs */
.main-content {
    width: 100%;
}

.content-tab {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.content-tab.active {
    display: block;
}

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

/* Section Styles */
.section {
    padding: 80px 20px;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

.bg-light {
    background:
        linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
}

.bg-dark {
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0f0f0f 50%, #000000 100%);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1.5rem;
    z-index: 1;
    background: linear-gradient(135deg, #e5e7eb 0%, #60a5fa 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Timeline (Education) */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

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

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-light);
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.gpa {
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

/* Research Section */
.research-header {
    max-width: 1000px;
    margin: 0 auto 3rem;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.research-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.research-header h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.research-date {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Experience Section */
.experience-item {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.experience-item li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-light);
}

.experience-item li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.experience-item strong {
    color: var(--text-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background:
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Publications Section */
.publications-list {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.publication-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.publication-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.publication-item p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-light);
}

.publication-item p:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.publication-item em {
    font-size: 0.95rem;
}

/* Poster Thumbnail Styles */
.poster-thumbnail {
    flex-shrink: 0;
    width: 250px;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid var(--border-color);
    transition: all 0.3s;
    display: block;
    box-shadow: var(--shadow-lg);
}

.poster-thumbnail:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow);
    transform: scale(1.02);
}

.poster-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-conference {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.view-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.view-pdf-link:hover {
    color: var(--secondary-color);
}

.view-pdf-link i {
    font-size: 1.1rem;
}

.publication-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline;
    position: relative;
}

.publication-link:hover {
    color: var(--primary-color);
}

.publication-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.publication-link:hover::after {
    width: 100%;
}

.inline-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    border-bottom: 1px solid transparent;
}

.inline-link:hover {
    color: var(--primary-color);
}

.inline-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.inline-link:hover::after {
    width: 100%;
}

.achievements {
    max-width: 900px;
    margin: 0 auto;
}

.achievements h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.achievement-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.achievement-item p {
    font-weight: 500;
    color: var(--text-color);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Education Grid Layout */
.education-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.education-timeline {
    flex: 1;
}

.cv-download-card {
    position: sticky;
    top: 100px;
}

.cv-card-content {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.cv-card-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.cv-card-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cv-card-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cv-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cv-card-content .btn {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: #000000;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin: 0;
}

/* Responsive Design */

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .page-title {
        font-size: 2.5rem;
    }

    .hero-sidebar {
        width: 280px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .publication-item {
        flex-direction: column;
    }

    .poster-thumbnail {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-sidebar {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .hero-main h2 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        text-align: left;
    }

    .section-title {
        font-size: 2rem;
    }

    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cv-download-card {
        position: static;
        order: -1;
    }

    .research-header {
        padding-bottom: 1.5rem;
    }

    .research-header h3 {
        font-size: 1.5rem;
    }

    .research-header h4 {
        font-size: 1.1rem;
    }

    .research-date {
        font-size: 0.9rem;
    }

    .position-header {
        flex-direction: column;
    }

    .position-date {
        white-space: normal;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 1px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .publication-item {
        flex-direction: column;
        text-align: center;
    }

    .poster-thumbnail {
        width: 100%;
        max-width: 250px;
        height: auto;
        margin: 0 auto 1rem;
    }
}

/* Small Mobile View (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 50px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .hero-sidebar {
        max-width: 100%;
    }

    .profile-image img {
        max-width: 220px;
    }

    .hero-main h2 {
        font-size: 1.3rem;
    }

    .intro-text p {
        font-size: 0.9rem;
    }

    .section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.1rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
