/* Theme: Quantum - Deep space purples, electric circuits, holographic interfaces, and futuristic data visualization */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800;900&family=Saira:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Saira', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #d4d4ff;
    background: #0a0015;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(75, 0, 130, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: quantumPulse 15s ease-in-out infinite alternate;
}

@keyframes quantumPulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(138, 43, 226, 0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(75, 0, 130, 0.03) 50%, transparent 100%);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 0, 21, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 4px 30px rgba(138, 43, 226, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(10, 0, 21, 0.95);
    box-shadow: 0 8px 40px rgba(138, 43, 226, 0.35);
    border-bottom-color: rgba(138, 43, 226, 0.5);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #a855f7;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

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

.nav-menu li a {
    display: block;
    padding: 0.7rem 1.4rem;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 80%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #d8b4fe;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid #a855f7;
    color: #a855f7;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.mobile-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(168, 85, 247, 0.1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mobile-toggle:hover::before {
    transform: scaleX(1);
}

.mobile-toggle:hover {
    border-color: #d8b4fe;
    color: #d8b4fe;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbitFloat 20s ease-in-out infinite;
    filter: blur(60px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbitFloat 25s ease-in-out infinite reverse;
    filter: blur(65px);
}

@keyframes orbitFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(40px, -50px) rotate(180deg);
    }
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.8rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: phaseIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes phaseIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.8rem;
    color: #e9d5ff;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.hero-text h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #c4b5fd;
    margin-bottom: 2.8rem;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.7);
    background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
}

.btn-secondary {
    background: transparent;
    color: #a855f7;
    border: 2px solid #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: #d8b4fe;
    color: #d8b4fe;
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.4);
}

.hero-image {
    animation: phaseIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.profile-card {
    background: rgba(20, 0, 40, 0.6);
    backdrop-filter: blur(25px) saturate(120%);
    padding: 2.5rem;
    box-shadow: 
        0 0 50px rgba(168, 85, 247, 0.3),
        inset 0 0 30px rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.profile-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 0 70px rgba(168, 85, 247, 0.5),
        inset 0 0 50px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.8rem;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.4s ease;
}

.profile-card:hover img {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.5);
}

.profile-details h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #e9d5ff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.profile-details p {
    color: #c4b5fd;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.7);
    background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #a855f7 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
}

.section-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #e9d5ff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

#experience {
    background: rgba(20, 0, 40, 0.3);
    backdrop-filter: blur(30px);
}

.timeline {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #a855f7 0%, #7c3aed 50%, #6b21a8 100%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-year {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #a855f7;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -48px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border: 3px solid rgba(10, 0, 21, 0.9);
    box-shadow: 
        0 0 0 6px rgba(168, 85, 247, 0.2),
        0 0 20px rgba(168, 85, 247, 0.6);
    border-radius: 50%;
}

.timeline-content {
    background: rgba(20, 0, 40, 0.5);
    backdrop-filter: blur(15px);
    padding: 2.2rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-left: 3px solid #a855f7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% 98%, 98% 100%, 0 100%);
}

.timeline-content:hover {
    transform: translateX(12px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
    border-left-width: 4px;
    background: rgba(20, 0, 40, 0.7);
    border-color: rgba(168, 85, 247, 0.4);
}

.timeline-content h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #e9d5ff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    color: #a855f7;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Exo 2', sans-serif;
}

.timeline-content p {
    color: #c4b5fd;
    line-height: 1.75;
    margin: 0;
}

.timeline-content a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #a855f7;
    color: #d8b4fe;
}

#ai {
    background: linear-gradient(180deg, rgba(20, 0, 40, 0.4) 0%, rgba(20, 0, 40, 0.5) 100%);
    backdrop-filter: blur(30px);
}

.ai-projects {
    display: grid;
    gap: 3rem;
}

