/* Gradient backgrounds */


/* Gradient backgrounds */
.bg-gradient-blue        { background: linear-gradient(135deg, #9bbee1, #167ee6) !important; }
.bg-gradient-purple      { background: linear-gradient(135deg, #6365B5, #3D3E82) !important; }
.bg-gradient-green       { background: linear-gradient(135deg, #1781C3, #265F83) !important; }
.bg-gradient-orange      { background: linear-gradient(135deg, #FF9800, #F57C00) !important; }
.bg-gradient-dark-purple { background: linear-gradient(135deg, #5b4071, #9032dd) !important; }
.bg-gradient-teal        { background: linear-gradient(135deg, #4facfe, #00f2fe) !important; }
.bg-gradient-indigo      { background: linear-gradient(135deg, #ba450b, #a19e68) !important; }
.bg-gradient-cyan        { background: linear-gradient(135deg, #74b9ff, #0984e3) !important; }

.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}


/* New In Digilocker Section Cards CSS */

.new-digi-card {
    width: 285.827px;
    height: 136.496px;
    border-radius: 7.874px !important;
    /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
    border: 1px solid #fefafa06 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    &:hover {
        border: 1px solid #000 !important;
        font-size: 14px;
        transform: translate3d(0, -4px, 0);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    .new-digi-card-logo {
        width: 74px;
        height: 74px;
        flex-shrink: 0;
        aspect-ratio: 74.27/84.25;
        object-fit: cover;
        background: url(<path-to-image>) #ffffff 50% / cover no-repeat;
        border-radius: 50%;
        overflow: hidden;
    }
    .new-digi-card-title {
        color: #FFF;
        font-size: 14.961px;
        font-style: normal;
        font-weight: 500;
        line-height: 116%;
        /* 17.354px */
        letter-spacing: -0.673px;
        min-height: 55.118px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .new-digi-card-sub-title {
        color: #FFF;
        font-size: 12.598px;
        font-style: normal;
        font-weight: 700;
        line-height: 160%;
        /* 14.11px */
        letter-spacing: -0.126px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .new-digi-card-btn {
        display: flex;
        /* width: 94.488px; */
        height: 22.835px;
        padding: 2.362px 7.874px;
        justify-content: center;
        align-items: center;
        gap: 7.874px;
        flex-shrink: 0;
        border-radius: 5px;
        background: #ffffff;
        border: 1px solid white;
        font-size: 12.598px;
        font-style: normal;
        font-weight: 400;
        line-height: 135.99%;
        /* 16.125px */
        letter-spacing: -0.315px;
        margin-top: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* New In Digilocker Section Cards CSS Ended*/

.owl-stage {
    margin: 5px 0px;
}


/* // card simmer effects */

.card-shimmer {
    border-radius: 15px;
    height: 140px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}


/* Top section with logo and text */

.shimmer-top {
    display: flex;
    flex-direction: row;
    gap: 30px;
    word-spacing: 0em;
    padding: 20px 0;
}

.shimmer-logo {
    width: 90px;
    height: 90px;
    background: linear-gradient(90deg, #d1d5db 25%, #e5e7eb 50%, #d1d5db 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 50%;
    margin-bottom: 15px;
}

.shimmer-text {
    background: linear-gradient(90deg, #d1d5db 25%, #e5e7eb 50%, #d1d5db 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 8px;
}

.shimmer-text.title {
    height: 20px;
    width: 150px;
    @media (max-width: 768px) {
        width: 180px;
    }
    @media (min-width:768px) and (max-width:1024px) {
        width: 130px
    }
}

.shimmer-text.subtitle {
    height: 16px;
    width: 130px;
    margin: 5px 0;
}


/* Bottom button */

.shimmer-btn {
    width: 100px;
    height: 30px;
    background: linear-gradient(90deg, #d1d5db 25%, #e5e7eb 50%, #d1d5db 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 18px;
    align-self: flex-start;
    margin-top: 10px;
}


/* Staggered animation delays for more realistic effect */

.card-shimmer:nth-child(1) {
    animation-delay: 0s;
}

.card-shimmer:nth-child(2) {
    animation-delay: 0.2s;
}

.card-shimmer:nth-child(3) {
    animation-delay: 0.4s;
}

.card-shimmer:nth-child(4) {
    animation-delay: 0.6s;
}

.card-shimmer:nth-child(1) .shimmer-logo,
.card-shimmer:nth-child(1) .shimmer-text,
.card-shimmer:nth-child(1) .shimmer-btn {
    animation-delay: 0s;
}

.card-shimmer:nth-child(2) .shimmer-logo,
.card-shimmer:nth-child(2) .shimmer-text,
.card-shimmer:nth-child(2) .shimmer-btn {
    animation-delay: 0.2s;
}

.card-shimmer:nth-child(3) .shimmer-logo,
.card-shimmer:nth-child(3) .shimmer-text,
.card-shimmer:nth-child(3) .shimmer-btn {
    animation-delay: 0.4s;
}


/* Optional: Pulse effect for variety */

.card-shimmer.pulse-variant {
    animation: pulse 2s infinite;
    background: #f1f5f9;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-variant .shimmer-logo,
.pulse-variant .shimmer-text,
.pulse-variant .shimmer-btn {
    background: #e2e8f0;
    animation: pulse 2s infinite;
}
