/* Hero Styles */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Minimum full screen, but can grow */
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    background-color: #fff;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: zoom 20s infinite alternate;
}

/* Mobile optimization for Hero image */
@media screen and (max-width: 768px) {
    .hero {
        display: block;
        height: auto;
        min-height: auto;
        padding: 0 !important;
        background-color: #fff;
        position: relative;
    }
    
    /* 1. Logo: Overlaid on top right of the image */
    .hero-content {
        position: absolute;
        top: 10px; 
        right: 10px; 
        width: 80px; 
        max-width: 25%;
        text-align: right;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10;
        display: block;
    }
    
    .hero-logo {
        width: 100%;
        height: auto;
        margin: 0 !important;
        display: block;
        animation: none;
        opacity: 1;
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
    }

    /* 2. Image: Standard flow */
    .hero-bg {
        position: relative;
        width: 100%;
        height: auto;
        z-index: 1;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-bg img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        display: block;
        margin: 0 !important;
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03); /* Slightly reduced for better focus on faces */
    }
}

.hero-content {
    position: absolute;
    top: 40px;
    right: 40px;
    text-align: right;
    z-index: 10;
    width: 35%;
    max-width: 300px;
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
    animation: fadeInLogo 1.5s ease-out forwards;
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator - Hidden globally per user request */
.scroll-down {
    display: none !important;
}

@keyframes drop {
    0% {
        top: -30%;
    }

    100% {
        top: 100%;
    }
}