/* resources/css/case-studies.css */

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

.case-study-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.case-study-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(239, 68, 68, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.case-study-card:hover::after {
    opacity: 1;
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.3);
}

.stat-glow {
    position: relative;
}

.stat-glow::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.pagination-dot.active {
    width: 24px;
    background: #ef4444;
}

/* Service icon tag on card */
.service-tag {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #ef4444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.5);
    z-index: 10;
}
