/* Theme: Steampunk - Day 19, letter S: Inspired by Victorian-era industrial design, brass gears, copper pipes, clockwork mechanisms, ornate metalwork, vintage machinery, riveted metal plates, pressure gauges, leather accents, warm metallic tones */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Crimson+Text:wght@400;600;700&display=swap');

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

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

body {
    font-family: 'Crimson Text', serif;
    font-size: 19px;
    line-height: 1.8;
    color: #2a1810;
    background: #f5ebe0;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(139, 90, 43, 0.03) 2px, rgba(139, 90, 43, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent 0px, transparent 2px, rgba(101, 67, 33, 0.03) 2px, rgba(101, 67, 33, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(184, 115, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(101, 67, 33, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #2a1810 0%, #3d2817 100%);
    border-bottom: 4px solid #b87333;
    box-shadow: 
        0 2px 0 #654321,
        0 8px 32px rgba(42, 24, 16, 0.6),
        inset 0 1px 0 rgba(184, 115, 51, 0.3);
    transition: all 0.4s ease;
}

#topnav.scrolled {
    box-shadow: 
        0 2px 0 #654321,
        0 12px 48px rgba(42, 24, 16, 0.8),
        inset 0 1px 0 rgba(184, 115, 51, 0.3);
}

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

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #f5ebe0;
    margin: 0;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 
        2px 2px 0 #654321,
        0 0 20px rgba(184, 115, 51, 0.5);
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #b87333 0%, #654321 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

.nav-menu li a {
    display: block;
    padding: 1.2rem 2.2rem;
    color: #f5ebe0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    background: linear-gradient(180deg, rgba(101, 67, 33, 0.3) 0%, rgba(61, 40, 23, 0.3) 100%);
    box-shadow: inset 0 1px 0 rgba(184, 115, 51, 0.2);
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.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: 200%;
    height: 200%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    border-color: #654321;
    box-shadow: 
        inset 0 1px 0 rgba(245, 235, 224, 0.2),
        0 0 15px rgba(184, 115, 51, 0.5);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 100%);
    border: 3px solid #654321;
    color: #f5ebe0;
    font-size: 2rem;
    width: 65px;
    height: 65px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 4px 0 #654321,
        0 8px 20px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.mobile-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #654321,
        0 12px 28px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

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

#hero::before {
    content: '⚙';
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 28rem;
    opacity: 0.04;
    color: #8b5a2b;
    animation: gearRotate 60s linear infinite;
}

#hero::after {
    content: '⚙';
    position: absolute;
    bottom: 8%;
    left: 3%;
    font-size: 22rem;
    opacity: 0.04;
    color: #654321;
    animation: gearRotate 80s linear infinite reverse;
}

@keyframes gearRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.hero-text {
    animation: steamRise 1.2s ease-out;
}

@keyframes steamRise {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 5.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3.5rem;
    color: #2a1810;
    letter-spacing: 2px;
    text-shadow: 
        3px 3px 0 rgba(184, 115, 51, 0.2),
        6px 6px 0 rgba(101, 67, 33, 0.1);
}

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

.hero-subtitle {
    font-size: 1.6rem;
    color: #654321;
    margin-bottom: 4.5rem;
    line-height: 1.8;
    font-weight: 600;
    letter-spacing: 1px;
    border-left: 5px solid #b87333;
    padding-left: 2rem;
    box-shadow: -2px 0 0 #654321;
}

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

.btn {
    display: inline-block;
    padding: 1.8rem 4.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Cinzel', serif;
    border: 3px solid #654321;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid rgba(184, 115, 51, 0.3);
    transition: all 0.4s ease;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 100%);
    color: #f5ebe0;
    box-shadow: 
        0 6px 0 #654321,
        0 10px 30px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 9px 0 #654321,
        0 15px 40px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.btn-primary:hover::before {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
}

