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

:root {
    --bg-dark: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #00ff88;
    --accent-red: #d2232a;
    --gold: #ffd700;
    --section-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: scroll;
    touch-action: manipulation;
    cursor: default;
    line-height: 1.6;
    height: 100%;
    min-height: 100vh;
}

html {
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    height: 100%;
}

/* Smooth scrolling without snapping */
html {
    scroll-behavior: smooth;
}

/* Ensure no content overflows viewport */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        word-wrap: break-word;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-dots.visible {
    opacity: 1;
    visibility: visible;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot:hover {
    border-color: var(--accent-red);
    transform: scale(1.2);
}

.nav-dot.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.nav-dot .tooltip {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(210, 35, 42, 0.3);
}

.nav-dot:hover .tooltip {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
    opacity: 0;
}

.hero-background.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-main-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-bottom-content {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 20px;
    animation: fadeInUp 1s ease-out;
    justify-content: center;
}

.hero-dawod {
    color: var(--text-primary);
}

.hero-x {
    color: var(--accent-red);
}

.hero-rotating {
    position: relative;
    min-width: 500px;
    height: 1.2em;
    overflow: visible;
    text-align: left;
}

.rotating-word {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    white-space: nowrap;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text-primary);
    margin: 40px 0 20px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero .tagline {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero .subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.journey-path {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.5s backwards;
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
}

.journey-path span {
    color: var(--text-primary);
    margin: 0 10px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    position: relative;
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-text {
    z-index: 2;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.section-title .x {
    color: var(--accent-red);
    margin: 0 15px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.section-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    background: rgba(210, 35, 42, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.detail-card h4 {
    color: var(--accent-red);
    margin-bottom: 10px;
}

.section-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 35, 42, 0.1) 0%, rgba(210, 35, 42, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent-red);
    position: relative;
    overflow: hidden;
}

.visual-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210, 35, 42, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.visual-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.9;
}

/* Specific Section Styles */
.section:nth-child(even) .section-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.section:nth-child(even) .section-text {
    direction: ltr;
}

/* Section-specific background patterns */
#architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 35, 42, 0.03) 0%, rgba(0, 255, 136, 0.02) 100%);
    z-index: 0;
}

#computational::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.03) 0%, rgba(210, 35, 42, 0.02) 100%);
    z-index: 0;
}

#academia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(210, 35, 42, 0.03) 0%, rgba(255, 215, 0, 0.02) 100%);
    z-index: 0;
}

#robotics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, rgba(255, 215, 0, 0.03) 0%, rgba(210, 35, 42, 0.02) 100%);
    z-index: 0;
}

#innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 35, 42, 0.04) 0%, rgba(0, 255, 136, 0.01) 100%);
    z-index: 0;
}

#research::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.03) 0%, rgba(255, 215, 0, 0.02) 100%);
    z-index: 0;
}

#urban::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(255, 215, 0, 0.03) 0%, rgba(210, 35, 42, 0.02) 100%);
    z-index: 0;
}

#xr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, rgba(210, 35, 42, 0.03) 0%, rgba(0, 255, 136, 0.02) 100%);
    z-index: 0;
}

#ai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.04) 0%, rgba(255, 215, 0, 0.01) 100%);
    z-index: 0;
}

#entrepreneurship::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.03) 0%, rgba(210, 35, 42, 0.02) 100%);
    z-index: 0;
}

#data::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(210, 35, 42, 0.03) 0%, rgba(0, 255, 136, 0.03) 100%);
    z-index: 0;
}

