@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content,
.about-grid,
.timeline-item,
.projects-grid,
.experience-item,
.contact-container {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-content { animation-delay: 0.2s; }
.hero-buttons { animation-delay: 0.4s; }
.hero-social { animation-delay: 0.6s; }

.about-card:nth-child(1) { animation-delay: 0.2s; }
.about-card:nth-child(2) { animation-delay: 0.4s; }
.about-card:nth-child(3) { animation-delay: 0.6s; }

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.3s; }
.project-card:nth-child(3) { animation-delay: 0.4s; }
.project-card:nth-child(4) { animation-delay: 0.5s; }
.project-card:nth-child(5) { animation-delay: 0.6s; }

.btn, .project-card, .about-card, .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}