/* Theme: Bamboo - Zen garden, natural growth, Asian minimalism, sustainable beauty, organic serenity, green tranquility */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

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

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16.5px;
    line-height: 1.85;
    color: #2d4a3e;
    background: linear-gradient(162deg, #f5f9f7 0%, #e8f3ed 35%, #ddeee5 72%, #d2e9dd 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 25% 35%, rgba(106, 168, 79, 0.055) 0%, transparent 48%),
        radial-gradient(ellipse at 75% 65%, rgba(139, 195, 74, 0.048) 0%, transparent 52%),
        radial-gradient(ellipse at 50% 50%, rgba(85, 139, 47, 0.042) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: bambooSway 22s ease-in-out infinite;
}

@keyframes bambooSway {
    0%, 100% { opacity: 0.35; transform: translateX(0); }
    50% { opacity: 0.65; transform: translateX(8px); }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2.8px, rgba(106, 168, 79, 0.012) 2.8px, rgba(106, 168, 79, 0.012) 5.6px),
        repeating-linear-gradient(0deg, transparent, transparent 2.8px, rgba(139, 195, 74, 0.01) 2.8px, rgba(139, 195, 74, 0.01) 5.6px);
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 249, 247, 0.94);
    backdrop-filter: blur(18px) saturate(105%);
    border-bottom: 1.5px solid rgba(106, 168, 79, 0.22);
    box-shadow: 0 2px 15px rgba(45, 74, 62, 0.065);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(245, 249, 247, 0.98);
    box-shadow: 0 4px 22px rgba(45, 74, 62, 0.095);
    border-bottom-width: 2.2px;
}

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

.logo h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.85rem;
    font-weight: 500;
    color: #558b2f;
    margin: 0;
    letter-spacing: 1.2px;
    position: relative;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 38%;
    height: 2.5px;
    background: linear-gradient(90deg, #6aa84f 0%, #8bc34a 100%);
    border-radius: 2px;
}

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

.nav-menu li a {
    display: block;
    padding: 0.75rem 1.55rem;
    color: #5d7a68;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.45px;
    border-radius: 6px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.8px;
    background: #6aa84f;
    transition: width 0.32s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 168, 79, 0.08);
    opacity: 0;
    transition: opacity 0.32s ease;
    border-radius: 6px;
}

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

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #558b2f;
}

.mobile-toggle {
    display: none;
    background: #6aa84f;
    border: none;
    color: #f5f9f7;
    font-size: 1.42rem;
    width: 52px;
    height: 52px;
    cursor: pointer;
    transition: all 0.32s ease;
    box-shadow: 0 4px 16px rgba(106, 168, 79, 0.28);
    border-radius: 6px;
}

.mobile-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 168, 79, 0.38);
    background: #558b2f;
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(106, 168, 79, 0.18) 0%, transparent 58%);
    border-radius: 50%;
    animation: zenFloat 32s ease-in-out infinite;
    filter: blur(55px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -6%;
    width: 485px;
    height: 485px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.15) 0%, transparent 58%);
    border-radius: 50%;
    animation: zenFloat 38s ease-in-out infinite reverse;
    filter: blur(55px);
}

@keyframes zenFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.48;
    }
    35% {
        transform: translate(28px, -32px) scale(1.04);
        opacity: 0.72;
    }
    68% {
        transform: translate(-22px, 25px) scale(0.97);
        opacity: 0.58;
    }
}

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

