/* Theme: Volcano - Molten lava flows, volcanic rock textures, magma chambers, ash clouds, geothermal energy, obsidian glass */

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

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

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

body {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #1a0e08;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1412 15%, #2b1a14 30%, #3d251a 50%, #4d2e21 70%, #5c3828 90%, #6b412e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 85, 0, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(220, 50, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(180, 30, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: magmaGlow 18s ease-in-out infinite alternate;
}

@keyframes magmaGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255, 85, 0, 0.02) 80px, rgba(255, 85, 0, 0.02) 160px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 3px solid rgba(255, 85, 0, 0.4);
    box-shadow: 0 6px 32px rgba(255, 85, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#topnav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 45px rgba(255, 85, 0, 0.35);
    border-bottom-color: rgba(255, 85, 0, 0.6);
}

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

.logo h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    color: #ff5500;
    margin: 0;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, #ff5500 0%, #dc3200 100%);
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.7);
}

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

.nav-menu li a {
    display: block;
    padding: 1rem 1.9rem;
    color: #d4bfb8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Bebas Neue', cursive;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff5500 0%, #dc3200 100%);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.9);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 85, 0, 0.12);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ff5500;
    text-shadow: 0 0 18px rgba(255, 85, 0, 0.7);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    border: 3px solid #b41e00;
    color: #fff;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 28px rgba(255, 85, 0, 0.45);
}

.mobile-toggle:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 38px rgba(255, 85, 0, 0.65);
    background: linear-gradient(135deg, #dc3200 0%, #b41e00 100%);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.25) 0%, transparent 70%);
    border-radius: 42% 58% 47% 53%;
    animation: eruptionPulse 35s ease-in-out infinite;
    filter: blur(70px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -18%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(220, 50, 0, 0.22) 0%, transparent 70%);
    border-radius: 58% 42% 53% 47%;
    animation: eruptionPulse 42s ease-in-out infinite reverse;
    filter: blur(70px);
}

@keyframes eruptionPulse {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(60px, -70px) rotate(8deg) scale(1.15);
        opacity: 0.9;
    }
    50% {
        transform: translate(-40px, 50px) rotate(-8deg) scale(0.92);
        opacity: 0.65;
    }
    75% {
        transform: translate(30px, -30px) rotate(5deg) scale(1.05);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 7rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: lavaRise 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes lavaRise {
    0% {
        opacity: 0;
        transform: translateY(70px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    color: #ffe6d9;
    letter-spacing: 2px;
    text-shadow: 0 3px 35px rgba(255, 85, 0, 0.4);
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: #d4bfb8;
    margin-bottom: 3.8rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.8px;
}

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

.btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-family: 'Bebas Neue', cursive;
    border: 3px solid;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    color: #fff;
    box-shadow: 0 14px 40px rgba(255, 85, 0, 0.5);
    border-color: #b41e00;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(255, 85, 0, 0.7);
    background: linear-gradient(135deg, #dc3200 0%, #b41e00 100%);
}

.btn-secondary {
    background: transparent;
    color: #ff5500;
    border-color: #ff5500;
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 16px 45px rgba(255, 85, 0, 0.6);
}

.hero-image {
    animation: lavaRise 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.3s both;
}

.profile-card {
    background: rgba(26, 14, 8, 0.8);
    backdrop-filter: blur(32px);
    padding: 3rem;
    box-shadow: 
        0 28px 75px rgba(255, 85, 0, 0.35),
        inset 0 1px 0 rgba(255, 85, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    border: 2px solid rgba(255, 85, 0, 0.35);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff5500 0%, #dc3200 50%, #ff5500 100%);
    box-shadow: 0 0 18px rgba(255, 85, 0, 0.9);
}

.profile-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 40px 95px rgba(255, 85, 0, 0.5),
        inset 0 1px 0 rgba(255, 85, 0, 0.5);
    border-color: rgba(255, 85, 0, 0.7);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.5rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 85, 0, 0.45);
}

.profile-details h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.9rem;
    color: #ffe6d9;
    font-weight: 400;
    letter-spacing: 2px;
}

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

.social-links a {
    display: inline-block;
    padding: 1.3rem 3.2rem;
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 12px 36px rgba(255, 85, 0, 0.5);
    border: 3px solid #b41e00;
    font-family: 'Bebas Neue', cursive;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(255, 85, 0, 0.7);
    background: linear-gradient(135deg, #dc3200 0%, #b41e00 100%);
}

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

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3.5rem;
}

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

.section-header::before {
    content: '▲';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    color: #ff5500;
    opacity: 0.4;
    text-shadow: 0 0 25px rgba(255, 85, 0, 0.8);
}

.section-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 1.15;
    color: #ffe6d9;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-shadow: 0 3px 30px rgba(255, 85, 0, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #ff5500 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.8);
}

