﻿/* litds-success-stories.html: custom styles extracted from the page markup. */

/* =====================================================
       CUSTOM MOTION
    ===================================================== */

    .story-card {
        opacity: 0;
        transform: translateY(50px);
        transition:
            opacity 0.8s ease,
            transform 0.8s cubic-bezier(.2,.8,.2,1);
    }

    .story-card.show {
        opacity: 1;
        transform: translateY(0);
    }


    /* =====================================================
       IMAGE ZOOM
    ===================================================== */

    .story-image {
        transition:
            transform 0.7s cubic-bezier(.2,.8,.2,1);
    }

    .story-card:hover .story-image {
        transform: scale(1.08);
    }


    /* =====================================================
       QUOTE MARK
    ===================================================== */

    .quote-mark {
        transition:
            transform 0.5s ease,
            opacity 0.5s ease;
    }

    .story-card:hover .quote-mark {
        transform: scale(1.15) rotate(-5deg);
        opacity: 0.9;
    }


    /* =====================================================
       CARD BORDER GLOW
    ===================================================== */

    .story-card-inner {
        transition:
            transform 0.5s ease,
            box-shadow 0.5s ease;
    }

    .story-card:hover .story-card-inner {
        transform: translateY(-8px);
        box-shadow:
            0 30px 80px rgba(15, 23, 42, 0.13);
    }


    /* =====================================================
       DECORATIVE LINE
    ===================================================== */

    .story-line {
        width: 0;
        transition: width 0.6s ease;
    }

    .story-card:hover .story-line {
        width: 55px;
    }


    /* =====================================================
       LOADING
    ===================================================== */

    .loader {
        width: 42px;
        height: 42px;
        border: 4px solid #e2e8f0;
        border-top-color: #f59e0b;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }


    /* =====================================================
       HEADER ANIMATION
    ===================================================== */

    .section-badge {
        animation: badgeFloat 3s ease-in-out infinite;
    }

    @keyframes badgeFloat {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-4px);
        }

    }


    /* =====================================================
       MOBILE OPTIMIZATION
    ===================================================== */

    @media (max-width: 640px) {

        .story-card-inner {
            border-radius: 1.5rem;
        }

    }