.hero-text {
    animation: fadeInBamboo 1.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInBamboo {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-text h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.65rem;
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 2.25rem;
    color: #2d4a3e;
    letter-spacing: -0.65px;
}

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

.hero-subtitle {
    font-size: 1.38rem;
    color: #5d7a68;
    margin-bottom: 3.45rem;
    line-height: 1.68;
    font-weight: 300;
    letter-spacing: 0.28px;
}

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

.btn {
    display: inline-block;
    padding: 1.32rem 3.15rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.98rem;
    letter-spacing: 0.65px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

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

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

.btn-primary {
    background: #6aa84f;
    color: #f5f9f7;
    box-shadow: 0 6px 22px rgba(106, 168, 79, 0.32);
    border: 1.5px solid rgba(106, 168, 79, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(106, 168, 79, 0.42);
    background: #558b2f;
}

.btn-secondary {
    background: rgba(245, 249, 247, 0.85);
    color: #558b2f;
    border: 1.5px solid #6aa84f;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.055);
}

.btn-secondary:hover {
    background: #8bc34a;
    color: #f5f9f7;
    border-color: #8bc34a;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(139, 195, 74, 0.35);
}

.hero-image {
    animation: fadeInBamboo 1.15s cubic-bezier(0.4, 0, 0.2, 1) 0.22s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px);
    padding: 2.95rem;
    box-shadow: 
        0 12px 48px rgba(106, 168, 79, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transition: all 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1.5px solid rgba(106, 168, 79, 0.2);
    border-radius: 8px;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #6aa84f 0%, #8bc34a 50%, #6aa84f 100%);
    border-radius: 8px 8px 0 0;
}

.profile-card:hover {
    transform: translateY(-9px) scale(1.012);
    box-shadow: 
        0 22px 68px rgba(106, 168, 79, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.25rem;
    box-shadow: 0 10px 38px rgba(45, 74, 62, 0.14);
    border: 2.2px solid rgba(106, 168, 79, 0.22);
    border-radius: 6px;
}

.profile-details h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.15rem;
    margin-bottom: 0.65rem;
    color: #2d4a3e;
    font-weight: 500;
    letter-spacing: 0.32px;
}

.profile-details p {
    color: #5d7a68;
    margin-bottom: 2.25rem;
    line-height: 1.68;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    padding: 1.12rem 2.95rem;
    background: #6aa84f;
    color: #f5f9f7;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.65px;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 22px rgba(106, 168, 79, 0.32);
    border-radius: 6px;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(106, 168, 79, 0.42);
    background: #558b2f;
}

section {
    padding: 105px 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.45rem;
    position: relative;
}

.section-header::before {
    content: '◆';
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.15rem;
    color: #8bc34a;
    opacity: 0.42;
    animation: bambooGrow 7s ease-in-out infinite;
}

@keyframes bambooGrow {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.42; }
    50% { transform: translateX(-50%) translateY(-8px) scale(1.12); opacity: 0.68; }
}

.section-header h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.25rem;
    font-weight: 400;
    line-height: 1.15;
    color: #2d4a3e;
    letter-spacing: -0.58px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 2.8px;
    background: linear-gradient(90deg, transparent 0%, #6aa84f 25%, #8bc34a 50%, #6aa84f 75%, transparent 100%);
    border-radius: 2px;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 135px;
    top: 0;
    bottom: 0;
    width: 2.8px;
    background: linear-gradient(180deg, #6aa84f 0%, #8bc34a 50%, #6aa84f 100%);
    border-radius: 2px;
    opacity: 0.48;
}

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

.timeline-year {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.35rem;
    font-weight: 500;
    color: #6aa84f;
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 2.95rem;
    letter-spacing: 0.45px;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -58px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 11px;
    height: 11px;
    background: #8bc34a;
    border: 3.5px solid rgba(245, 249, 247, 0.95);
    box-shadow: 
        0 0 0 6.5px rgba(106, 168, 79, 0.14),
        0 4px 12px rgba(106, 168, 79, 0.38);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    padding: 3.15rem;
    border-left: 3px solid #6aa84f;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(106, 168, 79, 0.14);
    border-radius: 6px;
    border: 1.5px solid rgba(106, 168, 79, 0.18);
    border-left: 3px solid #6aa84f;
}

.timeline-content:hover {
    transform: translateX(12px);
    box-shadow: 0 14px 48px rgba(106, 168, 79, 0.22);
    border-left-width: 5.5px;
}

.timeline-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.15rem;
    margin-bottom: 0.65rem;
    color: #2d4a3e;
    font-weight: 500;
    letter-spacing: 0.32px;
}

.timeline-content h4 {
    color: #558b2f;
    font-size: 1.18rem;
    margin-bottom: 1.55rem;
    font-weight: 500;
    letter-spacing: 0.28px;
}

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

.timeline-content a {
    color: #6aa84f;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1.5px solid transparent;
    transition: all 0.32s ease;
}

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

#ai {
    background: linear-gradient(180deg, rgba(232, 243, 237, 0.45) 0%, rgba(221, 238, 229, 0.45) 100%);
    backdrop-filter: blur(32px);
}

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

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    padding: 3.85rem;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 42px rgba(106, 168, 79, 0.16);
    border: 1.5px solid rgba(106, 168, 79, 0.2);
    border-radius: 8px;
}

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

.project-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 62px rgba(106, 168, 79, 0.26);
}

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

.project-header h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.65rem;
    color: #2d4a3e;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.38px;
}

.project-client {
    color: #6aa84f;
    font-weight: 500;
    font-size: 1.12rem;
    margin-bottom: 2.15rem;
    letter-spacing: 0.28px;
}

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

.project-impact {
    background: linear-gradient(128deg, rgba(106, 168, 79, 0.095) 0%, rgba(139, 195, 74, 0.085) 100%);
    padding: 2.15rem;
    border-left: 3px solid #8bc34a;
    color: #2d4a3e;
    line-height: 1.85;
    border-radius: 4px;
}