#experience {
    background: rgba(26, 14, 8, 0.4);
    backdrop-filter: blur(38px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 135px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #ff5500 0%, #dc3200 50%, #ff5500 100%);
    box-shadow: 0 0 18px rgba(255, 85, 0, 0.7);
}

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

.timeline-year {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.6rem;
    font-weight: 400;
    color: #ff5500;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 3rem;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(255, 85, 0, 0.6);
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -66px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ff5500;
    border: 6px solid rgba(10, 10, 10, 0.95);
    box-shadow: 
        0 0 0 10px rgba(255, 85, 0, 0.3),
        0 0 25px rgba(255, 85, 0, 0.9);
}

.timeline-content {
    background: rgba(26, 14, 8, 0.7);
    backdrop-filter: blur(22px);
    padding: 3.2rem;
    border-left: 6px solid #ff5500;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 14px 45px rgba(255, 85, 0, 0.25);
    border-top: 2px solid rgba(255, 85, 0, 0.25);
    border-right: 2px solid rgba(255, 85, 0, 0.25);
    border-bottom: 2px solid rgba(255, 85, 0, 0.25);
}

.timeline-content:hover {
    transform: translateX(18px);
    box-shadow: 0 24px 65px rgba(255, 85, 0, 0.4);
    border-left-width: 8px;
}

.timeline-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
    color: #ffe6d9;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.timeline-content h4 {
    color: #ff5500;
    font-size: 1.3rem;
    margin-bottom: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #d4bfb8;
    line-height: 1.9;
    margin: 0;
}

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

.timeline-content a:hover {
    border-bottom-color: #ff5500;
    text-shadow: 0 0 12px rgba(255, 85, 0, 0.7);
}

#ai {
    background: linear-gradient(180deg, rgba(43, 26, 20, 0.5) 0%, rgba(61, 37, 26, 0.5) 100%);
    backdrop-filter: blur(38px);
}

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

.project-card {
    background: rgba(26, 14, 8, 0.75);
    backdrop-filter: blur(22px);
    padding: 3.8rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 18px 60px rgba(255, 85, 0, 0.28);
    border: 2px solid rgba(255, 85, 0, 0.3);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #ff5500 0%, #dc3200 50%, #ff5500 100%);
    box-shadow: 0 0 18px rgba(255, 85, 0, 0.9);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 85px rgba(255, 85, 0, 0.45);
    border-color: rgba(255, 85, 0, 0.6);
}

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

.project-header h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.8rem;
    color: #ffe6d9;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.project-client {
    color: #ff5500;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 2.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-card > p {
    color: #d4bfb8;
    line-height: 1.9;
    margin-bottom: 2.8rem;
}

.project-impact {
    background: rgba(255, 85, 0, 0.18);
    padding: 2.2rem;
    border-left: 6px solid #ff5500;
    color: #ffe6d9;
    line-height: 1.9;
    border-top: 1px solid rgba(255, 85, 0, 0.2);
    border-right: 1px solid rgba(255, 85, 0, 0.2);
    border-bottom: 1px solid rgba(255, 85, 0, 0.2);
    box-shadow: inset 0 0 25px rgba(255, 85, 0, 0.12);
}

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

#speaking {
    background: rgba(26, 14, 8, 0.45);
    backdrop-filter: blur(38px);
}

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

