/* Theme: Yacht - Day 25 (Letter Y): Inspired by maritime luxury, nautical elegance, ocean waves, sailing craftsmanship, regatta sophistication, coastal serenity, marine navigation, seafaring adventure, pristine harbors, nautical design */

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

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

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 17.8px;
    line-height: 1.78;
    color: #1a2a3a;
    background: linear-gradient(165deg, #f8fbfd 0%, #f0f7fa 28%, #e8f3f7 52%, #f2f8fb 76%, #fafcfd 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 18% 25%, rgba(42, 116, 165, 0.045) 0%, transparent 52%),
        radial-gradient(circle at 82% 75%, rgba(64, 145, 190, 0.038) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 48px,
            rgba(42, 116, 165, 0.012) 48px,
            rgba(42, 116, 165, 0.012) 49px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 48px,
            rgba(42, 116, 165, 0.012) 48px,
            rgba(42, 116, 165, 0.012) 49px
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.48;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 251, 253, 0.92);
    backdrop-filter: blur(28px);
    border-bottom: 2px solid rgba(42, 116, 165, 0.15);
    box-shadow: 0 6px 32px rgba(26, 42, 58, 0.085);
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#topnav.scrolled {
    background: rgba(248, 251, 253, 0.97);
    box-shadow: 0 10px 45px rgba(26, 42, 58, 0.135);
    border-bottom-color: rgba(42, 116, 165, 0.28);
}

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

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.05rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    letter-spacing: 0.95px;
    position: relative;
    padding-left: 3.75rem;
}

.logo h1::before {
    content: '⚓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 2.55rem;
    color: #2a74a5;
    animation: yachtAnchor 7.5s ease-in-out infinite;
}

@keyframes yachtAnchor {
    0%, 100% {
        transform: translateY(-50%) rotate(-5deg);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-50%) rotate(5deg);
        opacity: 1;
    }
}

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

.nav-menu li a {
    display: block;
    padding: 1.05rem 2.35rem;
    color: #1a2a3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2a74a5 0%, #4091be 100%);
    transition: width 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: calc(100% - 4.7rem);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2a74a5;
    background: rgba(42, 116, 165, 0.045);
    border-color: rgba(42, 116, 165, 0.18);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
    border: none;
    color: #f8fbfd;
    font-size: 1.95rem;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 6px;
    box-shadow: 0 12px 38px rgba(42, 116, 165, 0.32);
}

.mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(42, 116, 165, 0.42);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -58%;
    right: -35%;
    width: 1250px;
    height: 1250px;
    background: radial-gradient(circle, rgba(42, 116, 165, 0.095) 0%, transparent 68%);
    animation: yachtWaves 62s ease-in-out infinite;
    border-radius: 48%;
    filter: blur(72px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -52%;
    left: -32%;
    width: 1180px;
    height: 1180px;
    background: radial-gradient(circle, rgba(64, 145, 190, 0.082) 0%, transparent 68%);
    animation: yachtWaves 72s ease-in-out infinite reverse;
    border-radius: 52%;
    filter: blur(72px);
}

@keyframes yachtWaves {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.72;
    }
    25% {
        transform: translate(85px, -72px) scale(1.18) rotate(5deg);
        opacity: 0.92;
    }
    50% {
        transform: translate(-58px, 92px) scale(0.88) rotate(-5deg);
        opacity: 0.78;
    }
    75% {
        transform: translate(105px, 52px) scale(1.08) rotate(3deg);
        opacity: 0.88;
    }
}

.hero-content {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4.45rem;
    display: grid;
    grid-template-columns: 1.52fr 1fr;
    gap: 9.25rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: yachtSail 1.62s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s both;
}