.project-card {
    background: rgba(20, 0, 40, 0.5);
    backdrop-filter: blur(15px);
    padding: 2.8rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% 97%, 97% 100%, 0 100%);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7 0%, #7c3aed 50%, #6b21a8 100%);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
    background: rgba(20, 0, 40, 0.7);
    border-color: rgba(168, 85, 247, 0.4);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.1rem;
    color: #e9d5ff;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.project-client {
    color: #a855f7;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    letter-spacing: 0.5px;
    font-family: 'Exo 2', sans-serif;
}

.project-card > p {
    color: #c4b5fd;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.project-impact {
    background: rgba(168, 85, 247, 0.1);
    padding: 1.5rem;
    border-left: 3px solid #a855f7;
    color: #d4d4ff;
    line-height: 1.75;
    box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
}

.project-impact strong {
    color: #e9d5ff;
    font-weight: 700;
}

#speaking {
    background: rgba(20, 0, 40, 0.35);
    backdrop-filter: blur(30px);
}

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

.year-section {
    background: rgba(20, 0, 40, 0.5);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% 98%, 98% 100%, 0 100%);
}

.year-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
    background: rgba(20, 0, 40, 0.7);
    border-color: rgba(168, 85, 247, 0.4);
}

.year-section h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.3rem;
    margin-bottom: 2rem;
    color: #a855f7;
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1rem 0;
    color: #c4b5fd;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    line-height: 1.75;
    position: relative;
    padding-left: 2.5rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.achievements li:last-child {
    border-bottom: none;
}

.achievements strong {
    color: #e9d5ff;
    font-weight: 700;
}

#personal {
    background: linear-gradient(180deg, rgba(20, 0, 40, 0.45) 0%, rgba(20, 0, 40, 0.5) 100%);
    backdrop-filter: blur(30px);
}

#contact {
    background: rgba(20, 0, 40, 0.4);
    backdrop-filter: blur(30px);
}

.contact-card {
    background: rgba(20, 0, 40, 0.6);
    backdrop-filter: blur(20px);
    padding: 5rem 4.5rem;
    text-align: center;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.3);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(168, 85, 247, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 4% 100%, 0 96%);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #a855f7 20%, #7c3aed 50%, #a855f7 80%, transparent 100%);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
}

.contact-card h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #e9d5ff;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.contact-card > p {
    font-size: 1.2rem;
    color: #c4b5fd;
    line-height: 1.75;
    margin-bottom: 3.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.3rem 3rem;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    border-radius: 50%;
}

.contact-link:hover::before {
    width: 400px;
    height: 400px;
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 55px rgba(168, 85, 247, 0.7);
    background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
}

.contact-link .icon {
    font-size: 1.6rem;
}

#footer {
    background: rgba(10, 0, 21, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem 0;
    text-align: center;
    color: #a78bfa;
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 -8px 40px rgba(168, 85, 247, 0.2);
}

#footer a {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

#footer a:hover {
    color: #d8b4fe;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 520px;
        margin: 0 auto;
    }

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

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 2rem;
        height: 78px;
    }

    html {
        scroll-padding-top: 78px;
    }

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(10, 0, 21, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 2.5rem;
        gap: 0;
        box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        margin-bottom: 3.5rem;
        padding-left: 4rem;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
    }

    .timeline-year::after {
        left: -38px;
        right: auto;
    }

    .contact-card {
        padding: 4rem 2.8rem;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 1.6rem;
    }

    .nav-container {
        padding: 0 1.6rem;
        height: 72px;
    }

    html {
        scroll-padding-top: 72px;
    }

    #hero {
        padding: 110px 0 80px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

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

    section {
        padding: 75px 0;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .profile-card {
        padding: 2rem;
    }

    .timeline-item {
        padding-left: 3.5rem;
    }

    .timeline-content {
        padding: 1.8rem;
    }

    .project-card {
        padding: 2.4rem 1.8rem;
    }

    .contact-card {
        padding: 3.5rem 1.8rem;
    }

    .contact-card h2 {
        font-size: 2.6rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
        padding: 1.1rem 2rem;
        font-size: 0.9rem;
    }
}