.year-section {
    background: rgba(26, 14, 8, 0.75);
    backdrop-filter: blur(22px);
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 16px 55px rgba(255, 85, 0, 0.25);
    border: 2px solid rgba(255, 85, 0, 0.3);
}

.year-section:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 75px rgba(255, 85, 0, 0.4);
    border-color: rgba(255, 85, 0, 0.6);
}

.year-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.2rem;
    margin-bottom: 2.8rem;
    color: #ff5500;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 3px solid rgba(255, 85, 0, 0.35);
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(255, 85, 0, 0.5);
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    border: 3px solid #b41e00;
    box-shadow: 0 24px 70px rgba(255, 85, 0, 0.5);
}

.year-section.books h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.4rem 0;
    color: #d4bfb8;
    border-bottom: 1px solid rgba(255, 85, 0, 0.2);
    line-height: 1.9;
    position: relative;
    padding-left: 3rem;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff5500;
    font-size: 1.5rem;
    text-shadow: 0 0 12px rgba(255, 85, 0, 0.7);
}

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

.year-section.books .achievements li::before {
    color: #fff;
    text-shadow: none;
}

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(61, 37, 26, 0.4) 0%, rgba(77, 46, 33, 0.6) 100%);
    backdrop-filter: blur(38px);
}

#contact {
    background: rgba(26, 14, 8, 0.5);
    backdrop-filter: blur(38px);
}

.contact-card {
    background: rgba(26, 14, 8, 0.85);
    backdrop-filter: blur(28px);
    padding: 6.5rem 5.5rem;
    text-align: center;
    box-shadow: 0 36px 95px rgba(255, 85, 0, 0.35);
    max-width: 1150px;
    margin: 0 auto;
    border: 2px solid rgba(255, 85, 0, 0.4);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, transparent 0%, #ff5500 20%, #dc3200 50%, #ff5500 80%, transparent 100%);
    box-shadow: 0 0 25px rgba(255, 85, 0, 0.9);
}

.contact-card h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    margin-bottom: 2.8rem;
    color: #ffe6d9;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 0 3px 35px rgba(255, 85, 0, 0.4);
}

.contact-card > p {
    font-size: 1.45rem;
    color: #d4bfb8;
    line-height: 1.9;
    margin-bottom: 4.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.8rem 4rem;
    background: linear-gradient(135deg, #ff5500 0%, #dc3200 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 16px 50px rgba(255, 85, 0, 0.5);
    border: 3px solid #b41e00;
    position: relative;
    overflow: hidden;
    font-family: 'Bebas Neue', cursive;
}

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

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

.contact-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 65px rgba(255, 85, 0, 0.7);
    background: linear-gradient(135deg, #dc3200 0%, #b41e00 100%);
}

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

#footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1412 100%);
    backdrop-filter: blur(18px);
    padding: 4.2rem 0;
    text-align: center;
    color: rgba(212, 191, 184, 0.8);
    border-top: 3px solid rgba(255, 85, 0, 0.4);
}

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

#footer a:hover {
    color: #ffe6d9;
    text-shadow: 0 0 18px rgba(255, 85, 0, 0.7);
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 5.5rem;
        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 2.5rem;
        height: 92px;
    }

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

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 3.8rem;
        gap: 0;
        box-shadow: 0 28px 65px rgba(255, 85, 0, 0.35);
        transform: translateY(-150%);
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        border-bottom: 3px solid rgba(255, 85, 0, 0.4);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.6rem;
        border-bottom: 1px solid rgba(255, 85, 0, 0.2);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.8rem;
        margin-bottom: 5.2rem;
        padding-left: 6rem;
    }

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

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

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

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

    .nav-container {
        padding: 0 2rem;
        height: 84px;
    }

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

    #hero {
        padding: 125px 0 95px;
    }

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

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

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

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

    section {
        padding: 95px 0;
    }

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

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

    .profile-card {
        padding: 2.6rem;
    }

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

    .timeline-content {
        padding: 2.8rem;
    }

    .project-card {
        padding: 3.2rem 2.6rem;
    }

    .contact-card {
        padding: 5rem 2.6rem;
    }

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

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

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