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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
    animation: fadeIn 1s ease-out;
}

.page-header h1 {
    animation: slideInUp 0.8s ease-out;
}

.page-header p {
    animation: slideInUp 0.8s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Services Section */
.section-intro h2 {
    animation: slideInUp 0.8s ease-out;
}

.section-intro p {
    animation: slideInUp 0.8s ease-out 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.service-card {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    animation: rotateIcon 1s ease-in-out;
    color: var(--fenix-red);
}

/* Special Solutions */
.special-solutions .section-header {
    animation: slideInUp 0.8s ease-out;
}

.solution-card {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.solution-card:hover {
    animation: floatAnimation 2s ease-in-out infinite;
}

/* Technology Section */
.technology-section .section-header {
    animation: slideInUp 0.8s ease-out;
}

.tech-feature {
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.tech-feature:nth-child(even) {
    animation: slideInLeft 0.8s ease-out;
}

/* Installation Section */
.installation-section .section-header {
    animation: slideInUp 0.8s ease-out;
}

.step-card {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.step-number {
    animation: floatAnimation 2s ease-in-out infinite;
}
