﻿/* تأثير الليزر الأبيض على الصورة فقط */
.banner-image:last-child {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
}


.banner-image:last-child::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.4) 60%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: whiteLaser 5s infinite ease-in-out;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: overlay;
}

@keyframes whiteLaser {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    30% {
        transform: translateX(0%) translateY(0%) rotate(30deg);
        opacity: 1;
    }
    45% {
        opacity: 0.8;
    }
    60% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
        opacity: 0;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
        opacity: 0;
    }
}

/*-----------------------------------------------------*/
