/* Theme: Quantum - Day 17 (Letter Q): Inspired by quantum physics, particle waves, subatomic energy, quantum entanglement, superposition states, wave functions, probability clouds, quantum computing, energy fields, dimensional shifts */

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

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 19.5px;
    line-height: 1.75;
    color: #0a0e27;
    background: linear-gradient(155deg, #faf9ff 0%, #f4f0ff 22%, #ede8ff 45%, #f0ebff 68%, #f8f5ff 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 18% 25%, rgba(138, 43, 226, 0.055) 0%, transparent 55%),
        radial-gradient(ellipse at 82% 75%, rgba(75, 0, 130, 0.048) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(35deg, transparent, transparent 95px, rgba(138, 43, 226, 0.01) 95px, rgba(138, 43, 226, 0.01) 96px),
        repeating-linear-gradient(-35deg, transparent, transparent 95px, rgba(138, 43, 226, 0.01) 95px, rgba(138, 43, 226, 0.01) 96px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 255, 0.88);
    backdrop-filter: blur(28px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.15);
    box-shadow: 0 5px 35px rgba(10, 14, 39, 0.08);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#topnav.scrolled {
    background: rgba(250, 249, 255, 0.95);
    box-shadow: 0 8px 45px rgba(10, 14, 39, 0.15);
    border-bottom-color: rgba(138, 43, 226, 0.32);
}

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

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: #0a0e27;
    margin: 0;
    letter-spacing: 2.85px;
    position: relative;
    padding-left: 4.15rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '◊';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 2.65rem;
    color: #8a2be2;
    animation: quantumSpin 8.5s linear infinite;
}

@keyframes quantumSpin {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    25% {
        transform: translateY(-50%) rotate(90deg) scale(1.15);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) rotate(180deg) scale(1);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-50%) rotate(270deg) scale(1.15);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) rotate(360deg) scale(1);
        opacity: 0.85;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 1.08rem 2.45rem;
    color: #0a0e27;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    letter-spacing: 1.55px;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.12) 0%, rgba(75, 0, 130, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 100%);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    opacity: 1;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

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

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    border: none;
    color: #faf9ff;
    font-size: 1.85rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 10px 35px rgba(138, 43, 226, 0.38);
}

.mobile-toggle:hover {
    transform: scale(1.12) rotate(2deg);
    box-shadow: 0 15px 48px rgba(138, 43, 226, 0.52);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -52%;
    right: -38%;
    width: 1050px;
    height: 1050px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.14) 0%, transparent 72%);
    animation: quantumPulse 65s ease-in-out infinite;
    clip-path: circle(50% at 50% 50%);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -48%;
    left: -35%;
    width: 980px;
    height: 980px;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.11) 0%, transparent 72%);
    animation: quantumPulse 72s ease-in-out infinite reverse;
    clip-path: circle(50% at 50% 50%);
}

@keyframes quantumPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.68;
    }
    33% {
        transform: translate(85px, -75px) scale(1.18);
        opacity: 0.95;
    }
    66% {
        transform: translate(-75px, 85px) scale(0.92);
        opacity: 0.82;
    }
}

.hero-content {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 4.8rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 9.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: quantumFadeIn 1.75s cubic-bezier(0.19, 1, 0.22, 1) 0s both;
}

