/* Animations CSS */

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button Hover Animation */
.btn, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn:after, .btn-outline:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn:hover:after, .btn-outline:hover:after {
    left: 100%;
}

/* Header Scroll Animation */
.header-scroll {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Logo Animation */
#logo {
    transition: all 0.3s ease;
}

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

/* Image Hover Effects */
.image-container {
    overflow: hidden;
}

.image-container img {
    transition: all 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Team Member Hover Animation */
.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Value Card Hover Animation */
.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.value-card:hover .value-icon {
    transform: scale(1.1);
}

/* Social Icon Animation */
.social-icons a i {
    transition: all 0.3s ease;
}

.social-icons a:hover i {
    transform: rotate(360deg);
}

/* FAQ Toggle Animation */
.faq-toggle {
    transition: all 0.3s ease;
}

/* Form Input Focus Animation */
.form-group input, .form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* CTA Button Pulse Animation */
.cta .btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Mobile Menu Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.page-transition.active {
    transform: translateY(0);
}

/* Testimonial Hover Animation */
.testimonial {
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-left-width: 5px;
}

/* Process Step Animation */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(5px);
}

.process-step:hover .step-number {
    color: #ffffff;
}