/* ============================================
   GENERAL STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   BUTTON EFFECTS
   ============================================ */

button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* ============================================
   CARD HOVER EFFECTS
   ============================================ */

.case-study-card {
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-answer {
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* ============================================
   IMAGE EFFECTS
   ============================================ */

img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Counter animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-counter] {
    animation: count-up 0.6s ease backwards;
}

/* Slide in animation */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   INDUSTRY CARDS
   ============================================ */

.industry-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
    transform: translateY(-4px) scale(1.05);
}

/* ============================================
   METRIC CARDS
   ============================================ */

.metric-card {
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.dark .metric-card:hover {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}

/* ============================================
   CHALLENGE/APPROACH LISTS
   ============================================ */

.challenge-list li,
.approach-list li {
    animation: slide-in 0.5s ease backwards;
}

.challenge-list li:nth-child(1) { animation-delay: 0.1s; }
.challenge-list li:nth-child(2) { animation-delay: 0.2s; }
.challenge-list li:nth-child(3) { animation-delay: 0.3s; }
.challenge-list li:nth-child(4) { animation-delay: 0.4s; }
.challenge-list li:nth-child(5) { animation-delay: 0.5s; }

.approach-list li:nth-child(1) { animation-delay: 0.1s; }
.approach-list li:nth-child(2) { animation-delay: 0.2s; }
.approach-list li:nth-child(3) { animation-delay: 0.3s; }
.approach-list li:nth-child(4) { animation-delay: 0.4s; }
.approach-list li:nth-child(5) { animation-delay: 0.5s; }
.approach-list li:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   LINKS
   ============================================ */

a {
    transition: color 0.2s ease;
}

/* ============================================
   TESTIMONIAL CARD
   ============================================ */

.testimonial-card {
    border-left: 4px solid #10b981;
}

.dark .testimonial-card {
    border-left: 4px solid #059669;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .metric-card {
        padding: 1rem;
    }
}