/* === ONLY ANIMATIONS ADDED - DESIGN UNCHANGED === */

/* Section Heading Animations */
.section_heading h2 {
    animation: titleReveal 1s ease-out 0.3s both;
}

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

.color_big_heading {
    animation: gradientFlow 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section_heading p {
    animation: textReveal 0.8s ease-out 0.6s both;
}

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

/* Service Cards Animations */
.about_top_boxed {
    animation: cardReveal 0.8s ease-out both;
    animation-delay: calc(0.1s * var(--card-index));
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card Hover Animations */
.about_top_boxed {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about_top_boxed:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon Animations */
.about_top_boxed_icon {
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.about_top_boxed:hover .about_top_boxed_icon {
    animation: iconHover 0.6s ease-out forwards;
}

@keyframes iconHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

.about_top_boxed_icon img {
    transition: transform 0.3s ease;
}

.about_top_boxed:hover .about_top_boxed_icon img {
    transform: scale(1.1);
}

/* Text Content Animations */
.about_top_boxed_text p,
.about_top_boxed_text h3,
.about_top_boxed_text a {
    animation: fadeInUp 0.6s ease-out both;
}

.about_top_boxed_text p { animation-delay: 0.2s; }
.about_top_boxed_text h3 { animation-delay: 0.3s; }
.about_top_boxed_text a { animation-delay: 0.4s; }

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

/* Link Hover Animation */
.about_top_boxed_text a {
    position: relative;
    transition: all 0.3s ease;
}

.about_top_boxed_text a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #c8141f, #008b45);
    transition: width 0.3s ease;
}

.about_top_boxed_text a:hover::after {
    width: 100%;
}

.about_top_boxed_text a:hover {
    padding-left: 5px;
}

/* Vector Background Animation */
.about_top_boxed_vector {
    animation: vectorFloat 6s ease-in-out infinite;
}

@keyframes vectorFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(5deg) scale(1.05); }
    66% { transform: rotate(-3deg) scale(0.95); }
}

.about_top_boxed:hover .about_top_boxed_vector {
    animation: vectorSpin 0.8s ease-out;
}

@keyframes vectorSpin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(15deg) scale(1.1); }
}

.elementor-44 .elementor-element.elementor-element-588e977:not(.elementor-motion-effects-element-type-background),
.elementor-44 .elementor-element.elementor-element-588e977 >
.elementor-motion-effects-container > .elementor-motion-effects-layer {
    margin-left: -20px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-44 .elementor-element.elementor-element-588e977:not(.elementor-motion-effects-element-type-background),
    .elementor-44 .elementor-element.elementor-element-588e977 >
    .elementor-motion-effects-container > .elementor-motion-effects-layer {
        margin-left: 0 !important;
    }
}