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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #333;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #333;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #d4af37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4e17a);
    transition: width 0.3s ease;
}

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

.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 40px 40px;
}

.home-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-text {
    animation: slideInLeft 1s ease-out;
}

.home-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.home-text .highlight {
    color: #d4af37;
    font-weight: 600;
}

.home-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    margin: 25px 0;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border-left: 4px solid #d4af37;
}

.contact-info p {
    margin: 8px 0;
    font-size: 1rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.home-image {
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.projects {
    padding: 120px 40px 40px;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333;
}

.section-title .highlight {
    color: #d4af37;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.project-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.project-info p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.download-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.studies {
    padding: 120px 40px 40px;
}

.studies-container {
    max-width: 1200px;
    margin: 0 auto;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.study-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.study-card:nth-child(2) {
    animation-delay: 0.2s;
}

.study-card:nth-child(3) {
    animation-delay: 0.4s;
}

.study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.study-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    overflow: hidden; 
}

.study-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}


.study-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.study-card p {
    color: #666;
    line-height: 1.6;
}

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

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d4af37, #f4e17a);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #d4af37;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px white, 0 0 0 8px #d4af37;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    text-align: right;
    padding-right: 30px;
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    position: relative;
    left: 55%;
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.timeline-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.timeline-content li {
    color: #666;
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.skills-section {
    margin: 60px 0;
}

.skills-subtitle {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.skill-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.skill-card h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.language-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.language-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.language-level {
    background: linear-gradient(135deg, #d4af37, #f4e17a);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.interest-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.interest-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.interest-card p {
    color: #666;
    font-size: 0.9rem;
}

.skill-icon,
.interest-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skill-icon img,
.interest-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        background: white;
        padding: 15px 20px;
        border-radius: 6px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .home-text h1 {
        font-size: 2.5rem;
    }

    .profile-image {
        margin: 0 auto;
        width: 250px;
        height: 250px;
    }

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .project-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .studies-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin: 20px 0;
        padding: 15px;
    }

    .experience-timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 20px;
        transform: none;
    }

    .timeline-date {
        position: static;
        width: 100%;
        text-align: left;
        padding: 0 0 10px 40px;
        margin-bottom: 10px;
    }

    .timeline-content {
        position: static;
        left: 0;
        width: 100%;
        margin-left: 40px;
        margin-right: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }
}