/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2F5F73;
    --secondary-color: #6F8F91;
    --accent-color: #DDE9E2;
    --text-dark: #17242B;
    --text-light: #5E6B70;
    --text-white: #FFFFFF;
    --surface-white: #FFFDF8;
    --background-white: #FBFAF7;
    --background-light: #F2F0EA;
    --border-light: #DDD8CE;
    --shadow-light: 0 14px 40px rgba(23, 36, 43, 0.06);
    --shadow-medium: 0 20px 55px rgba(23, 36, 43, 0.1);
    --gradient-primary: linear-gradient(135deg, #2F5F73 0%, #6F8F91 100%);
    --gradient-light: linear-gradient(180deg, #FBFAF7 0%, #F2F0EA 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

::selection {
    background: var(--accent-color);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-image {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ===== MOBILE NAVIGATION TOGGLE ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 94vh;
    display: flex;
    align-items: center;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(47, 95, 115, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(47, 95, 115, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.4rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.075em;
    line-height: 0.95;
}

.hero-title span {
    display: block;
}

.hero-kicker {
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 680px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-tags span {
    border: 1px solid rgba(47, 95, 115, 0.18);
    border-radius: 999px;
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    background: rgba(255, 253, 248, 0.65);
}

.hero-cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 1.45rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid var(--primary-color);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: rgba(255, 253, 248, 0.7);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-1px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: min(390px, 34vw);
    height: 470px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--surface-white);
    border: 1px solid rgba(47, 95, 115, 0.16);
    padding: 6px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(23, 36, 43, 0.16) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 22px;
}

.image-container:hover .image-overlay {
    opacity: 0.1;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.045em;
}

.section-line {
    width: 54px;
    height: 1px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* ===== AI HIGHLIGHT SECTION ===== */
.ai-highlight {
    padding: 4rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.ai-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.ai-content {
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ai-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.ai-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-weight: 700;
}

.ai-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-white);
    opacity: 0.9;
}

.ai-tools {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ai-tool {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.ai-tool:nth-child(1) { animation-delay: 0s; }
.ai-tool:nth-child(2) { animation-delay: 0.5s; }
.ai-tool:nth-child(3) { animation-delay: 1s; }
.ai-tool:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.ai-tool:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 4.5rem 0;
    background: var(--surface-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: transparent;
    border-left: 1px solid var(--border-light);
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:first-child {
    border-left: 0;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.stat-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    stroke-width: 1.6;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 0;
    background: var(--background-white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-light);
    gap: 1.5rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-value {
    color: var(--text-light);
}

.contact-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.languages {
    background: var(--surface-white);
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: none;
}

.languages h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.language-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.language-item:has(.upgrading) {
    background: rgba(221, 233, 226, 0.38);
    border: 1px solid rgba(47, 95, 115, 0.24);
    box-shadow: none;
    padding: 1rem;
}

.language-item:has(.upgrading):hover {
    border-color: rgba(47, 95, 115, 0.4);
    transform: translateY(-1px);
    box-shadow: none;
}

.language-bar {
    background: var(--border-light);
    height: 6px;
    border-radius: 4px;
    overflow: visible;
    position: relative;
}

.language-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
    animation: fillBar 2s ease-out forwards;
}

.language-level {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    padding: 6rem 0;
    background: var(--background-light);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 1rem;
    width: 15px;
    height: 15px;
    background: var(--background-white);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: none;
}

.timeline-date {
    background: var(--surface-white);
    color: var(--primary-color);
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(47, 95, 115, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-content {
    background: var(--surface-white);
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.35rem;
    font-size: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 8px;
    height: 1px;
    background: var(--primary-color);
}

/* ===== SKILLS SECTION ===== */
.skills {
    padding: 6rem 0;
    background: var(--background-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--surface-white);
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    text-align: left;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: rgba(47, 95, 115, 0.32);
}

.skill-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.5rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
}

.skill-icon svg,
.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.7;
}

.skill-category h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-category p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== EDUCATION SECTION ===== */
.education {
    padding: 6rem 0;
    background: var(--background-light);
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.education-section h3,
.certifications-section h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.education-item,
.certification-item {
    background: var(--surface-white);
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    margin-bottom: 1.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.education-item:hover,
.certification-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.education-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.education-date {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 120px;
}

.education-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.education-details p,
.certification-item p {
    color: var(--text-light);
    margin: 0;
}

.certification-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: var(--background-white);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    margin-bottom: 3rem;
}

.contact-text p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: center;
}

.contact-method:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    display: inline-flex;
    color: var(--primary-color);
}

.contact-method:hover .contact-icon {
    color: var(--text-white);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    text-align: center;
    padding: 2.4rem 0;
}

.footer p {
    margin: 0;
    color: var(--text-white);
    opacity: 0.8;
}

.tech-stack {
    font-size: 0.9rem;
    margin-top: 0.5rem !important;
    opacity: 0.6 !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fillBar {
    from { width: 0%; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Language progress bar animations */
.language-progress[data-level="100"] { width: 100%; }
.language-progress[data-level="90"] { width: 90%; }
.language-progress[data-level="40"] { width: 40%; }

/* ===== UPGRADING LANGUAGE ANIMATION ===== */
.language-progress.upgrading {
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite, progressUpgrade 8s ease-in-out infinite;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.language-progress.upgrading::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(47, 95, 115, 0.32), 
        transparent);
    border-radius: 6px;
    opacity: 0;
    animation: glow 3s ease-in-out infinite;
}

.language-progress.upgrading::after {
    content: '';
    position: absolute;
    right: -25px;
    top: -8px;
    font-size: 1.2rem;
    animation: bounce-upgrade 2s ease-in-out infinite;
}

.upgrade-indicator {
    position: absolute;
    top: -35px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0;
    animation: fadeInUpgrade 1s ease-out 2s forwards;
}

.upgrade-icon {
    font-size: 1rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

.upgrade-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes progressUpgrade {
    0%, 20% { width: 40%; }
    80%, 100% { width: 55%; }
}

@keyframes glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes bounce-upgrade {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes fadeInUpgrade {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes textShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--text-white);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-medium);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.mobile-open {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .image-container {
        width: 300px;
        height: 360px;
    }
    
    .education-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        max-width: 250px;
        margin: 0.5rem 0;
    }
    
    .ai-highlight {
        padding: 3rem 0;
    }
    
    .ai-content h3 {
        font-size: 2rem;
    }
    
    .ai-content p {
        font-size: 1.1rem;
    }
    
    .ai-tools {
        gap: 0.5rem;
    }
    
    .ai-tool {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .stat-item {
        padding: 1.5rem;
        border-top: 1px solid var(--border-light);
    }

    .stat-item:nth-child(odd) {
        border-left: 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .language-item {
        margin-bottom: 2rem;
    }
    
    .upgrade-indicator {
        top: -30px;
        font-size: 0.7rem;
    }
    
    .upgrade-text {
        display: none;
    }
    
    .language-progress.upgrading::after {
        right: -20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item::before {
        left: 7px;
    }
    
    .contact-method {
        min-width: auto;
        width: 100%;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
} 