/* Fade in animation for page content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to main content sections */
.content-section {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for elements */
.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Fade in animation for images */
img {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for images */
img:nth-child(1) { animation-delay: 0.1s; }
img:nth-child(2) { animation-delay: 0.2s; }
img:nth-child(3) { animation-delay: 0.3s; }
img:nth-child(4) { animation-delay: 0.4s; }
img:nth-child(5) { animation-delay: 0.5s; }

/* Fade in animation for text content */
h1, h2, h3, h4, h5, h6, p {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for text content */
h1:nth-child(1) { animation-delay: 0.1s; }
h2:nth-child(1) { animation-delay: 0.2s; }
h3:nth-child(1) { animation-delay: 0.3s; }
p:nth-child(1) { animation-delay: 0.4s; }

/* Fade in animation for buttons */
.btn {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for buttons */
.btn:nth-child(1) { animation-delay: 0.1s; }
.btn:nth-child(2) { animation-delay: 0.2s; }
.btn:nth-child(3) { animation-delay: 0.3s; }

/* Fade in animation for cards */
.card {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

/* Fade in animation for lists */
ul, ol {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered animations for list items */
li {
    opacity: 0;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

li:nth-child(1) { animation-delay: 0.1s; }
li:nth-child(2) { animation-delay: 0.2s; }
li:nth-child(3) { animation-delay: 0.3s; }
li:nth-child(4) { animation-delay: 0.4s; }
li:nth-child(5) { animation-delay: 0.5s; } 