.btn-secondary {
    background: #f5ebe0;
    color: #2a1810;
    box-shadow: 
        0 6px 0 #b87333,
        0 10px 30px rgba(42, 24, 16, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #d4a574 0%, #b87333 100%);
    color: #f5ebe0;
    transform: translateY(-3px);
    box-shadow: 
        0 9px 0 #654321,
        0 15px 40px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.hero-image {
    animation: steamRise 1.2s ease-out 0.3s both;
}

.profile-card {
    background: linear-gradient(180deg, #f5ebe0 0%, #e8dcc8 100%);
    padding: 3.5rem;
    box-shadow: 
        0 0 0 4px #654321,
        0 0 0 8px #b87333,
        8px 8px 0 8px rgba(101, 67, 33, 0.3),
        0 20px 60px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    position: relative;
    border: 3px solid #8b5a2b;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed rgba(101, 67, 33, 0.3);
    pointer-events: none;
}

.profile-card::after {
    content: '⚙';
    position: absolute;
    top: -25px;
    right: -25px;
    font-size: 4rem;
    color: #b87333;
    text-shadow: 2px 2px 4px rgba(42, 24, 16, 0.3);
    animation: gearRotate 40s linear infinite;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 0 4px #654321,
        0 0 0 8px #b87333,
        12px 12px 0 8px rgba(101, 67, 33, 0.3),
        0 30px 80px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.5rem;
    border: 4px solid #654321;
    box-shadow: 
        inset 0 0 20px rgba(42, 24, 16, 0.2),
        0 8px 24px rgba(42, 24, 16, 0.3);
}

.profile-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #2a1810;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.social-links a {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 100%);
    color: #f5ebe0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border: 3px solid #654321;
    font-family: 'Cinzel', serif;
    box-shadow: 
        0 5px 0 #654321,
        0 8px 25px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 0 #654321,
        0 12px 35px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4.5rem;
}

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

.section-header::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #654321 0%, #b87333 50%, #654321 100%);
    box-shadow: 0 2px 0 rgba(184, 115, 51, 0.3);
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 5.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #2a1810;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-shadow: 
        3px 3px 0 rgba(184, 115, 51, 0.15),
        6px 6px 0 rgba(101, 67, 33, 0.08);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #b87333 0%, #654321 100%);
    box-shadow: 0 2px 8px rgba(42, 24, 16, 0.3);
}

#experience {
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.12) 0%, rgba(184, 115, 51, 0.08) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 280px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 50%, #654321 100%);
    box-shadow: 
        -2px 0 0 rgba(245, 235, 224, 0.3),
        2px 0 0 rgba(42, 24, 16, 0.3),
        0 0 20px rgba(184, 115, 51, 0.3);
}

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

.timeline-year {
    font-family: 'Cinzel', serif;
    font-size: 6.5rem;
    font-weight: 800;
    color: #b87333;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6rem;
    letter-spacing: 3px;
    text-shadow: 
        4px 4px 0 rgba(101, 67, 33, 0.2),
        8px 8px 0 rgba(42, 24, 16, 0.1);
}

.timeline-year::after {
    content: '⚙';
    position: absolute;
    right: -117px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    color: #b87333;
    text-shadow: 0 0 20px rgba(184, 115, 51, 0.5);
    animation: gearRotate 30s linear infinite;
}

.timeline-content {
    background: linear-gradient(180deg, #f5ebe0 0%, #e8dcc8 100%);
    padding: 4.5rem;
    transition: all 0.5s ease;
    box-shadow: 
        0 0 0 3px #654321,
        0 0 0 6px #b87333,
        6px 6px 0 6px rgba(101, 67, 33, 0.2),
        0 15px 45px rgba(42, 24, 16, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    border: 3px solid #8b5a2b;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px dashed rgba(101, 67, 33, 0.25);
    pointer-events: none;
}

.timeline-content:hover {
    transform: translateX(12px) translateY(-6px);
    box-shadow: 
        0 0 0 3px #654321,
        0 0 0 6px #b87333,
        10px 10px 0 6px rgba(101, 67, 33, 0.25),
        0 20px 60px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: #2a1810;
    font-weight: 700;
    letter-spacing: 2px;
}

.timeline-content h4 {
    color: #b87333;
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-content p {
    color: #654321;
    line-height: 1.8;
    margin: 0;
    font-weight: 600;
}

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

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

#ai {
    background: linear-gradient(180deg, rgba(139, 90, 43, 0.1) 0%, rgba(212, 165, 116, 0.12) 100%);
}

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

.project-card {
    background: linear-gradient(180deg, #f5ebe0 0%, #e8dcc8 100%);
    padding: 5.5rem;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 
        0 0 0 4px #654321,
        0 0 0 8px #b87333,
        8px 8px 0 8px rgba(101, 67, 33, 0.2),
        0 20px 60px rgba(42, 24, 16, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid #8b5a2b;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(90deg, #654321 0px, #654321 15px, #b87333 15px, #b87333 30px);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(90deg, #b87333 0px, #b87333 15px, #654321 15px, #654321 30px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 0 4px #654321,
        0 0 0 8px #b87333,
        12px 12px 0 8px rgba(101, 67, 33, 0.25),
        0 30px 80px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

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

.project-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 3.8rem;
    color: #2a1810;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-client {
    color: #b87333;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.project-card > p {
    color: #654321;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    font-weight: 600;
}

.project-impact {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.15) 0%, rgba(139, 90, 43, 0.1) 100%);
    padding: 3rem;
    color: #2a1810;
    line-height: 1.8;
    border: 3px solid #b87333;
    border-left-width: 8px;
    box-shadow: inset 0 2px 0 rgba(245, 235, 224, 0.3);
    position: relative;
}

.project-impact::before {
    content: '⚙';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.5rem;
    color: rgba(184, 115, 51, 0.2);
}

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

#speaking {
    background: linear-gradient(180deg, rgba(212, 165, 116, 0.12) 0%, rgba(139, 90, 43, 0.1) 100%);
}

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

.year-section {
    background: linear-gradient(180deg, #f5ebe0 0%, #e8dcc8 100%);
    padding: 4.5rem;
    transition: all 0.5s ease;
    box-shadow: 
        0 0 0 3px #654321,
        0 0 0 6px #b87333,
        6px 6px 0 6px rgba(101, 67, 33, 0.2),
        0 15px 45px rgba(42, 24, 16, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    border: 3px solid #8b5a2b;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(101, 67, 33, 0.2);
    pointer-events: none;
}

.year-section:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 0 0 3px #654321,
        0 0 0 6px #b87333,
        9px 9px 0 6px rgba(101, 67, 33, 0.25),
        0 20px 60px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.year-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 4.2rem;
    margin-bottom: 3.5rem;
    color: #2a1810;
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 4px solid #b87333;
    box-shadow: 0 4px 0 #654321;
    font-weight: 700;
    letter-spacing: 2px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(180deg, #8b5a2b 0%, #654321 100%);
    box-shadow: 
        0 0 0 4px #2a1810,
        0 0 0 8px #b87333,
        8px 8px 0 8px rgba(42, 24, 16, 0.3),
        0 20px 60px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(184, 115, 51, 0.3);
}

.year-section.books h3 {
    color: #f5ebe0;
    border-bottom-color: #b87333;
    box-shadow: 0 4px 0 rgba(184, 115, 51, 0.5);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2rem 0;
    color: #654321;
    border-bottom: 3px double rgba(101, 67, 33, 0.2);
    line-height: 1.8;
    position: relative;
    padding-left: 3.5rem;
    font-weight: 600;
}

.achievements li::before {
    content: '⚙';
    position: absolute;
    left: 0;
    top: 2rem;
    font-size: 1.5rem;
    color: #b87333;
}

.year-section.books .achievements li {
    color: rgba(245, 235, 224, 0.95);
    border-bottom-color: rgba(184, 115, 51, 0.3);
}

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(139, 90, 43, 0.1) 0%, rgba(212, 165, 116, 0.12) 100%);
}

#contact {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.15) 0%, rgba(101, 67, 33, 0.12) 100%);
}

