/* Theme: Universe - Day 21, letter U: Inspired by cosmic nebulas, stellar formations, celestial bodies, deep space, galaxy clusters, aurora borealis, planetary systems, meteor showers, constellation patterns, cosmic dust */

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

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

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

body {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #1a1a2e;
    background: #fcfcfd;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(138, 43, 226, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(75, 0, 130, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(72, 61, 139, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(138, 43, 226, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(75, 0, 130, 0.02) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    pointer-events: none;
    z-index: 0;
    animation: starfield 60s linear infinite;
}

@keyframes starfield {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(80px);
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(252, 252, 253, 0.92);
    backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.15);
    box-shadow: 0 4px 30px rgba(26, 26, 46, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#topnav.scrolled {
    box-shadow: 0 8px 40px rgba(26, 26, 46, 0.1);
    border-bottom-color: rgba(138, 43, 226, 0.25);
}

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

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: #8a2be2;
    margin: 0;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

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

.nav-menu li a {
    display: block;
    padding: 1rem 2rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    opacity: 0;
    transform: scale(0.9) rotate(2deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: #8a2be2;
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.6);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ffffff;
    border-color: rgba(138, 43, 226, 0.3);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    width: 58px;
    height: 58px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.35);
}

.mobile-toggle:hover {
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 8px 28px rgba(138, 43, 226, 0.5);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(75, 0, 130, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: cosmicPulse 25s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.12) 0%, rgba(72, 61, 139, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    animation: cosmicPulse 30s ease-in-out infinite reverse;
}

@keyframes cosmicPulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15) translate(25px, -25px);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 7.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: nebulaReveal 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes nebulaReveal {
    0% {
        opacity: 0;
        transform: translateY(55px) scale(0.97);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #4a4a5e;
    margin-bottom: 4.5rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

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

.btn {
    display: inline-block;
    padding: 1.6rem 4.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.05rem;
    letter-spacing: 1px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%) skewX(-20deg);
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(138, 43, 226, 0.5);
}

.btn-secondary {
    background: #ffffff;
    color: #8a2be2;
    border: 2px solid #8a2be2;
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #483d8b 0%, #6a5acd 100%);
    color: #ffffff;
    border-color: #483d8b;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 36px rgba(72, 61, 139, 0.35);
}

.hero-image {
    animation: nebulaReveal 1.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both;
}

.profile-card {
    background: #ffffff;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.12);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 12px;
    border: 2px solid rgba(138, 43, 226, 0.15);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 50%, #483d8b 100%);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.profile-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.profile-card:hover::after {
    opacity: 0.1;
}

.profile-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(26, 26, 46, 0.2);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.15);
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.profile-details p {
    color: #4a4a5e;
    margin-bottom: 2.5rem;
    line-height: 1.65;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.35);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(138, 43, 226, 0.5);
}

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

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4rem;
}

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

.section-header::before {
    content: '★';
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: #8a2be2;
    opacity: 0.2;
    animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.2);
    }
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 100%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.5);
}

#experience {
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.04) 0%, rgba(75, 0, 130, 0.03) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 270px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #8a2be2 0%, #4b0082 50%, #483d8b 100%);
    border-radius: 4px;
    opacity: 0.35;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

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

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.2rem;
    font-weight: 900;
    color: #8a2be2;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -102px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px rgba(252, 252, 253, 0.95),
        0 0 0 12px rgba(138, 43, 226, 0.25),
        0 0 20px rgba(138, 43, 226, 0.4);
}

