/* Theme: Quartz - Crystal formations, mineral aesthetics, faceted geometry, rose quartz and amethyst 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: 95px;
}

body {
    font-family: 'Crimson Text', serif;
    font-size: 18px;
    line-height: 1.85;
    color: #3d2f3f;
    background: linear-gradient(165deg, #f8f3f7 0%, #ede3ec 30%, #e8d9e6 60%, #ddc9db 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(186, 145, 178, 0.02) 49%, rgba(186, 145, 178, 0.02) 51%, transparent 52%),
        linear-gradient(60deg, transparent 48%, rgba(158, 119, 152, 0.02) 49%, rgba(158, 119, 152, 0.02) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(186, 145, 178, 0.02) 49%, rgba(186, 145, 178, 0.02) 51%, transparent 52%);
    background-size: 80px 80px, 120px 120px, 100px 100px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

body::after {
    content: '';
    position: fixed;
    top: -20%;
    left: -15%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(186, 145, 178, 0.15) 0%, transparent 65%);
    border-radius: 40% 60% 50% 70%;
    pointer-events: none;
    z-index: 0;
    animation: crystallize 30s ease-in-out infinite;
}

@keyframes crystallize {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(15px, -25px) rotate(5deg) scale(1.08);
        opacity: 0.8;
    }
    66% {
        transform: translate(-10px, 20px) rotate(-3deg) scale(0.95);
        opacity: 0.7;
    }
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 243, 247, 0.88);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(186, 145, 178, 0.25);
    box-shadow: 0 6px 35px rgba(158, 119, 152, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(248, 243, 247, 0.95);
    box-shadow: 0 10px 45px rgba(158, 119, 152, 0.18);
    border-bottom-color: rgba(186, 145, 178, 0.35);
}

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

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #7a5976;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

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

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

.nav-menu li a {
    display: block;
    padding: 0.85rem 1.6rem;
    color: #5d4a5b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(186, 145, 178, 0.12) 0%, rgba(158, 119, 152, 0.12) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #7a5976;
}

.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 6px 20px rgba(158, 119, 152, 0.3);
}

.mobile-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(158, 119, 152, 0.4);
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(186, 145, 178, 0.25) 0%, transparent 70%);
    border-radius: 43% 57% 38% 62%;
    animation: facetRotate 25s ease-in-out infinite;
    filter: blur(60px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(158, 119, 152, 0.2) 0%, transparent 70%);
    border-radius: 60% 40% 55% 45%;
    animation: facetRotate 30s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes facetRotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 43% 57% 38% 62%;
    }
    33% {
        transform: translate(20px, -30px) rotate(120deg);
        border-radius: 60% 40% 55% 45%;
    }
    66% {
        transform: translate(-15px, 25px) rotate(240deg);
        border-radius: 38% 62% 43% 57%;
    }
}

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

.hero-text {
    animation: quartzFadeIn 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes quartzFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 2.2rem;
    color: #3d2f3f;
    letter-spacing: 1px;
    position: relative;
}

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

.hero-subtitle {
    font-size: 1.42rem;
    color: #7a5976;
    margin-bottom: 3.2rem;
    line-height: 1.75;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.btn {
    display: inline-block;
    padding: 1.25rem 3.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    transform: scale(1);
}

.btn-primary {
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(158, 119, 152, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(158, 119, 152, 0.45);
}

.btn-secondary {
    background: rgba(248, 243, 247, 0.9);
    color: #7a5976;
    border: 2px solid #ba91b2;
    box-shadow: 0 8px 25px rgba(158, 119, 152, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(158, 119, 152, 0.35);
}

.hero-image {
    animation: quartzFadeIn 1.4s cubic-bezier(0.23, 1, 0.32, 1) 0.25s both;
}

.profile-card {
    background: rgba(248, 243, 247, 0.75);
    backdrop-filter: blur(25px);
    padding: 2.8rem;
    box-shadow: 
        0 25px 70px rgba(158, 119, 152, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    border: 1px solid rgba(186, 145, 178, 0.3);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ba91b2 0%, #9e7798 50%, #ba91b2 100%);
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.015);
    box-shadow: 
        0 35px 90px rgba(158, 119, 152, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.2rem;
    box-shadow: 0 15px 45px rgba(61, 47, 63, 0.2);
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.profile-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #3d2f3f;
    font-weight: 700;
    letter-spacing: 1px;
}

.profile-details p {
    color: #5d4a5b;
    margin-bottom: 2.2rem;
    line-height: 1.75;
    font-weight: 600;
}

.social-links a {
    display: inline-block;
    padding: 1.05rem 2.6rem;
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(158, 119, 152, 0.35);
    clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
}

.social-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(158, 119, 152, 0.45);
}

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

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

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

.section-header::before {
    content: '◆';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    color: #ba91b2;
    opacity: 0.35;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #3d2f3f;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

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

#experience {
    background: rgba(248, 243, 247, 0.65);
    backdrop-filter: blur(30px);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 125px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ba91b2 0%, #9e7798 50%, #ba91b2 100%);
}

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

.timeline-year {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #7a5976;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.5rem;
    letter-spacing: 2px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -63px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #ba91b2;
    border: 5px solid rgba(248, 243, 247, 0.9);
    box-shadow: 0 0 0 8px rgba(186, 145, 178, 0.2);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.timeline-content {
    background: rgba(248, 243, 247, 0.85);
    backdrop-filter: blur(20px);
    padding: 2.8rem;
    border-left: 4px solid #ba91b2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(158, 119, 152, 0.15);
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
}

.timeline-content:hover {
    transform: translateX(15px);
    box-shadow: 0 20px 60px rgba(158, 119, 152, 0.25);
    border-left-width: 6px;
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #3d2f3f;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-content h4 {
    color: #7a5976;
    font-size: 1.18rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content p {
    color: #5d4a5b;
    line-height: 1.85;
    margin: 0;
}

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

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

#ai {
    background: linear-gradient(180deg, rgba(237, 227, 236, 0.7) 0%, rgba(232, 217, 230, 0.7) 100%);
    backdrop-filter: blur(30px);
}

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

.project-card {
    background: rgba(248, 243, 247, 0.85);
    backdrop-filter: blur(20px);
    padding: 3.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 15px 50px rgba(158, 119, 152, 0.18);
    clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%);
    border: 1px solid rgba(186, 145, 178, 0.25);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ba91b2 0%, #9e7798 50%, #ba91b2 100%);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(158, 119, 152, 0.28);
}

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

.project-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    color: #3d2f3f;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-client {
    color: #7a5976;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-card > p {
    color: #5d4a5b;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.project-impact {
    background: rgba(186, 145, 178, 0.12);
    padding: 2rem;
    border-left: 4px solid #ba91b2;
    color: #3d2f3f;
    line-height: 1.85;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
}

.project-impact strong {
    color: #7a5976;
    font-weight: 700;
}

#speaking {
    background: rgba(248, 243, 247, 0.7);
    backdrop-filter: blur(30px);
}

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

.year-section {
    background: rgba(248, 243, 247, 0.85);
    backdrop-filter: blur(20px);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(158, 119, 152, 0.15);
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    border: 1px solid rgba(186, 145, 178, 0.25);
}

.year-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(158, 119, 152, 0.25);
}

.year-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    margin-bottom: 2.2rem;
    color: #7a5976;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(186, 145, 178, 0.3);
    font-weight: 700;
    letter-spacing: 2px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    border: none;
    box-shadow: 0 20px 60px rgba(158, 119, 152, 0.35);
}

.year-section.books h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.2rem 0;
    color: #5d4a5b;
    border-bottom: 1px solid rgba(186, 145, 178, 0.15);
    line-height: 1.85;
    position: relative;
    padding-left: 2.5rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #ba91b2;
    font-size: 1.2rem;
}

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

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

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

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

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

#personal {
    background: linear-gradient(180deg, rgba(237, 227, 236, 0.6) 0%, rgba(248, 243, 247, 0.8) 100%);
    backdrop-filter: blur(30px);
}

#contact {
    background: rgba(248, 243, 247, 0.75);
    backdrop-filter: blur(30px);
}

.contact-card {
    background: rgba(248, 243, 247, 0.9);
    backdrop-filter: blur(25px);
    padding: 6rem 5rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(158, 119, 152, 0.25);
    max-width: 1100px;
    margin: 0 auto;
    clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
    border: 1px solid rgba(186, 145, 178, 0.3);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, #ba91b2 20%, #9e7798 50%, #ba91b2 80%, transparent 100%);
}

.contact-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 4.2rem;
    margin-bottom: 2.2rem;
    color: #3d2f3f;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.32rem;
    color: #5d4a5b;
    line-height: 1.85;
    margin-bottom: 3.8rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, #ba91b2 0%, #9e7798 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(158, 119, 152, 0.35);
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover::before {
    transform: scale(1);
}

.contact-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(158, 119, 152, 0.45);
}

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

#footer {
    background: linear-gradient(135deg, #3d2f3f 0%, #5d4a5b 100%);
    backdrop-filter: blur(20px);
    padding: 3.8rem 0;
    text-align: center;
    color: rgba(248, 243, 247, 0.8);
    border-top: 2px solid #ba91b2;
}

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

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: rgba(248, 243, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem;
        gap: 0;
        box-shadow: 0 25px 60px rgba(158, 119, 152, 0.25);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(186, 145, 178, 0.3);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.3rem;
        border-bottom: 1px solid rgba(186, 145, 178, 0.15);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        margin-bottom: 4.5rem;
        padding-left: 5rem;
    }

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

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

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

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

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

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

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

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

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

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

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

    section {
        padding: 90px 0;
    }

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

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

    .profile-card {
        padding: 2.2rem;
    }

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

    .timeline-content {
        padding: 2.4rem;
    }

    .project-card {
        padding: 2.8rem 2.2rem;
    }

    .contact-card {
        padding: 4.5rem 2.2rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.3rem 2.5rem;
        font-size: 0.98rem;
    }
}