/* Scroll Animation Classes */
/* Elements are visible by default - animations are enhancements */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply fade-in animation if explicitly enabled */
.fade-in.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.animate-on-scroll {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-left.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.animate-on-scroll {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-right.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.animate-on-scroll {
    opacity: 0;
    transform: scale(0.9);
}

.scale-in.animate-on-scroll.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

/* Hero Section Animations */
.hero__content {
    animation: fadeInUp 1s ease-out;
}

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

/* Button Hover Animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 151, 178, 0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card__icon,
.service-card__title,
.service-card__description,
.service-card__list {
    position: relative;
    z-index: 1;
}

/* Pricing Card Animation */
.pricing-card {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form Input Focus Animation */
.form__input {
    position: relative;
}

.form__input:focus {
    animation: inputPulse 0.3s ease-out;
}

@keyframes inputPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 151, 178, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 151, 178, 0);
    }
}

/* Loading Spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success Message Animation */
.form__success {
    animation: slideDown 0.3s ease-out;
}

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

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