@keyframes yachtSail {
    0% {
        opacity: 0;
        transform: translateX(-95px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6.55rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 3.65rem;
    color: #1a2a3a;
    letter-spacing: -1.85px;
}

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

.hero-subtitle {
    font-size: 1.82rem;
    color: #3a5060;
    margin-bottom: 5.05rem;
    line-height: 1.68;
    font-weight: 400;
    letter-spacing: 0.35px;
}

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

.btn {
    display: inline-block;
    padding: 1.68rem 4.65rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.05rem;
    letter-spacing: 1.35px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
    transition: left 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
    color: #f8fbfd;
    box-shadow: 0 18px 58px rgba(42, 116, 165, 0.38);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 72px rgba(42, 116, 165, 0.52);
    background: linear-gradient(135deg, #235f89 0%, #357ba5 100%);
}

.btn-secondary {
    background: rgba(248, 251, 253, 0.98);
    color: #2a74a5;
    border: 2px solid #2a74a5;
    box-shadow: 0 15px 48px rgba(42, 116, 165, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
    color: #f8fbfd;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 22px 62px rgba(42, 116, 165, 0.42);
}

.hero-image {
    animation: yachtSail 1.62s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.38s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(32px);
    padding: 3.65rem;
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.12),
        0 32px 98px rgba(26, 42, 58, 0.18);
    transition: all 0.62s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border-radius: 8px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 50%, #2a74a5 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.62s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-card::after {
    content: '⛵';
    position: absolute;
    bottom: 62px;
    right: 62px;
    font-size: 8.25rem;
    opacity: 0.048;
    color: #2a74a5;
}

.profile-card:hover {
    transform: translateY(-18px) scale(1.028);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.28),
        0 48px 138px rgba(26, 42, 58, 0.28);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 3.25rem;
    box-shadow: 0 28px 85px rgba(26, 42, 58, 0.22);
    border-radius: 6px;
}

.profile-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.45rem;
    margin-bottom: 1.28rem;
    color: #1a2a3a;
    font-weight: 700;
    letter-spacing: -0.55px;
}

.profile-details p {
    color: #3a5060;
    margin-bottom: 3.45rem;
    line-height: 1.68;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.68rem 4.25rem;
    background: linear-gradient(135deg, #4091be 0%, #5aa8ce 100%);
    color: #f8fbfd;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.35px;
    transition: all 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 6px;
    box-shadow: 0 18px 58px rgba(64, 145, 190, 0.38);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.social-links a:hover {
    background: linear-gradient(135deg, #357ba5 0%, #4a96ba 100%);
    transform: translateY(-5px);
    box-shadow: 0 26px 72px rgba(64, 145, 190, 0.52);
}

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

.container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4.45rem;
}

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

.section-header::before {
    content: '~ ~ ~';
    position: absolute;
    top: -82px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.05rem;
    letter-spacing: 2.85rem;
    opacity: 0.45;
    color: #2a74a5;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 6.05rem;
    font-weight: 800;
    line-height: 1.12;
    color: #1a2a3a;
    letter-spacing: -1.55px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 185px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #2a74a5 50%, transparent 100%);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 385px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #2a74a5 0%, #4091be 50%, #2a74a5 100%);
    opacity: 0.35;
}

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

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 9.05rem;
    font-weight: 800;
    color: rgba(42, 116, 165, 0.12);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 8.25rem;
    letter-spacing: -4.25px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -165px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 8px rgba(248, 251, 253, 1),
        0 0 0 10px rgba(42, 116, 165, 0.18),
        0 0 22px rgba(42, 116, 165, 0.32);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 4.65rem;
    transition: all 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.08),
        0 28px 88px rgba(26, 42, 58, 0.15);
    position: relative;
    border-radius: 6px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2a74a5 0%, #4091be 100%);
    opacity: 0;
    transition: opacity 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content:hover {
    transform: translateX(22px);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.22),
        0 42px 115px rgba(26, 42, 58, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

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

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.35rem;
    margin-bottom: 1.12rem;
    color: #1a2a3a;
    font-weight: 700;
    letter-spacing: -0.55px;
}

.timeline-content h4 {
    color: #2a74a5;
    font-size: 1.68rem;
    margin-bottom: 2.68rem;
    font-weight: 600;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #3a5060;
    line-height: 1.78;
    margin: 0;
}

.timeline-content a {
    color: #4091be;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content a:hover {
    border-bottom-color: #4091be;
    color: #2a74a5;
}

#ai {
    background: rgba(240, 247, 250, 0.62);
    backdrop-filter: blur(18px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 6.25rem;
    transition: all 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.08),
        0 32px 98px rgba(26, 42, 58, 0.16);
    border-radius: 8px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2a74a5 0%, #4091be 50%, #2a74a5 100%);
    border-radius: 8px 8px 0 0;
}

.project-card::after {
    content: '⚓';
    position: absolute;
    top: 72px;
    right: 72px;
    font-size: 9.05rem;
    opacity: 0.042;
    color: #2a74a5;
}

.project-card:hover {
    transform: translateY(-16px);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.18),
        0 48px 135px rgba(26, 42, 58, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

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

.project-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 4.65rem;
    color: #1a2a3a;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.85px;
}

.project-client {
    color: #2a74a5;
    font-weight: 700;
    font-size: 1.68rem;
    margin-bottom: 3.75rem;
    letter-spacing: 0.85px;
    text-transform: uppercase;
}

.project-card > p {
    color: #3a5060;
    line-height: 1.78;
    margin-bottom: 4.45rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(42, 116, 165, 0.055) 0%, rgba(64, 145, 190, 0.055) 100%);
    padding: 3.35rem;
    color: #1a2a3a;
    line-height: 1.78;
    border-radius: 6px;
    border-left: 6px solid #2a74a5;
}

