:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --alt-bg: #f3f4f6;
    --white: #ffffff;
    --dark-grey: #4b5563;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.tagline {
    font-size: 1.25rem;
    color: var(--dark-grey);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    transform: rotate(2deg);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

.alternate-bg {
    background-color: var(--alt-bg);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    padding: 2rem;
    border-left: 2px solid var(--primary-color);
    position: relative;
    margin-bottom: 2rem;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    left: -9px;
    top: 35px;
}

.date {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company {
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.timeline-item ul {
    list-style-position: inside;
    color: var(--dark-grey);
}

/* Education Grid */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.edu-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.edu-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.lang-bar {
    margin-bottom: 1.5rem;
}

.lang-bar span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.interest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.interest-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.interest-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.interest-card p {
    font-size: 0.9rem;
    color: var(--dark-grey);
}

/* Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.photo-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.photo-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer .section-title {
    color: var(--white);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
    min-width: 280px;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-item span {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .hero-image img {
        transform: rotate(0);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    }
    .nav-links li {
        margin: 1.5rem 0;
    }
    .burger {
        display: block;
        z-index: 1001;
    }
    .contact-info {
        flex-direction: column;
        gap: 2.5rem;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .timeline-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 0.8rem 2rem;
        width: 100%;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
