/* ============================================================
   Elementor Hero Slider – v2.0
   ============================================================ */

/* ── Wrapper ── */
.hero-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ── Swiper base ── */
.hero-slider-wrap .swiper,
.hero-slider-wrap .hero-swiper {
    width: 100%;
    height: 100%;
}

/* ── Individual Slide ── */
.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
}

/* ── Inner layout ── */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding: 60px;
    box-sizing: border-box;
}

/* ── Content ── */
.hero-content {
    flex: 1;
    max-width: 540px;
    color: #fff;
}

.hero-content h1,
.hero-content .hero-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
}

.hero-content p,
.hero-content .hero-desc {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.7;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.87);
}

/* ── CTA Button ── */
.hero-btn {
    display: inline-block;
    background: #2ce080;
    color: #003b1f;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 24px rgba(44, 224, 128, 0.35);
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(44, 224, 128, 0.55);
    text-decoration: none;
}

.hero-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ── Slide Image ── */
.hero-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img {
    max-width: min(420px, 40vw);
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.25));
}

/* ============================================================
   ANIMATED BACKGROUND RINGS
   ============================================================ */
.hero-rings {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    animation: heroRingPulse linear infinite;
    transform-origin: center center;
}

/* Ring sizes & positions – creates a layered, off-centre look */
.hero-ring-1 {
    width: 380px;
    height: 380px;
    top: -80px;
    right: -60px;
    animation-duration: 7s;
    border-width: 2px;
}

.hero-ring-2 {
    width: 560px;
    height: 560px;
    top: -160px;
    right: -140px;
    animation-duration: 9s;
    animation-delay: 0.6s;
    border-width: 1.5px;
}

.hero-ring-3 {
    width: 760px;
    height: 760px;
    top: -260px;
    right: -230px;
    animation-duration: 11s;
    animation-delay: 1.2s;
    border-width: 1px;
}

.hero-ring-4 {
    width: 980px;
    height: 980px;
    top: -380px;
    right: -320px;
    animation-duration: 14s;
    animation-delay: 1.8s;
    border-width: 0.8px;
}

.hero-ring-5 {
    width: 220px;
    height: 220px;
    bottom: -40px;
    left: -40px;
    animation-duration: 6s;
    animation-delay: 0.3s;
}

.hero-ring-6 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    left: -120px;
    animation-duration: 8.5s;
    animation-delay: 0.9s;
    border-width: 1.2px;
}

.hero-ring-7 {
    width: 600px;
    height: 600px;
    bottom: -220px;
    left: -200px;
    animation-duration: 12s;
    animation-delay: 1.5s;
    border-width: 1px;
}

.hero-ring-8 {
    width: 800px;
    height: 800px;
    bottom: -320px;
    left: -300px;
    animation-duration: 15s;
    animation-delay: 2s;
    border-width: 0.7px;
}

@keyframes heroRingPulse {
    0%   { transform: scale(0.92) rotate(0deg);   opacity: 0.6; }
    50%  { transform: scale(1.04) rotate(180deg); opacity: 1;   }
    100% { transform: scale(0.92) rotate(360deg); opacity: 0.6; }
}

/* ============================================================
   SLIDE CONTENT ENTRANCE ANIMATIONS
   ============================================================ */
.hs-anim-reset {
    opacity: 0;
    transform: translateY(28px);
    transition: none;
}

.hs-anim-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-anim-reset-img {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: none;
}

.hs-anim-in-img {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

/* ============================================================
   NAVIGATION – ARROWS
   ============================================================ */
.hero-slider-wrap .swiper-button-prev,
.hero-slider-wrap .swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.25s, transform 0.2s;
}

.hero-slider-wrap .swiper-button-prev:hover,
.hero-slider-wrap .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.08);
}

.hero-slider-wrap .swiper-button-prev::after,
.hero-slider-wrap .swiper-button-next::after {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   NAVIGATION – PAGINATION DOTS
   ============================================================ */
.hero-slider-wrap .swiper-pagination {
    bottom: 20px;
}

.hero-slider-wrap .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background 0.3s, transform 0.3s;
}

.hero-slider-wrap .swiper-pagination-bullet-active {
    background: #2ce080;
    transform: scale(1.35);
}

/* ============================================================
   RESPONSIVE FALLBACKS
   Elementor responsive controls (tablet/mobile) override these.
   These are only fallbacks for non-Elementor contexts.
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        padding: 48px 40px;
        gap: 30px;
    }
    .hero-image img {
        max-width: 320px;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: 0;
    }

    .hero-inner {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        padding: 48px 24px 64px;
        gap: 24px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        max-width: min(260px, 70vw);
    }

    .hero-slider-wrap .swiper-button-prev { left: 8px; }
    .hero-slider-wrap .swiper-button-next { right: 8px; }

    .hero-slider-wrap .swiper-button-prev,
    .hero-slider-wrap .swiper-button-next {
        width: 38px;
        height: 38px;
    }

    .hero-slider-wrap .swiper-button-prev::after,
    .hero-slider-wrap .swiper-button-next::after {
        font-size: 13px;
    }

    .hero-ring-1  { width: 220px; height: 220px; }
    .hero-ring-2  { width: 340px; height: 340px; }
    .hero-ring-3  { width: 460px; height: 460px; }
    .hero-ring-4  { width: 580px; height: 580px; }
}

@media (max-width: 480px) {
    .hero-inner {
        padding: 36px 16px 60px;
    }
}