.project-impact strong {
    color: #558b2f;
    font-weight: 500;
}

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

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

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    padding: 3.45rem;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 9px 38px rgba(106, 168, 79, 0.15);
    border: 1.5px solid rgba(106, 168, 79, 0.2);
    border-radius: 8px;
}

.year-section:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 58px rgba(106, 168, 79, 0.24);
}

.year-section h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.85rem;
    margin-bottom: 2.55rem;
    color: #6aa84f;
    text-align: center;
    padding-bottom: 1.75rem;
    border-bottom: 2.2px solid rgba(106, 168, 79, 0.22);
    font-weight: 500;
    letter-spacing: 0.38px;
}

.year-section.books {
    grid-column: span 2;
    background: linear-gradient(128deg, #6aa84f 0%, #558b2f 100%);
    border: none;
    box-shadow: 0 14px 52px rgba(106, 168, 79, 0.38);
}

.year-section.books h3 {
    color: #f5f9f7;
    border-bottom-color: rgba(245, 249, 247, 0.22);
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.25rem 0;
    color: #5d7a68;
    border-bottom: 1.5px solid rgba(106, 168, 79, 0.12);
    line-height: 1.85;
    position: relative;
    padding-left: 2.65rem;
}

.achievements li::before {
    content: '│';
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-size: 1.75rem;
    font-weight: 300;
}

.year-section.books .achievements li {
    color: rgba(245, 249, 247, 0.92);
    border-bottom-color: rgba(245, 249, 247, 0.2);
}

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

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

.achievements strong {
    color: #2d4a3e;
    font-weight: 500;
}

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

#personal {
    background: linear-gradient(180deg, rgba(221, 238, 229, 0.45) 0%, rgba(232, 243, 237, 0.62) 100%);
    backdrop-filter: blur(32px);
}

#contact {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(32px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(26px);
    padding: 6.45rem 5.65rem;
    text-align: center;
    box-shadow: 0 18px 68px rgba(106, 168, 79, 0.22);
    max-width: 1080px;
    margin: 0 auto;
    border: 1.5px solid rgba(106, 168, 79, 0.24);
    position: relative;
    border-radius: 10px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, transparent 0%, #6aa84f 20%, #8bc34a 50%, #6aa84f 80%, transparent 100%);
    border-radius: 10px 10px 0 0;
}

.contact-card h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 4.85rem;
    margin-bottom: 2.55rem;
    color: #2d4a3e;
    font-weight: 500;
    letter-spacing: -0.68px;
}

.contact-card > p {
    font-size: 1.32rem;
    color: #5d7a68;
    line-height: 1.85;
    margin-bottom: 4.25rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.55rem;
    padding: 1.72rem 4.25rem;
    background: #6aa84f;
    color: #f5f9f7;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.65px;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(106, 168, 79, 0.35);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

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

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

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 48px rgba(106, 168, 79, 0.48);
    background: #558b2f;
}

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

#footer {
    background: linear-gradient(128deg, #2d4a3e 0%, #5d7a68 100%);
    backdrop-filter: blur(18px);
    padding: 4.25rem 0;
    text-align: center;
    color: rgba(245, 249, 247, 0.72);
    border-top: 2.2px solid rgba(106, 168, 79, 0.22);
}

#footer a {
    color: #8bc34a;
    text-decoration: none;
    transition: color 0.32s ease;
    font-weight: 500;
}

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

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(245, 249, 247, 0.98);
        backdrop-filter: blur(26px);
        flex-direction: column;
        padding: 3.85rem;
        gap: 0;
        box-shadow: 0 18px 62px rgba(106, 168, 79, 0.25);
        transform: translateY(-150%);
        transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 2.2px solid rgba(106, 168, 79, 0.22);
    }

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

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

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.35rem;
        border-bottom: 1.5px solid rgba(106, 168, 79, 0.11);
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2.55rem;
        margin-bottom: 4.85rem;
        padding-left: 5.65rem;
    }

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

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

    .contact-card {
        padding: 5.65rem 4.25rem;
    }
}

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

    .nav-container {
        padding: 0 2.05rem;
        height: 72px;
    }

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

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

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

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

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

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

    section {
        padding: 88px 0;
    }

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

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

    .profile-card {
        padding: 2.55rem;
    }

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

    .timeline-content {
        padding: 2.68rem;
    }

    .project-card {
        padding: 3.25rem 2.55rem;
    }

    .contact-card {
        padding: 4.85rem 2.55rem;
    }

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

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

    .contact-link {
        justify-content: center;
        padding: 1.35rem 2.68rem;
        font-size: 0.95rem;
    }
}