/* ==========================================
   HERO LOGO ANIMATION (MAGNIFICENT)
   ========================================== */

.hero-logo-container {
    opacity: 0;
    animation: heroLogoReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
    z-index: 10;
}

.hero-logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    transform-origin: center center;
    animation: heroLogoFloat 6s ease-in-out infinite;
}

/* Glow Effect behind the logo */
.hero-logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(30px);
    z-index: -1;
    animation: heroGlowPulse 4s ease-in-out infinite alternate;
}

/* Entrance Animation */
@keyframes heroLogoReveal {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Floating Animation */
@keyframes heroLogoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Glow Pulse Animation */
@keyframes heroGlowPulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Desktop Positioning - Logo partially outside on right */
@media (min-width: 992px) {
    .hero-logo-container {
        position: absolute !important;
        top: 160px !important;
        right: -15% !important;
        margin-right: 16% !important;
        /* Adjusted to move right as requested */
        left: auto !important;
        transform: none !important;
        z-index: 1000 !important;
    }

    .hero-logo-img {
        max-width: 250px !important;
        display: block !important;
    }

    .hero-logo-container::after {
        width: 280px !important;
        height: 280px !important;
    }
}

/* Mobile Positioning - Hidden */
@media (max-width: 991px) {
    .hero-logo-container {
        display: none !important;
    }
}