.project-impact strong {
    color: #4091be;
    font-weight: 700;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    padding: 5.15rem;
    transition: all 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.08),
        0 28px 88px rgba(26, 42, 58, 0.15);
    border-radius: 6px;
    position: relative;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2a74a5 0%, #4091be 100%);
    border-radius: 6px 6px 0 0;
    opacity: 0.35;
    transition: opacity 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.year-section:hover {
    transform: translateY(-16px);
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.18),
        0 42px 115px rgba(26, 42, 58, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

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

.year-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 5.85rem;
    margin-bottom: 4.45rem;
    color: #1a2a3a;
    text-align: center;
    padding-bottom: 3.35rem;
    border-bottom: 2px solid rgba(42, 116, 165, 0.15);
    font-weight: 700;
    letter-spacing: -0.95px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
}

.year-section.books::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.year-section.books h3 {
    color: #f8fbfd;
    border-bottom-color: rgba(248, 251, 253, 0.25);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.22rem 0;
    color: #3a5060;
    border-bottom: 1px solid rgba(26, 42, 58, 0.065);
    line-height: 1.78;
    position: relative;
    padding-left: 4.05rem;
}

.achievements li::before {
    content: '⚓';
    position: absolute;
    left: 0;
    top: 2.22rem;
    font-size: 1.68rem;
    color: #2a74a5;
}

.year-section.books .achievements li {
    color: rgba(248, 251, 253, 0.96);
    border-bottom-color: rgba(248, 251, 253, 0.18);
}

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

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

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

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

#personal {
    background: rgba(240, 247, 250, 0.62);
    backdrop-filter: blur(18px);
}

#contact {
    background: linear-gradient(135deg, rgba(42, 116, 165, 0.048) 0%, rgba(64, 145, 190, 0.048) 100%);
    backdrop-filter: blur(18px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(42px);
    padding: 9.45rem 8.65rem;
    text-align: center;
    box-shadow: 
        0 0 0 1px rgba(42, 116, 165, 0.12),
        0 48px 145px rgba(26, 42, 58, 0.19);
    max-width: 1480px;
    margin: 0 auto;
    border-radius: 8px;
}

.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 7.25rem;
    margin-bottom: 4.45rem;
    color: #1a2a3a;
    font-weight: 800;
    letter-spacing: -1.45px;
}

.contact-card > p {
    font-size: 1.92rem;
    color: #3a5060;
    line-height: 1.78;
    margin-bottom: 7.45rem;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.68rem;
    padding: 2.68rem 6.25rem;
    background: linear-gradient(135deg, #2a74a5 0%, #4091be 100%);
    color: #f8fbfd;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.35px;
    transition: all 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 6px;
    box-shadow: 0 28px 88px rgba(42, 116, 165, 0.38);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.contact-link:hover {
    background: linear-gradient(135deg, #235f89 0%, #357ba5 100%);
    transform: translateY(-8px);
    box-shadow: 0 42px 115px rgba(42, 116, 165, 0.52);
}

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

#footer {
    background: #1a2a3a;
    padding: 7.45rem 0;
    text-align: center;
    color: rgba(248, 251, 253, 0.68);
    border-top: 2px solid rgba(42, 116, 165, 0.28);
}

#footer a {
    color: #4091be;
    text-decoration: none;
    transition: color 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 700;
}

#footer a:hover {
    color: #5aa8ce;
}

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(248, 251, 253, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 5.15rem;
        gap: 0;
        box-shadow: 0 38px 95px rgba(26, 42, 58, 0.19);
        transform: translateY(-150%);
        transition: transform 0.62s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-bottom: 2px solid rgba(42, 116, 165, 0.25);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.88rem;
        border-bottom: 1px solid rgba(26, 42, 58, 0.065);
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5.15rem;
        margin-bottom: 8.25rem;
        padding-left: 10.65rem;
    }

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

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

    .contact-card {
        padding: 7.75rem 6.25rem;
    }
}

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

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

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

    #hero {
        padding: 154px 0 124px;
    }

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

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

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

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

    section {
        padding: 124px 0;
    }

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

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

    .profile-card {
        padding: 3.15rem;
    }

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

    .timeline-content {
        padding: 3.85rem;
    }

    .project-card {
        padding: 5.15rem 3.85rem;
    }

    .contact-card {
        padding: 6.95rem 3.85rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.88rem 3.85rem;
        font-size: 1.05rem;
    }
}