/* ============================================
   Fluid Hero – Shared Styles
   ============================================ */

/* Hide original hero sections */
.page-id-54 .elementor-element-e114644,
.page-id-53 .elementor-element-efh0001 {
    display: none !important;
}

/* ---- Container (break out of .wrap / #primary) ---- */
.fluid-hero {
    position: relative;
    min-height: 600px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2205 0%, #061218 45%, #021a30 100%);
}

/* ---- Canvas ---- */
.fluid-hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: fhCanvasIn 1.4s ease-out both;
}

@keyframes fhCanvasIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- Overlay (text readability + vignette) ---- */
.fluid-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0,0,0,0.22) 65%, rgba(0,0,0,0.45) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.10) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.15) 100%);
}

/* ---- Content ---- */
.fluid-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 30px;
    max-width: 70%;
    pointer-events: none;
    animation: fhContentIn 0.9s ease-out 0.3s both;
}

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

/* ---- Subtitle ---- */
.fluid-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.fluid-hero__subtitle span {
    color: #8bc500;
    font-weight: 700;
}

/* ---- Title ---- */
.fluid-hero__title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 35px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

/* ---- Button ---- */
.fluid-hero__btn {
    display: inline-block;
    padding: 15px 40px;
    background: #8bc500;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    letter-spacing: 0.4px;
    border: 2px solid #8bc500;
    transition: background 0.35s ease, border-color 0.35s ease,
                transform 0.25s ease, box-shadow 0.35s ease;
    cursor: pointer;
    pointer-events: auto;
}

.fluid-hero__btn:hover,
.fluid-hero__btn:focus {
    background: #00a3e0;
    border-color: #00a3e0;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 163, 224, 0.35);
    text-decoration: none !important;
}

.fluid-hero__btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(0, 163, 224, 0.3);
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
    .fluid-hero {
        min-height: 450px;
    }
    .fluid-hero__content {
        max-width: 82%;
    }
    .fluid-hero__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .fluid-hero {
        min-height: 450px;
    }
    .fluid-hero__content {
        max-width: 92%;
        padding: 30px 20px;
    }
    .fluid-hero__title {
        font-size: 30px;
        margin-bottom: 28px;
    }
    .fluid-hero__subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .fluid-hero__btn {
        padding: 13px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .fluid-hero__title {
        font-size: 26px;
    }
    .fluid-hero__content {
        max-width: 96%;
        padding: 24px 16px;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .fluid-hero__canvas,
    .fluid-hero__content {
        animation: none !important;
    }
}
