/* Theme: Quantum - Futuristic tech with neon blues, electric purples, and cyber aesthetics */

@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: 70px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: #e0e7ff;
    background: #0a0e27;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(125deg, #0a0e27 0%, #1a1f3a 25%, #0f1729 50%, #1e2747 75%, #0a0e27 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 229, 255, 0.03) 2px, rgba(0, 229, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(138, 43, 226, 0.03) 2px, rgba(138, 43, 226, 0.03) 4px);
    z-index: -1;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, #00e5ff 50%, transparent) 1;
    box-shadow: 0 4px 30px rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
}

#topnav.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.3);
}

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

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #00e5ff;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8), 0 0 40px rgba(0, 229, 255, 0.4);
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e5ff, transparent);
}

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

.nav-menu li a {
    display: block;
    padding: 0.6rem 1.4rem;
    color: #a0aec0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid #00e5ff;
    color: #00e5ff;
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.mobile-toggle:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

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

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

#hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: quantumFloat 20s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes quantumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -70px) scale(1.1);
    }
    66% {
        transform: translate(-40px, 40px) scale(0.9);
    }
}

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

.hero-text {
    animation: glitchIn 0.8s ease-out;
}

@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: translateX(-80px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px rgba(0, 229, 255, 0.8),
        0 0 20px rgba(0, 229, 255, 0.6),
        0 0 30px rgba(0, 229, 255, 0.4),
        2px 2px 0 rgba(138, 43, 226, 0.3);
    position: relative;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    color: #8892b0;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

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

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #00e5ff 0%, #8a2be2 100%);
    color: #0a0e27;
    border: 2px solid transparent;
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.4),
        0 8px 25px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.6),
        0 12px 35px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00e5ff;
    border: 2px solid #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.hero-image {
    animation: digitalMaterialize 1s ease-out 0.3s both;
}

@keyframes digitalMaterialize {
    0% {
        opacity: 0;
        transform: scale(0.7) rotateY(45deg);
        filter: blur(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: blur(0);
    }
}

.profile-card {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(20px) saturate(150%);
    padding: 2rem;
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 80px rgba(0, 229, 255, 0.05);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(0, 229, 255, 0.5), rgba(138, 43, 226, 0.5)) 1;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

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

.profile-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 0 60px rgba(0, 229, 255, 0.4),
        0 30px 80px rgba(0, 0, 0, 0.6);
}

.profile-card img {
    width: 100%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 229, 255, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
}

.profile-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00e5ff;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

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

.social-links a {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #00e5ff 0%, #8a2be2 100%);
    color: #0a0e27;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    text-transform: uppercase;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00e5ff 20%, #8a2be2 50%, #00e5ff 80%, transparent);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(0, 229, 255, 0.8),
        0 0 40px rgba(0, 229, 255, 0.4),
        2px 2px 0 rgba(138, 43, 226, 0.3);
}

#experience {
    background: rgba(26, 31, 58, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(0, 229, 255, 0.03) 100px, rgba(0, 229, 255, 0.03) 101px);
    pointer-events: none;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00e5ff 0%, #8a2be2 50%, #00e5ff 100%);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

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

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00e5ff;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -55px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00e5ff 0%, #8a2be2 100%);
    border: 4px solid rgba(10, 14, 39, 0.9);
    box-shadow: 
        0 0 0 6px rgba(0, 229, 255, 0.3),
        0 0 20px rgba(0, 229, 255, 0.6);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.timeline-content {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(138, 43, 226, 0.3)) 1;
    transition: all 0.4s ease;
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00e5ff, #8a2be2);
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateX(15px);
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.3),
        0 15px 50px rgba(0, 0, 0, 0.4);
}

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

.timeline-content h4 {
    color: #00e5ff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

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

.timeline-content a {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.timeline-content a:hover {
    border-bottom-color: #00e5ff;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

#ai {
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.4) 0%, rgba(26, 31, 58, 0.2) 100%);
    backdrop-filter: blur(20px);
}

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

.project-card {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(0, 229, 255, 0.4), rgba(138, 43, 226, 0.4)) 1;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.1),
        0 15px 50px rgba(0, 0, 0, 0.4);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00e5ff 0%, #8a2be2 50%, #00e5ff 100%);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 50px rgba(0, 229, 255, 0.3),
        0 25px 70px rgba(0, 0, 0, 0.5);
}

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

.project-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.project-client {
    color: #00e5ff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.project-card > p {
    color: #8892b0;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: rgba(0, 229, 255, 0.08);
    padding: 1.8rem;
    border-left: 4px solid #00e5ff;
    color: #a0aec0;
    line-height: 1.75;
    box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.project-impact strong {
    color: #00e5ff;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

#speaking {
    background: rgba(26, 31, 58, 0.3);
    backdrop-filter: blur(20px);
}

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

.year-section {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(15px);
    padding: 2.8rem;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(138, 43, 226, 0.3)) 1;
    transition: all 0.4s ease;
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
}

.year-section:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.year-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #00e5ff;
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 2px solid rgba(0, 229, 255, 0.5);
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.2),
        0 15px 50px rgba(0, 0, 0, 0.4);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1rem 0;
    color: #8892b0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    line-height: 1.75;
    position: relative;
    padding-left: 2.5rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

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

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

#personal {
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.3) 0%, rgba(26, 31, 58, 0.4) 100%);
    backdrop-filter: blur(20px);
}

#contact {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(20px);
}

.contact-card {
    background: rgba(26, 31, 58, 0.7);
    backdrop-filter: blur(20px);
    padding: 5.5rem 4.5rem;
    text-align: center;
    box-shadow: 
        0 0 50px rgba(0, 229, 255, 0.2),
        0 30px 80px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(0, 229, 255, 0.5), rgba(138, 43, 226, 0.5)) 1;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e5ff 20%, #8a2be2 50%, #00e5ff 80%, transparent);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.contact-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.6rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(0, 229, 255, 0.8),
        0 0 40px rgba(0, 229, 255, 0.4);
}

.contact-card > p {
    font-size: 1.3rem;
    color: #8892b0;
    line-height: 1.75;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem 3rem;
    background: linear-gradient(135deg, #00e5ff 0%, #8a2be2 100%);
    color: #0a0e27;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.4),
        0 10px 35px rgba(0, 229, 255, 0.3);
    position: relative;
    overflow: hidden;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

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

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

.contact-link:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.6),
        0 15px 45px rgba(0, 229, 255, 0.4);
}

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

#footer {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem 0;
    text-align: center;
    color: #5a6b8c;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, #00e5ff 50%, transparent) 1;
    box-shadow: 0 -5px 30px rgba(0, 229, 255, 0.2);
}

#footer a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

#footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

@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: 65px;
    }

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

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 2.5rem;
        gap: 0;
        box-shadow: 0 20px 50px rgba(0, 229, 255, 0.3);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 2px solid rgba(0, 229, 255, 0.5);
    }

    .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(0, 229, 255, 0.1);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

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

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

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

    .nav-container {
        padding: 0 1.5rem;
        height: 60px;
    }

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

    #hero {
        padding: 100px 0 70px;
    }

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

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

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

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

    section {
        padding: 75px 0;
    }

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

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

    .profile-card {
        padding: 1.8rem;
    }

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

    .timeline-content {
        padding: 2rem;
    }

    .project-card {
        padding: 2.5rem 2rem;
    }

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

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

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

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