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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #faf8f5;
    color: #37352f;
    line-height: 1.6;
    min-height: 100vh;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Initial state for animated elements */
.fade-in-section {
    opacity: 0;
}

.fade-in-section.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered card animations */
.experience-card,
.education-card {
    opacity: 0;
}

.experience-card.is-visible,
.education-card.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }
.experience-card:nth-child(4) { animation-delay: 0.4s; }
.experience-card:nth-child(5) { animation-delay: 0.5s; }
.experience-card:nth-child(6) { animation-delay: 0.6s; }

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.social-links-fixed {
    position: fixed;
    top: 32px;
    right: 32px;
    display: flex;
    gap: 20px;
    z-index: 1000;
}

.social-links-fixed a {
    color: #37352f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links-fixed a:hover {
    transform: scale(1.1);
    color: #6b6966;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    flex: 1;
}

section {
    margin-bottom: 48px;
}

/* Intro Section */
.intro {
    animation: fadeIn 0.8s ease-out;
}

.intro h1 {
    font-size: 48px;
    font-weight: 700;
    color: #37352f;
    margin-bottom: 16px;
}

.intro p {
    font-size: 20px;
    color: #787774;
    font-weight: 400;
}

/* Section Headers */
h2 {
    font-size: 32px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 24px;
}

/* Experience Section */
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9e7e3;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.company-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.experience-card:hover .company-logo {
    transform: scale(1.05);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.experience-details h2 {
    font-size: 18px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 4px;
}

.role-name {
    font-size: 16px;
    color: #37352f;
    font-weight: 500;
    margin-bottom: 4px;
}

.meta {
    font-size: 14px;
    color: #787774;
}

.highlights {
    margin-top: 12px;
    padding-left: 20px;
}

.highlights li {
    font-size: 14px;
    color: #37352f;
    line-height: 1.6;
}

/* Education Section */
.education-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    border: 1px solid #e9e7e3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.school-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.education-card:hover .school-logo {
    transform: scale(1.05);
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.education-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #37352f;
    margin-bottom: 4px;
}

.school-name {
    font-size: 16px;
    color: #37352f;
    font-weight: 500;
    margin-bottom: 4px;
}


/* Responsive */
@media (max-width: 768px) {
    .intro h1 {
        font-size: 36px;
    }

    .intro p {
        font-size: 18px;
    }

    h2 {
        font-size: 28px;
    }

    .container {
        padding: 40px 20px;
    }

    .experience-card,
    .education-card {
        flex-direction: column;
    }

    section {
        margin-bottom: 48px;
    }
}
