/* ===== AOS Custom Animations ===== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
}
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition-property: opacity, transform;
}
[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition-property: opacity, transform;
}
[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Hero Title Shimmer ===== */
.hero-title .gradient-text {
    background-size: 200% auto;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* ===== Float Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Pulse Glow ===== */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.3); }
    50% { box-shadow: 0 4px 40px rgba(255,107,53,0.6); }
}
.service-card.featured .service-icon {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ===== Stat Card Entrance ===== */
.stat-card {
    opacity: 0;
    animation: statEntrance 0.6s ease forwards;
}
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes statEntrance {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Process Step Activation ===== */
.process-step .step-icon {
    transition: all 0.5s ease;
}
.process-step.active .step-icon {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

/* ===== Ripple Effect ===== */
.ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: rippleExpand 1.5s ease-out forwards;
}
@keyframes rippleExpand {
    from { transform: scale(0); opacity: 1; }
    to { transform: scale(4); opacity: 0; }
}

/* ===== Product Card 3D Tilt ===== */
.product-item {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ===== Wave Animation ===== */
.hero-wave svg path {
    animation: waveMotion 4s ease-in-out infinite;
}
@keyframes waveMotion {
    0%, 100% { d: path("M0,60 C360,120 720,0 1080,60 C1260,90 1380,80 1440,60 L1440,120 L0,120 Z"); }
    50% { d: path("M0,80 C360,40 720,100 1080,40 C1260,60 1380,70 1440,80 L1440,120 L0,120 Z"); }
}

/* ===== Smooth Scroll Indicator ===== */
.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 100px;
    left: 50%;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    z-index: 2;
}
.hero-slide::before {
    content: '';
    position: absolute;
    bottom: 115px;
    left: calc(50% + -2px);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    z-index: 2;
    animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ===== Nav Link Active Transition ===== */
.nav-link {
    transition: color 0.3s ease;
}

/* ===== Industry Card Glow ===== */
.industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at 50% 0%, rgba(255,107,53,0.15), transparent 70%);
}
.industry-card { position: relative; }
.industry-card:hover::after { opacity: 1; }

/* ===== Contact Form Submit Animation ===== */
.btn-primary:active {
    transform: scale(0.97);
}

/* ===== Loading Skeleton ===== */
@keyframes shimmerLoad {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