.contact-card {
    background: linear-gradient(180deg, #f5ebe0 0%, #e8dcc8 100%);
    padding: 8rem 7rem;
    text-align: center;
    box-shadow: 
        0 0 0 5px #654321,
        0 0 0 10px #b87333,
        10px 10px 0 10px rgba(101, 67, 33, 0.2),
        0 30px 90px rgba(42, 24, 16, 0.4),
        inset 0 3px 0 rgba(255, 255, 255, 0.2);
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    border: 4px solid #8b5a2b;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(101, 67, 33, 0.2);
    pointer-events: none;
}

.contact-card::after {
    content: '⚙';
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 7rem;
    color: #b87333;
    text-shadow: 3px 3px 8px rgba(42, 24, 16, 0.3);
    animation: gearRotate 50s linear infinite;
}

.contact-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 6rem;
    margin-bottom: 3.5rem;
    color: #2a1810;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 
        3px 3px 0 rgba(184, 115, 51, 0.2),
        6px 6px 0 rgba(101, 67, 33, 0.1);
}

.contact-card > p {
    font-size: 1.6rem;
    color: #654321;
    line-height: 1.8;
    margin-bottom: 6rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.2rem 6rem;
    background: linear-gradient(180deg, #b87333 0%, #8b5a2b 100%);
    color: #f5ebe0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    border: 4px solid #654321;
    position: relative;
    font-family: 'Cinzel', serif;
    box-shadow: 
        0 7px 0 #654321,
        0 12px 35px rgba(42, 24, 16, 0.4),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(184, 115, 51, 0.3);
    transition: all 0.4s ease;
}

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 11px 0 #654321,
        0 18px 50px rgba(42, 24, 16, 0.5),
        inset 0 2px 0 rgba(245, 235, 224, 0.2);
}

.contact-link:hover::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
}

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

#footer {
    background: linear-gradient(180deg, #2a1810 0%, #1a1008 100%);
    padding: 6rem 0;
    text-align: center;
    color: rgba(245, 235, 224, 0.8);
    position: relative;
    border-top: 5px solid #b87333;
    box-shadow: 
        inset 0 5px 0 #654321,
        inset 0 7px 0 rgba(184, 115, 51, 0.3);
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, #654321 0px, #654321 20px, #b87333 20px, #b87333 40px);
}

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 95px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #2a1810 0%, #3d2817 100%);
        flex-direction: column;
        padding: 5rem;
        gap: 0;
        box-shadow: 
            0 8px 40px rgba(42, 24, 16, 0.8),
            inset 0 2px 0 rgba(184, 115, 51, 0.2);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 4px solid #b87333;
    }

    .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(184, 115, 51, 0.2);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

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

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

    .timeline-year::after {
        left: -117px;
        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: 90px;
    }

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

    #hero {
        padding: 150px 0 120px;
    }

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

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

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

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

    section {
        padding: 110px 0;
    }

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

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

    .profile-card {
        padding: 2.8rem;
    }

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

    .timeline-content {
        padding: 3.5rem;
    }

    .project-card {
        padding: 4.5rem 3.5rem;
    }

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

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

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

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