#architecture { background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1a 100%); }
#computational { background: linear-gradient(180deg, #0a0f1a 0%, #1a0a1a 100%); }
#academia { background: linear-gradient(180deg, #1a0a1a 0%, #0a1a1a 100%); }
#robotics { background: linear-gradient(180deg, #0a1a1a 0%, #1a0a0f 100%); }
#innovation { background: linear-gradient(180deg, #1a0a0f 0%, #0f0a1a 100%); }
#research { background: linear-gradient(180deg, #0f0a1a 0%, #1a0f0a 100%); }
#urban { background: linear-gradient(180deg, #1a0f0a 0%, #0a1a0f 100%); }
#xr { background: linear-gradient(180deg, #0a1a0f 0%, #0f1a0a 100%); }
#ai { background: linear-gradient(180deg, #0f1a0a 0%, #1a0a0a 100%); }
#entrepreneurship { background: linear-gradient(180deg, #1a0a0a 0%, #0a0a1a 100%); }
#data { background: linear-gradient(180deg, #0a0a1a 0%, var(--bg-dark) 100%); }

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

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

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-dots {
        right: 20px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section:nth-child(even) .section-content {
        grid-template-columns: 1fr;
    }

    .section-visual {
        height: 300px;
    }

    /* Mobile Hero Layout */
    .hero h1 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-title-mobile {
        display: flex;
        align-items: baseline;
        gap: 15px;
        margin-bottom: 15px;
    }

    .hero-rotating {
        min-width: 350px;
        margin-bottom: 0;
        text-align: center;
    }

    .rotating-word {
        left: 50%;
        transform: translateX(-50%) translateY(30px);
    }

    .rotating-word.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* Stats Section */
#stats {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a1a 100%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.stats-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.stats-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    background: rgba(210, 35, 42, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-10px);
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Timeline Section */
#timeline {
    min-height: 100vh;
    padding: 100px 5%;
    background: linear-gradient(180deg, #1a0a1a 0%, #0a1a1a 100%);
    position: relative;
}

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

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

.timeline-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.timeline-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.timeline-track {
    position: relative;
    padding: 40px 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-red), rgba(210, 35, 42, 0.3));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) .timeline-content:first-child {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content:last-child {
    display: none;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
    display: none;
}

.timeline-item:nth-child(even) .timeline-content:last-child {
    grid-column: 3;
    text-align: left;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    grid-column: 2;
    justify-self: center;
    align-self: start;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(210, 35, 42, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(210, 35, 42, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.timeline-role {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.timeline-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Publications Section */
#publications {
    min-height: 100vh;
    padding: 100px 5%;
    background: linear-gradient(180deg, #0a1a1a 0%, #1a0a0f 100%);
    position: relative;
}

.publications-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.publications-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.publications-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.publication-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.publication-card:hover {
    background: rgba(210, 35, 42, 0.1);
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.pub-type {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.pub-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.pub-authors {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.pub-venue {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-style: italic;
}

.pub-publisher {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.pub-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Section */
#contact {
    min-height: 100vh;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #1a0a0f 0%, #0a0a0a 100%);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

#contact.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(210, 35, 42, 0.1);
    border-color: var(--accent-red);
    transform: translateX(10px);
}

.contact-link span:first-child {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
}

.contact-link span:last-child {
    color: var(--text-secondary);
}

.contact-signature {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signature-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.signature-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.signature-subtitle {
    font-size: 0.9rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
    /* Stats responsive - 3 columns for tablet */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav-dots {
        right: 15px;
        gap: 15px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .nav-dot .tooltip {
        right: auto;
        left: -60px;
        font-size: 11px;
        padding: 3px 10px;
        white-space: nowrap;
        max-width: none;
    }

    /* General section adjustments for mobile */
    .section, #stats, #timeline, #publications, #contact {
        min-height: auto !important;
        padding: 60px 20px !important;
    }

    /* Hero section mobile adjustments */
    .hero {
        min-height: 100vh;
        padding: 20px;
    }

    .hero-bottom-content {
        bottom: 120px;
        gap: 20px;
    }

    .journey-path {
        font-size: 11px;
        text-align: center;
        padding: 0 20px;
        white-space: nowrap;
        bottom: 80px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .rotating-word {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-rotating {
        min-width: 250px;
        text-align: center;
    }

    .hero .tagline {
        font-size: clamp(0.85rem, 2.5vw, 1.2rem);
        white-space: nowrap;
    }

    .hero .subtitle {
        font-size: clamp(0.8rem, 2vw, 1rem);
        letter-spacing: 0.1em;
        white-space: nowrap;
    }

    /* Section content mobile adjustments */
    .section-content {
        gap: 40px;
        padding: 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .section-details {
        gap: 20px;
        margin-top: 20px;
    }

    .detail-card {
        padding: 15px;
        min-width: 100%;
    }

    .section-visual {
        height: 250px;
    }

    /* Stats mobile */
    .stats-header h2, .timeline-header h2, .publications-header h2, .contact-header h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 10px;
    }

    .stats-header p, .timeline-header p, .publications-header p, .contact-header p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Publications mobile */
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .publication-card {
        padding: 20px;
    }

    .pub-title {
        font-size: 1.1rem;
    }

    /* Timeline mobile */
    .timeline-track {
        padding: 20px 0;
    }

    .timeline-track::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr !important;
        gap: 15px !important;
        padding-bottom: 30px;
    }

    .timeline-item .timeline-content:first-child {
        display: none !important;
    }

    .timeline-item .timeline-content:last-child {
        display: block !important;
        grid-column: 2 !important;
        text-align: left !important;
        padding: 20px;
    }

    .timeline-marker {
        grid-column: 1 !important;
        margin-left: 22px;
        width: 16px;
        height: 16px;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    .timeline-role {
        font-size: 1.1rem;
    }

    .timeline-company, .timeline-location, .timeline-period {
        font-size: 0.9rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }

    /* Contact mobile */
    .contact-links {
        gap: 15px;
        margin-bottom: 40px;
    }

    .contact-link {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px;
    }

    .contact-signature {
        padding-top: 30px;
    }

    .signature-name {
        font-size: 1.5rem;
    }

    .signature-tagline {
        font-size: 1rem;
    }

    .signature-subtitle {
        font-size: 0.8rem;
    }

    /* Scroll indicator mobile */
    .scroll-indicator {
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - more compact */
    .section, #stats, #timeline, #publications, #contact {
        padding: 40px 15px !important;
    }

    .hero {
        padding: 15px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .rotating-word {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-rotating {
        min-width: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item {
        padding: 15px 8px;
    }

    .timeline-item .timeline-content:last-child {
        padding: 15px;
    }

    .publication-card, .detail-card {
        padding: 15px;
    }

    .contact-link {
        padding: 15px;
    }

    /* Smaller font sizes for very small screens */
    .section-title {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }

    .stats-header h2, .timeline-header h2, .publications-header h2, .contact-header h2 {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
    }
}

/* Projects CTA Section */
#projects-cta {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #1a0a10 0%, #1a0505 100%);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

#projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.projects-cta-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    z-index: 1;
    position: relative;
}

.projects-cta-content {
    animation: fadeInUp 0.8s ease-out;
}

.projects-cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.projects-cta-title .x {
    color: #ff0000;
    font-weight: 400;
    display: inline-block;
    transform: scale(1.1);
    margin: 0 10px;
}

.projects-cta-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.projects-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: transparent;
    border: 1px solid #ff0000;
    border-radius: 8px;
    color: #ff0000;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.projects-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ff0000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.projects-cta-button:hover {
    color: white;
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.projects-cta-button:hover::before {
    left: 0;
}

.projects-cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.projects-cta-button svg path {
    stroke: #ff0000;
}

.projects-cta-button:hover svg {
    transform: translate(3px, -3px);
}

.projects-cta-button:hover svg path {
    stroke: white;
}

/* Responsive adjustments for Projects CTA */
@media (max-width: 768px) {
    #projects-cta {
        padding: 60px 20px;
        min-height: 100vh;
    }
    
    .projects-cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #projects-cta {
        padding: 40px 15px;
        min-height: 100vh;
    }

    .projects-cta-description {
        margin-bottom: 30px;
    }

    .projects-cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   CAROUSEL STYLES
   ========================================== */

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    direction: ltr;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--accent-red);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    border-color: white;
}

.carousel-dot.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: scale(1.2);
}

/* Mobile carousel adjustments */
@media (max-width: 768px) {
    .carousel-controls {
        bottom: 15px;
        gap: 12px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}