@keyframes quantumFadeIn {
    0% {
        opacity: 0;
        transform: translateY(105px) scale(0.88);
        filter: blur(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 7.15rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 3.85rem;
    color: #0a0e27;
    letter-spacing: -2.25px;
    text-transform: uppercase;
}

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

.hero-subtitle {
    font-size: 1.95rem;
    color: #2d1b4e;
    margin-bottom: 5.25rem;
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

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

.btn {
    display: inline-block;
    padding: 1.85rem 4.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.18rem;
    letter-spacing: 2.15px;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 3px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.32);
    transform: translate(-50%, -50%);
    transition: width 1.05s, height 1.05s;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.btn:hover::before {
    width: 650px;
    height: 650px;
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #faf9ff;
    box-shadow: 0 20px 65px rgba(138, 43, 226, 0.42);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.btn-primary:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 82px rgba(138, 43, 226, 0.58);
    background: linear-gradient(135deg, #7b24d1 0%, #3d0066 100%);
}

.btn-secondary {
    background: rgba(250, 249, 255, 0.98);
    color: #8a2be2;
    border: 3px solid #8a2be2;
    box-shadow: 0 16px 52px rgba(138, 43, 226, 0.28);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.btn-secondary:hover {
    background: #8a2be2;
    color: #faf9ff;
    border-color: #8a2be2;
    transform: translateY(-7px);
    box-shadow: 0 22px 68px rgba(138, 43, 226, 0.45);
}

.hero-image {
    animation: quantumFadeIn 1.75s cubic-bezier(0.19, 1, 0.22, 1) 0.42s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(35px);
    padding: 3.85rem;
    box-shadow: 
        0 0 0 3px rgba(138, 43, 226, 0.22),
        0 35px 105px rgba(10, 14, 39, 0.18);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 35%, #8a2be2 65%, #4b0082 100%);
}

.profile-card::after {
    content: '◊';
    position: absolute;
    bottom: 48px;
    right: 48px;
    font-size: 8.15rem;
    color: rgba(138, 43, 226, 0.055);
}

.profile-card:hover {
    transform: translateY(-22px) scale(1.032);
    box-shadow: 
        0 0 0 3px rgba(138, 43, 226, 0.42),
        0 52px 138px rgba(10, 14, 39, 0.28);
}

.profile-card img {
    width: 100%;
    margin-bottom: 3.15rem;
    box-shadow: 0 28px 75px rgba(10, 14, 39, 0.22);
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.55rem;
    margin-bottom: 1.25rem;
    color: #0a0e27;
    font-weight: 800;
    letter-spacing: -0.65px;
    text-transform: uppercase;
}

.profile-details p {
    color: #2d1b4e;
    margin-bottom: 3.25rem;
    line-height: 1.68;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.68rem 4.15rem;
    background: linear-gradient(135deg, #4b0082 0%, #8a2be2 100%);
    color: #faf9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.15px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    box-shadow: 0 20px 65px rgba(75, 0, 130, 0.42);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #3d0066 0%, #7b24d1 100%);
    transform: translateY(-6px);
    box-shadow: 0 28px 82px rgba(75, 0, 130, 0.58);
}

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

.container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 4.8rem;
}

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

.section-header::before {
    content: '◊ ◊ ◊';
    position: absolute;
    top: -78px;
    left: 50%;
    transform: translateX(-50%);
    color: #8a2be2;
    font-size: 1.48rem;
    letter-spacing: 3.85rem;
    opacity: 0.68;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.35rem;
    font-weight: 900;
    line-height: 1.15;
    color: #0a0e27;
    letter-spacing: -1.45px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2 0%, #4b0082 50%, #8a2be2 100%);
}

#experience {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(22px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 348px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #8a2be2 0%, #4b0082 50%, #8a2be2 100%);
}

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

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 8.85rem;
    font-weight: 900;
    color: rgba(138, 43, 226, 0.18);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 7.85rem;
    letter-spacing: -4.15px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -148px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #8a2be2;
    box-shadow: 
        0 0 0 12px rgba(250, 249, 255, 1),
        0 0 0 16px rgba(138, 43, 226, 0.32);
    animation: quantumOrbit 6.2s ease-in-out infinite;
}

@keyframes quantumOrbit {
    0%, 100% {
        box-shadow: 
            0 0 0 12px rgba(250, 249, 255, 1),
            0 0 0 16px rgba(138, 43, 226, 0.32);
        transform: translateY(-50%) rotate(45deg) scale(1);
    }
    50% {
        box-shadow: 
            0 0 0 12px rgba(250, 249, 255, 1),
            0 0 0 32px rgba(138, 43, 226, 0.48);
        transform: translateY(-50%) rotate(45deg) scale(1.42);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 4.35rem;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 82px rgba(10, 14, 39, 0.14);
    position: relative;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    border-left: 3px solid rgba(138, 43, 226, 0.32);
}

.timeline-content:hover {
    transform: translateX(22px);
    box-shadow: 0 38px 108px rgba(10, 14, 39, 0.22);
    border-left-color: #8a2be2;
    background: rgba(255, 255, 255, 0.98);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.25rem;
    margin-bottom: 1.08rem;
    color: #0a0e27;
    font-weight: 800;
    letter-spacing: -0.58px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: #8a2be2;
    font-size: 1.58rem;
    margin-bottom: 2.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.15px;
}

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

.timeline-content a {
    color: #4b0082;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

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

#ai {
    background: rgba(244, 240, 255, 0.62);
    backdrop-filter: blur(22px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 5.65rem;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 28px 88px rgba(10, 14, 39, 0.15);
    clip-path: polygon(1.5% 0%, 100% 0%, 98.5% 100%, 0% 100%);
    border-top: 6px solid #8a2be2;
}

.project-card::after {
    content: '◊';
    position: absolute;
    top: 58px;
    right: 58px;
    font-size: 8.85rem;
    color: rgba(138, 43, 226, 0.045);
}

.project-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 45px 125px rgba(10, 14, 39, 0.22);
    background: rgba(255, 255, 255, 0.98);
}

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

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.35rem;
    color: #0a0e27;
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.85px;
    text-transform: uppercase;
}

.project-client {
    color: #8a2be2;
    font-weight: 700;
    font-size: 1.55rem;
    margin-bottom: 3.55rem;
    text-transform: uppercase;
    letter-spacing: 1.25px;
}

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

.project-impact {
    background: rgba(138, 43, 226, 0.08);
    padding: 3.15rem;
    color: #0a0e27;
    line-height: 1.75;
    clip-path: polygon(1.5% 0%, 100% 0%, 98.5% 100%, 0% 100%);
    border-left: 6px solid #4b0082;
}

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

#speaking {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(22px);
}

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 4.75rem;
    transition: all 0.58s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 82px rgba(10, 14, 39, 0.14);
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    position: relative;
    border-top: 3px solid rgba(138, 43, 226, 0.32);
}

.year-section:hover {
    transform: translateY(-18px);
    box-shadow: 0 38px 108px rgba(10, 14, 39, 0.22);
    border-top-color: #8a2be2;
    background: rgba(255, 255, 255, 0.98);
}

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.65rem;
    margin-bottom: 4.15rem;
    color: #0a0e27;
    text-align: center;
    padding-bottom: 3.15rem;
    border-bottom: 3px solid rgba(138, 43, 226, 0.22);
    font-weight: 900;
    letter-spacing: -1.05px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    border-top-color: #7b24d1;
}