.timeline-content {
    background: #ffffff;
    padding: 4rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 45px rgba(26, 26, 46, 0.08);
    position: relative;
    border-radius: 12px;
    border-left: 4px solid #8a2be2;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #483d8b 0%, #6a5acd 100%);
    transition: height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-content:hover::before {
    height: 100%;
}

.timeline-content:hover {
    transform: translateX(12px) translateY(-4px);
    box-shadow: 0 25px 65px rgba(26, 26, 46, 0.15);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.timeline-content h4 {
    color: #8a2be2;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

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

.timeline-content a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content a:hover {
    border-bottom-color: #8a2be2;
    color: #4b0082;
}

#ai {
    background: linear-gradient(180deg, rgba(75, 0, 130, 0.03) 0%, rgba(138, 43, 226, 0.04) 100%);
}

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

.project-card {
    background: #ffffff;
    padding: 5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 33%, #483d8b 66%, #6a5acd 100%);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.project-card::after {
    content: '✦';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 6rem;
    color: rgba(138, 43, 226, 0.06);
    transition: all 0.5s ease;
}

.project-card:hover::after {
    transform: rotate(45deg) scale(1.15);
    color: rgba(138, 43, 226, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(26, 26, 46, 0.18);
}

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

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #1a1a2e;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.project-client {
    color: #8a2be2;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    letter-spacing: 0.3px;
}

.project-card > p {
    color: #4a4a5e;
    line-height: 1.75;
    margin-bottom: 3.5rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(75, 0, 130, 0.05) 100%);
    padding: 2.5rem;
    color: #1a1a2e;
    line-height: 1.75;
    border-radius: 8px;
    border-left: 4px solid #8a2be2;
    position: relative;
}

.project-impact strong {
    color: #8a2be2;
    font-weight: 800;
}

#speaking {
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.04) 0%, rgba(75, 0, 130, 0.03) 100%);
}

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

.year-section {
    background: #ffffff;
    padding: 4rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 45px rgba(26, 26, 46, 0.08);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #8a2be2 0%, #4b0082 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.year-section:hover::before {
    opacity: 1;
}

.year-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 65px rgba(26, 26, 46, 0.15);
}

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.2rem;
    margin-bottom: 3.5rem;
    color: #1a1a2e;
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 3px solid rgba(138, 43, 226, 0.2);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.35);
}

.year-section.books::before {
    background: linear-gradient(180deg, #6a5acd 0%, #483d8b 100%);
}

.year-section.books h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.9rem 0;
    color: #4a4a5e;
    border-bottom: 2px solid rgba(26, 26, 46, 0.06);
    line-height: 1.75;
    position: relative;
    padding-left: 3rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.9rem;
    font-size: 1.2rem;
    color: #8a2be2;
}

.year-section.books .achievements li {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.year-section.books .achievements li::before {
    color: #ffffff;
}

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

.achievements strong {
    color: #1a1a2e;
    font-weight: 800;
}

.year-section.books .achievements strong {
    color: #ffffff;
}

#personal {
    background: linear-gradient(180deg, rgba(75, 0, 130, 0.03) 0%, rgba(138, 43, 226, 0.04) 100%);
}

#contact {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.06) 0%, rgba(75, 0, 130, 0.05) 100%);
}

.contact-card {
    background: #ffffff;
    padding: 8rem 7rem;
    text-align: center;
    box-shadow: 0 30px 90px rgba(26, 26, 46, 0.15);
    max-width: 1420px;
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 25%, #483d8b 50%, #6a5acd 75%, #8a2be2 100%);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    margin-bottom: 3.5rem;
    color: #1a1a2e;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.5rem;
    color: #4a4a5e;
    line-height: 1.75;
    margin-bottom: 6rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 5.5rem;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(138, 43, 226, 0.35);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.contact-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.6s ease;
}

.contact-link:hover::after {
    transform: translateX(100%) skewX(-20deg);
}

.contact-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.5);
}

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

#footer {
    background: #1a1a2e;
    padding: 5.5rem 0;
    text-align: center;
    color: rgba(252, 252, 253, 0.75);
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 50%, #483d8b 100%);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

#footer a {
    color: #8a2be2;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

#footer a:hover {
    color: #ffffff;
}

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

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

    .hero-image {
        max-width: 600px;
        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 3rem;
        height: 90px;
    }

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

    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(252, 252, 253, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 5rem;
        gap: 0;
        box-shadow: 0 20px 50px rgba(26, 26, 46, 0.15);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-bottom: 2px solid rgba(138, 43, 226, 0.15);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.5rem;
        border-bottom: 2px solid rgba(26, 26, 46, 0.06);
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .nav-menu li a::after {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

    .contact-card {
        padding: 7rem 5.5rem;
    }
}

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

    .nav-container {
        padding: 0 2.5rem;
        height: 85px;
    }

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

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

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

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

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

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

    section {
        padding: 100px 0;
    }

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

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

    .profile-card {
        padding: 2.5rem;
    }

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

    .timeline-content {
        padding: 3rem;
    }

    .project-card {
        padding: 4rem 3rem;
    }

    .contact-card {
        padding: 6rem 3rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.5rem 3rem;
        font-size: 0.95rem;
    }
}