/* ===== HERO ENTRANCE ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes floatY {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-15px);
    }
}

@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(53, 133, 88, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(53, 133, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(53, 133, 88, 0);
    }
}

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

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

/* ===== APPLY HERO ANIMATIONS ===== */
.hero-badge {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-content h1 {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-content > p {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-visual {
    animation: fadeSlideLeft 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

/* ===== FLOATING ELEMENTS ===== */
.phone-mockup {
    animation: floatY 3s ease-in-out infinite alternate;
}

.hero-float-1 {
    animation: floatRotate 4s ease-in-out infinite;
}

.hero-float-2 {
    animation: floatRotate 5s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-float-3 {
    animation: floatRotate 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* ===== HOVER ANIMATIONS ===== */
.btn-primary:hover {
    animation: pulse 1s ease;
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-number {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover .step-number {
    transform: scale(1.1);
}

/* ===== NAVBAR ANIMATION ===== */
.navbar {
    animation: slideDown 0.5s ease;
}

/* ===== PAGE HEADER ANIMATION ===== */
.page-header h1 {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.page-header p {
    animation: fadeSlideUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* ===== TEAM PHOTO ANIMATION ===== */
.team-photo {
    transition: all 0.4s ease;
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(53, 133, 88, 0.3);
}

/* ===== CONTACT CARD HOVER ===== */
.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

/* ===== FOOTER SOCIAL HOVER ===== */
.footer-social a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}
