/* animations.css */

.leaf-decoration {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 350px;
    opacity: 0.6;
    z-index: -1;
    mix-blend-mode: multiply;
    /* Blends white background into cream */
}

@media (max-width: 768px) {
    .leaf-decoration {
        width: 200px;
        opacity: 0.4;
    }
}

/* ==========================================================
   Global Page Preloader with Round Rotating Logo & Transparent Background
   ========================================================== */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    will-change: opacity, visibility;
}

.page-preloader.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader-logo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .preloader-logo-wrap {
        width: 200px;
        height: 200px;
    }
}

.spinning-preloader-logo {
    width: 280px;
    height: 280px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    background: transparent;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.22));
    transform-origin: 50% 50%;
    animation: logoSingleRotate 0.9s cubic-bezier(0.35, 0, 0.25, 1) 0s 1 forwards;
    will-change: transform;
}

@media (max-width: 768px) {
    .preloader-logo-wrap,
    .spinning-preloader-logo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 400px) {
    .preloader-logo-wrap,
    .spinning-preloader-logo {
        width: 160px;
        height: 160px;
    }
}

/* Keyframes: Smooth 1 Full Round Rotation */
@keyframes logoSingleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}