/* ==================== */
/* CSS Variables */
/* ==================== */
:root {
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-accent: #ff6b35;
    --color-accent-hover: #ff8c42;
    --color-accent-blue: #00d4ff;
    --color-accent-purple: #b24bf3;
    --color-accent-green: #00ff88;
    --color-accent-pink: #ff006e;
    --color-accent-yellow: #ffbe0b;
    --color-border: rgba(0, 0, 0, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-color-1: 0 8px 32px rgba(255, 107, 53, 0.4);
    --shadow-color-2: 0 8px 32px rgba(0, 212, 255, 0.4);
    --shadow-color-3: 0 8px 32px rgba(178, 75, 243, 0.4);
    --shadow-color-4: 0 8px 32px rgba(0, 255, 136, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

/* ==================== */
/* Navigation */
/* ==================== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Satisfy', cursive;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    margin-right: auto;
    margin-left: 0;
    padding-right: 40px;
    letter-spacing: 1px;
}

.nav-logo:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 100px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.5) 0%, rgba(255, 140, 66, 0.3) 30%, rgba(255, 107, 53, 0.15) 50%, transparent 70%);
    filter: blur(60px);
    animation: pulseTopRight 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.5) 0%, rgba(255, 107, 53, 0.3) 30%, rgba(255, 140, 66, 0.15) 50%, transparent 70%);
    filter: blur(60px);
    animation: pulseBottomLeft 4s ease-in-out infinite;
}

@keyframes pulseTopRight {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-20px, 10px) scale(1.1);
        opacity: 1;
    }
}

@keyframes pulseBottomLeft {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(20px, -10px) scale(1.1);
        opacity: 1;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    margin: 0 auto 40px;
    width: 200px;
    height: 200px;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-accent);
    box-shadow: var(--shadow-color-1), 0 0 60px rgba(255, 107, 53, 0.6);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover), #ffb347);
    opacity: 0.5;
    filter: blur(50px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 600;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.btn-primary {
    background: rgba(255, 107, 53, 0.2);
    color: white;
    border: 2px solid rgba(255, 107, 53, 0.5);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 107, 53, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 107, 53, 0.8);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--color-text-secondary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ==================== */
/* Section Styles */
/* ==================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #ffb347);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== */
/* About Section */
/* ==================== */
.about {
    background: #ffffff;
    padding-top: 120px;
    position: relative;
    z-index: 2;
}

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

.about-text {
    text-align: center;
}

.about-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--color-bg-secondary);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== */
/* Education Section */
/* ==================== */
.education {
    background: var(--color-bg-secondary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background: var(--color-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.education-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.education-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.education-status.in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.education-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.education-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.education-card h4 {
    font-size: 18px;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.graduation-date {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.education-details {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==================== */
/* Skills Section */
/* ==================== */
.skills {
    background: var(--color-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.skill-card {
    background: var(--color-bg);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.skill-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.skill-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==================== */
/* Experience Section */
/* ==================== */
.experience {
    background: var(--color-bg-secondary);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.experience-card {
    background: var(--color-bg);
    padding: 24px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.experience-date {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 107, 53, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.experience-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.experience-card h4 {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.experience-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 16px;
}

.experience-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.experience-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* ==================== */
/* Projects Section */
/* ==================== */
.projects {
    background: var(--color-bg-secondary);
}

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

.project-card {
    background: #000000;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border-color: #2a2a2a;
}

.project-info {
    padding: 32px 32px 24px 32px;
    order: 1;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    color: white;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover .tag {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    order: 2;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 980px;
    transition: var(--transition);
}

.project-link:hover {
    background: white;
    color: var(--color-accent);
}

/* ==================== */
/* Workshops & Research Section */
/* ==================== */
.workshops {
    background: var(--color-bg);
}

.subsection-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 80px 0 40px 0;
    color: var(--color-text);
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.workshop-card {
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.workshop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.workshop-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.workshop-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.workshop-date,
.workshop-location {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.workshop-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pdf-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.pdf-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.research-card {
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.research-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
}

.research-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.research-status.published {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.research-status.in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.research-venue {
    font-size: 14px;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.research-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==================== */
/* Contact Section */
/* ==================== */
.contact {
    background: #0a0a0a;
    padding: 100px 0 120px;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 107, 53, 0.6);
}

.contact-icon {
    font-size: 28px;
}

.contact-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-accent);
}

/* ==================== */
/* Apple TV Gallery */
/* ==================== */
.gallery-section {
    margin-top: 60px;
}

.gallery-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.gallery-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 400px;
    height: 225px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: #000;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: var(--color-text);
    color: white;
    text-align: center;
    padding: 40px 24px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== */
/* Animations */
/* ==================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== */
/* Responsive Design */
/* ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 40px 0;
        gap: 24px;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .education-grid,
    .workshops-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .subsection-title {
        font-size: 28px;
        margin: 60px 0 30px 0;
    }

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

    .gallery-container {
        padding: 0 60px;
    }

    .gallery-item {
        flex: 0 0 320px;
        height: 180px;
    }

    .gallery-nav {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .gallery-container {
        padding: 0 50px;
    }

    .gallery-item {
        flex: 0 0 280px;
        height: 160px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav svg {
        width: 20px;
        height: 20px;
    }

    .gallery-title {
        font-size: 24px;
    }
}

