/* Theme: Xylophone - Day 24 (Letter X): Inspired by musical instruments, harmonic vibrations, colorful bars, rhythmic patterns, melodic sequences, percussion aesthetics, sound waves, musical notation, orchestral beauty, symphonic design */

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

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

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 18.5px;
    line-height: 1.78;
    color: #1a1a1a;
    background: linear-gradient(170deg, #fffef9 0%, #fef9ed 25%, #fdf4e3 50%, #fef7eb 75%, #fffefc 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, transparent 19%, rgba(255, 107, 107, 0.02) 20%, rgba(255, 107, 107, 0.02) 20.5%, transparent 21%, transparent 39%, rgba(255, 195, 0, 0.02) 40%, rgba(255, 195, 0, 0.02) 40.5%, transparent 41%, transparent 59%, rgba(76, 209, 55, 0.02) 60%, rgba(76, 209, 55, 0.02) 60.5%, transparent 61%, transparent 79%, rgba(52, 152, 219, 0.02) 80%, rgba(52, 152, 219, 0.02) 80.5%, transparent 81%, transparent 100%);
    background-size: 100% 100px;
    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 19.8%,
            rgba(0, 0, 0, 0.012) 19.8%,
            rgba(0, 0, 0, 0.012) 20.2%,
            transparent 20.2%
        );
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 254, 249, 0.92);
    backdrop-filter: blur(25px);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%) 1;
    box-shadow: 0 6px 35px rgba(26, 26, 26, 0.09);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

#topnav.scrolled {
    background: rgba(255, 254, 249, 0.97);
    box-shadow: 0 10px 45px rgba(26, 26, 26, 0.14);
}

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

.logo h1 {
    font-family: 'Righteous', cursive;
    font-size: 2.15rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 1.25px;
    position: relative;
    padding-left: 3.85rem;
}

.logo h1::before {
    content: '♪';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 2.65rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: xylophoneNote 4.5s ease-in-out infinite;
}

@keyframes xylophoneNote {
    0%, 100% {
        transform: translateY(-50%) rotate(-8deg) scale(1);
    }
    50% {
        transform: translateY(-50%) rotate(8deg) scale(1.15);
    }
}

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

.nav-menu li a {
    display: block;
    padding: 1.15rem 2.35rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.96rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    letter-spacing: 0.85px;
    border-radius: 18px;
    border: 2px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.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: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(155, 89, 182, 0.08) 100%);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    border: none;
    color: #fffef9;
    font-size: 1.95rem;
    width: 65px;
    height: 65px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.35);
}

.mobile-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 18px 52px rgba(255, 107, 107, 0.48);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 450px;
    height: 18px;
    background: linear-gradient(90deg, #ff6b6b 0%, transparent 100%);
    border-radius: 9px;
    opacity: 0.18;
    transform: rotate(-5deg);
    animation: xylophoneBar1 6s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 6%;
    width: 520px;
    height: 22px;
    background: linear-gradient(90deg, transparent 0%, #3498db 100%);
    border-radius: 11px;
    opacity: 0.16;
    transform: rotate(3deg);
    animation: xylophoneBar2 7s ease-in-out infinite;
}

@keyframes xylophoneBar1 {
    0%, 100% {
        transform: rotate(-5deg) translateY(0);
        opacity: 0.18;
    }
    50% {
        transform: rotate(-5deg) translateY(-25px);
        opacity: 0.32;
    }
}

@keyframes xylophoneBar2 {
    0%, 100% {
        transform: rotate(3deg) translateY(0);
        opacity: 0.16;
    }
    50% {
        transform: rotate(3deg) translateY(25px);
        opacity: 0.28;
    }
}

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

.hero-text {
    animation: xylophoneFadeIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0s both;
}

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

.hero-text h1 {
    font-family: 'Righteous', cursive;
    font-size: 6.5rem;
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 3.75rem;
    color: #1a1a1a;
    letter-spacing: -1.25px;
}

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

.hero-subtitle {
    font-size: 1.85rem;
    color: #444;
    margin-bottom: 5.15rem;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.45px;
}

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

.btn {
    display: inline-block;
    padding: 1.75rem 4.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 1.12rem;
    letter-spacing: 0.85px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 45px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.22);
    transition: left 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 50%, #4cd137 100%);
    color: #fffef9;
    box-shadow: 0 18px 55px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 72px rgba(255, 107, 107, 0.55);
}

.btn-secondary {
    background: rgba(255, 254, 249, 0.98);
    color: #ff6b6b;
    border: 3px solid #ff6b6b;
    box-shadow: 0 14px 45px rgba(255, 107, 107, 0.28);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    color: #fffef9;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 22px 58px rgba(52, 152, 219, 0.45);
}

