/* Decorative Leaves Styles */
.decorative-leaves {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 150px;
    pointer-events: none;
    z-index: 1000;
}

.decorative-leaves.left {
    left: 0;
}

.decorative-leaves.right {
    right: 0;
    transform: scaleX(-1); /* Mirror the right side leaves */
}

.decorative-leaf {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('../img/lief1.png') no-repeat center center;
    background-size: contain;
    opacity: 0.2;
    filter: brightness(92%) contrast(130%);
    mix-blend-mode: multiply;
}

.decorative-leaf:nth-child(1) {
    top: 20%;
    left: -20px;
    animation: floatLeft 8s infinite ease-in-out;
}

.decorative-leaf:nth-child(2) {
    top: 45%;
    left: 10px;
    animation: floatLeft 8s infinite ease-in-out 1s;
    transform: rotate(45deg);
}

.decorative-leaf:nth-child(3) {
    top: 70%;
    left: -15px;
    animation: floatLeft 8s infinite ease-in-out 2s;
}

.decorative-leaf.leaf2 {
    background-image: url('../img/lief2.png');
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateX(0) rotate(0);
    }
    50% {
        transform: translateX(10px) rotate(5deg);
    }
}

/* Media queries for responsive behavior */
@media screen and (max-width: 1200px) {
    .decorative-leaves {
        width: 120px;
    }
    .decorative-leaf {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 992px) {
    .decorative-leaves {
        width: 100px;
    }
    .decorative-leaf {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .decorative-leaves {
        display: none; /* Hide on mobile */
    }
}