/* Animation Base States */
.anim-initial {
    opacity: 0;
    transition-duration: 0.75s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-property: opacity, transform;
    will-change: transform, opacity;
}

/* Slide Up Animation */
.anim-slide-up {
    transform: translateY(20px);
}

.anim-slide-up.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Slide Down Animation */
.anim-slide-down {
    transform: translateY(-12px);
}

.anim-slide-down.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Zoom In Animation */
.anim-zoom-in {
    transform: scale(0.98) translateY(8px);
}

.anim-zoom-in.animated {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

/* Stagger Container */
.stagger-container .stagger-item {
    opacity: 0;
    transform: translateY(15px);
    transition-duration: 0.65s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-property: opacity, transform;
    will-change: transform, opacity;
}

.stagger-container.animated .stagger-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger Delays */
.stagger-container.animated .stagger-item:nth-child(1) {
    transition-delay: 0.08s;
}

.stagger-container.animated .stagger-item:nth-child(2) {
    transition-delay: 0.16s;
}

.stagger-container.animated .stagger-item:nth-child(3) {
    transition-delay: 0.24s;
}

.stagger-container.animated .stagger-item:nth-child(4) {
    transition-delay: 0.32s;
}

.stagger-container.animated .stagger-item:nth-child(5) {
    transition-delay: 0.40s;
}

.stagger-container.animated .stagger-item:nth-child(6) {
    transition-delay: 0.48s;
}

/* Micro-animations and Hover Effects */

/* Floating Hero Image */
@keyframes heroFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(0.8deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-image-element img {
    animation: heroFloat 6s ease-in-out infinite !important;
}

/* Stat Cards Hover Lift */
.hero-stat-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-stat-item:hover {
    transform: translateY(-6px) !important;
    /* box-shadow: 0 16px 32px -10px rgba(59, 130, 246, 0.25) !important; */
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Blog Cards Hover lift and shadow */
li.wp-block-post,
.blog-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

li.wp-block-post:hover,
.blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7) !important;
}

/* Button Subtle Hover Scale */
.hero-btn-explore-gradient,
.cta-primary-btn,
.cta-secondary-btn {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-btn-explore-gradient:hover,
.cta-primary-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
}

.cta-secondary-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}