.year-section.books h3 {
    color: #faf9ff;
    border-bottom-color: rgba(250, 249, 255, 0.28);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.15rem 0;
    color: #2d1b4e;
    border-bottom: 3px solid rgba(10, 14, 39, 0.08);
    line-height: 1.75;
    position: relative;
    padding-left: 3.85rem;
}

.achievements li::before {
    content: '◊';
    position: absolute;
    left: 0;
    top: 2.15rem;
    color: #8a2be2;
    font-size: 1.55rem;
}

.year-section.books .achievements li {
    color: rgba(250, 249, 255, 0.98);
    border-bottom-color: rgba(250, 249, 255, 0.22);
}

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

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

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

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

#personal {
    background: rgba(244, 240, 255, 0.62);
    backdrop-filter: blur(22px);
}

#contact {
    background: rgba(138, 43, 226, 0.065);
    backdrop-filter: blur(22px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(42px);
    padding: 9.15rem 8.25rem;
    text-align: center;
    box-shadow: 0 48px 135px rgba(10, 14, 39, 0.18);
    max-width: 1480px;
    margin: 0 auto;
    clip-path: polygon(1.5% 0%, 100% 0%, 98.5% 100%, 0% 100%);
    border: 3px solid rgba(138, 43, 226, 0.28);
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 7.15rem;
    margin-bottom: 4.15rem;
    color: #0a0e27;
    font-weight: 900;
    letter-spacing: -1.45px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.82rem;
    color: #2d1b4e;
    line-height: 1.75;
    margin-bottom: 6.85rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.45rem;
    padding: 2.45rem 5.65rem;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: #faf9ff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.15px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    box-shadow: 0 25px 82px rgba(138, 43, 226, 0.42);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #7b24d1 0%, #3d0066 100%);
    transform: translateY(-7px);
    box-shadow: 0 35px 105px rgba(138, 43, 226, 0.58);
}

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

#footer {
    background: #0a0e27;
    padding: 6.85rem 0;
    text-align: center;
    color: rgba(250, 249, 255, 0.75);
    border-top: 3px solid rgba(138, 43, 226, 0.42);
}

#footer a {
    color: #8a2be2;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-weight: 700;
}

#footer a:hover {
    color: #4b0082;
}

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

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

    .hero-image {
        max-width: 685px;
        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 3.45rem;
        height: 82px;
    }

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

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 255, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 4.75rem;
        gap: 0;
        box-shadow: 0 35px 92px rgba(10, 14, 39, 0.18);
        transform: translateY(-150%);
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        border-bottom: 2px solid rgba(138, 43, 226, 0.28);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.82rem;
        border-bottom: 1px solid rgba(10, 14, 39, 0.08);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4.75rem;
        margin-bottom: 7.75rem;
        padding-left: 9.85rem;
    }

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

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

    .contact-card {
        padding: 7.25rem 5.85rem;
    }
}

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

    .nav-container {
        padding: 0 3.05rem;
        height: 76px;
    }

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

    #hero {
        padding: 155px 0 115px;
    }

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

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

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

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

    section {
        padding: 115px 0;
    }

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

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

    .profile-card {
        padding: 3.05rem;
    }

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

    .timeline-content {
        padding: 3.55rem;
    }

    .project-card {
        padding: 4.75rem 3.55rem;
    }

    .contact-card {
        padding: 6.45rem 3.55rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.85rem 3.55rem;
        font-size: 1.12rem;
    }
}