.hero-image {
    animation: xylophoneFadeIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0.35s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px);
    padding: 3.75rem;
    box-shadow: 
        0 0 0 6px rgba(255, 107, 107, 0.12),
        0 0 0 12px rgba(255, 195, 0, 0.09),
        0 0 0 18px rgba(76, 209, 55, 0.07),
        0 35px 98px rgba(26, 26, 26, 0.18);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-radius: 40px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%);
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.profile-card::after {
    content: '♫';
    position: absolute;
    bottom: 65px;
    right: 65px;
    font-size: 8.5rem;
    opacity: 0.045;
    color: #ff6b6b;
}

.profile-card:hover {
    transform: translateY(-20px) scale(1.028);
    box-shadow: 
        0 0 0 6px rgba(255, 107, 107, 0.22),
        0 0 0 12px rgba(255, 195, 0, 0.18),
        0 0 0 18px rgba(76, 209, 55, 0.14),
        0 48px 138px rgba(26, 26, 26, 0.28);
}

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

.profile-card img {
    width: 100%;
    margin-bottom: 3.35rem;
    box-shadow: 0 28px 82px rgba(26, 26, 26, 0.22);
    border-radius: 32px;
}

.profile-details h3 {
    font-family: 'Righteous', cursive;
    font-size: 3.55rem;
    margin-bottom: 1.35rem;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.45px;
}

.profile-details p {
    color: #444;
    margin-bottom: 3.55rem;
    line-height: 1.65;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    padding: 1.72rem 4.35rem;
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    color: #fffef9;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.85px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 32px;
    box-shadow: 0 18px 55px rgba(52, 152, 219, 0.42);
    font-family: 'Poppins', sans-serif;
}

.social-links a:hover {
    background: linear-gradient(135deg, #2980b9 0%, #8e44ad 100%);
    transform: translateY(-5px);
    box-shadow: 0 26px 72px rgba(52, 152, 219, 0.58);
}

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

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

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

.section-header::before {
    content: '♪ ♫ ♪';
    position: absolute;
    top: -82px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.65rem;
    letter-spacing: 4.15rem;
    opacity: 0.65;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 {
    font-family: 'Righteous', cursive;
    font-size: 6.25rem;
    font-weight: 400;
    line-height: 1.12;
    color: #1a1a1a;
    letter-spacing: -1.15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 185px;
    height: 6px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%);
    border-radius: 3px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 375px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%);
    border-radius: 3px;
}

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

.timeline-year {
    font-family: 'Righteous', cursive;
    font-size: 9.25rem;
    font-weight: 400;
    color: rgba(255, 107, 107, 0.18);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 8.35rem;
    letter-spacing: -4.15px;
}

.timeline-year::after {
    content: '♪';
    position: absolute;
    right: -158px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 50%, #4cd137 100%);
    border-radius: 50%;
    font-size: 1.45rem;
    color: #fffef9;
    box-shadow: 
        0 0 0 12px rgba(255, 254, 249, 1),
        0 0 0 18px rgba(255, 107, 107, 0.28),
        0 0 32px rgba(255, 107, 107, 0.45);
    animation: xylophoneRing 5.5s ease-in-out infinite;
}

@keyframes xylophoneRing {
    0%, 100% {
        box-shadow: 
            0 0 0 12px rgba(255, 254, 249, 1),
            0 0 0 18px rgba(255, 107, 107, 0.28),
            0 0 32px rgba(255, 107, 107, 0.45);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 
            0 0 0 12px rgba(255, 254, 249, 1),
            0 0 0 38px rgba(76, 209, 55, 0.42),
            0 0 52px rgba(76, 209, 55, 0.65);
        transform: translateY(-50%) scale(1.38);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    padding: 4.75rem;
    transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 28px 85px rgba(26, 26, 26, 0.15);
    position: relative;
    border-radius: 35px;
    border-left: 6px solid transparent;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ff6b6b 0%, #ffc300 50%, #4cd137 100%);
    border-radius: 3px 0 0 3px;
    opacity: 0.35;
    transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

.timeline-content h3 {
    font-family: 'Righteous', cursive;
    font-size: 3.45rem;
    margin-bottom: 1.15rem;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.45px;
}

.timeline-content h4 {
    color: #ff6b6b;
    font-size: 1.72rem;
    margin-bottom: 2.75rem;
    font-weight: 700;
    letter-spacing: 0.55px;
}

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

.timeline-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-content a:hover {
    border-bottom-color: #3498db;
    color: #9b59b6;
}

#ai {
    background: rgba(254, 249, 237, 0.58);
    backdrop-filter: blur(20px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    padding: 6.35rem;
    transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 32px 95px rgba(26, 26, 26, 0.16);
    border-radius: 42px;
    border-top: 8px solid transparent;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    border-radius: 42px 42px 0 0;
}

.project-card::after {
    content: '♫';
    position: absolute;
    top: 72px;
    right: 72px;
    font-size: 9.25rem;
    opacity: 0.042;
    color: #ff6b6b;
}

.project-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 48px 132px rgba(26, 26, 26, 0.24);
    background: rgba(255, 255, 255, 0.96);
}

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

.project-header h3 {
    font-family: 'Righteous', cursive;
    font-size: 4.75rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.75px;
}

.project-client {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.72rem;
    margin-bottom: 3.85rem;
    letter-spacing: 0.55px;
}

.project-card > p {
    color: #444;
    line-height: 1.78;
    margin-bottom: 4.55rem;
}

.project-impact {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(155, 89, 182, 0.08) 100%);
    padding: 3.45rem;
    color: #1a1a1a;
    line-height: 1.78;
    border-radius: 28px;
    border-left: 8px solid transparent;
    position: relative;
}

