/* ==============================
   TUTX Hero Image – Frontend CSS
   tutx-eg.com  v1.1
   ============================== */

.tutx-hero-wrap {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    /* Stretch edge-to-edge */
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Dark overlay */
.tutx-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Optional tagline text */
.tutx-hero-tagline {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Entrance animation */
@keyframes tutxFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tutx-hero-wrap {
    animation: tutxFadeIn 0.6s ease both;
}

/* Mobile */
@media (max-width: 768px) {
    .tutx-hero-wrap {
        height: 260px !important;
    }
    .tutx-hero-tagline {
        font-size: 1.2rem;
    }
}