.project-impact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, #ff6b6b 0%, #3498db 50%, #9b59b6 100%);
    border-radius: 4px 0 0 4px;
}

.project-impact strong {
    color: #3498db;
    font-weight: 700;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(25px);
    padding: 5.25rem;
    transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 28px 85px rgba(26, 26, 26, 0.15);
    border-radius: 35px;
    position: relative;
    border-top: 6px solid transparent;
}

.year-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffc300 50%, #4cd137 100%);
    border-radius: 35px 35px 0 0;
    opacity: 0.35;
    transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

.year-section h3 {
    font-family: 'Righteous', cursive;
    font-size: 6.05rem;
    margin-bottom: 4.55rem;
    color: #1a1a1a;
    text-align: center;
    padding-bottom: 3.45rem;
    border-bottom: 5px solid transparent;
    border-image: linear-gradient(90deg, rgba(255, 107, 107, 0.35) 0%, rgba(76, 209, 55, 0.35) 100%) 1;
    font-weight: 400;
    letter-spacing: -0.85px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
}

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

.year-section.books h3 {
    color: #fffef9;
    border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%) 1;
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 2.25rem 0;
    color: #444;
    border-bottom: 2px solid rgba(26, 26, 26, 0.08);
    line-height: 1.78;
    position: relative;
    padding-left: 4.05rem;
}

.achievements li::before {
    content: '♪';
    position: absolute;
    left: 0;
    top: 2.25rem;
    font-size: 1.65rem;
    color: #ff6b6b;
}

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

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

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

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

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

#personal {
    background: rgba(254, 249, 237, 0.58);
    backdrop-filter: blur(20px);
}

#contact {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.065) 0%, rgba(155, 89, 182, 0.065) 100%);
    backdrop-filter: blur(20px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(38px);
    padding: 9.65rem 8.85rem;
    text-align: center;
    box-shadow: 0 48px 142px rgba(26, 26, 26, 0.19);
    max-width: 1460px;
    margin: 0 auto;
    border-radius: 52px;
    border: 6px solid transparent;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%);
    border-radius: 52px;
    z-index: -1;
    opacity: 0.35;
}

.contact-card h2 {
    font-family: 'Righteous', cursive;
    font-size: 7.45rem;
    margin-bottom: 4.55rem;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -1.25px;
}

.contact-card > p {
    font-size: 1.95rem;
    color: #444;
    line-height: 1.78;
    margin-bottom: 7.55rem;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding: 2.75rem 6.35rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%);
    color: #fffef9;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.85px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 45px;
    box-shadow: 0 28px 85px rgba(255, 107, 107, 0.42);
    font-family: 'Poppins', sans-serif;
}

.contact-link:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 25%, #27ae60 50%, #2980b9 75%, #8e44ad 100%);
    transform: translateY(-8px);
    box-shadow: 0 42px 115px rgba(255, 107, 107, 0.58);
}

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

#footer {
    background: #1a1a1a;
    padding: 7.55rem 0;
    text-align: center;
    color: rgba(255, 254, 249, 0.72);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #ff6b6b 0%, #ffc300 20%, #4cd137 40%, #3498db 60%, #9b59b6 80%, #ff6b6b 100%) 1;
}

#footer a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 700;
}

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

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

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

    .hero-image {
        max-width: 735px;
        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: 85px;
    }

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

    .nav-menu {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: rgba(255, 254, 249, 0.98);
        backdrop-filter: blur(28px);
        flex-direction: column;
        padding: 5.25rem;
        gap: 0;
        box-shadow: 0 38px 92px rgba(26, 26, 26, 0.19);
        transform: translateY(-150%);
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        border-bottom: 4px solid transparent;
        border-image: linear-gradient(90deg, #ff6b6b 0%, #ffc300 25%, #4cd137 50%, #3498db 75%, #9b59b6 100%) 1;
    }

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

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

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

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5.25rem;
        margin-bottom: 8.35rem;
        padding-left: 10.75rem;
    }

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

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

    .contact-card {
        padding: 7.85rem 6.35rem;
    }
}

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

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

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

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

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

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

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

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

    section {
        padding: 125px 0;
    }

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

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

    .profile-card {
        padding: 3.15rem;
    }

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

    .timeline-content {
        padding: 3.85rem;
    }

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

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

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

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

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