/* Hero Slider Modern Design */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    padding: 20px 0 40px;
    /* Add some spacing */
}

@media (max-width: 1199px) {
    .hero-slider-section {
        margin-top: 40px; /* Increased breathing room from header on mobile/tablet */
        padding-top: 25px;
    }
}

/* Custom Navigation Arrows */
/* Fix Splide RTL Arrow Placement */
.hero-slider-section .splide__arrows {
    /* Ensure the arrows container spans full width */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    /* Let clicks pass through container */
    z-index: 10;
}

.hero-slider-section .splide__arrow {
    background: var(--primary-color, #5A6FDC) !important;
    opacity: 0;
    transition: all 0.3s ease;
    width: 3.5rem;
    height: 3.5rem;
    box-shadow: 0 4px 15px rgba(90, 111, 220, 0.4);
    pointer-events: auto;
    /* Re-enable clicks on arrows */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-slider-section .splide__arrow svg {
    fill: #ffffff !important;
    width: 1.5rem;
    height: 1.5rem;
    transition: fill 0.3s ease;
}

.hero-slider-section:hover .splide__arrow {
    opacity: 0.85;
}

.hero-slider-section .splide__arrow:hover {
    background: var(--primary-color, #ff6b6b) !important;
    /* Secondary hover color if needed or darker shade, let's stick to opacity 1 */
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* In RTL: 'Prev' arrow moves the slider forward (shows older/later slides) visually going right */
.hero-slider-section .splide__arrow--prev {
    right: 20px;
    left: auto;
}

/* In RTL: 'Next' arrow moves the slider backward visually going left */
.hero-slider-section .splide__arrow--next {
    left: 20px;
    right: auto;
}

/* Custom Pagination */
.hero-slider-section {
    position: relative;
    padding-bottom: 45px !important;
    margin-bottom: 30px !important;
}

.hero-slider-section.hero-slider-no-pagination .splide__pagination {
    display: none !important;
}

.hero-slider-section:not(.hero-slider-no-pagination) .splide__pagination {
    bottom: -24px !important;
    padding: 7px 18px !important;
    z-index: 15 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px !important;
    background: var(--card-bg, #ffffff) !important;
    border: 1px solid var(--border-color, #eef0fb) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    width: auto !important;
    max-width: min(90%, 360px) !important;
    margin: 0 auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

.hero-slider-section .splide__pagination li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hero-slider-section .splide__pagination li.dot-boundary {
    transform: scale(0.65) !important;
    opacity: 0.4 !important;
}

.hero-slider-section .splide__pagination__page {
    background: #cbd5e1 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    opacity: 0.8 !important;
    border: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

.hero-slider-section .splide__pagination__page:hover {
    background: #94a3b8 !important;
    transform: scale(1.15) !important;
}

.hero-slider-section .splide__pagination__page.is-active {
    background: var(--primary-color, #5A6FDC) !important;
    width: 22px !important;
    height: 8px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
    box-shadow: 0 2px 6px rgba(90, 111, 220, 0.2) !important;
}

/* Slide Content Wrapper */
.hero-slide-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none !important;
    aspect-ratio: 16 / 6;
    height: auto;
    min-height: 400px;
    width: 100%;
    margin: 0 auto;
    /* Aspect ratio for mobile can be handled via media queries */
}

/* Background Image */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.splide__slide.is-active .hero-slide-bg {
    transform: scale(1.05);
    /* Zoom effect on active */
    transition: transform 6s ease-out;
    /* Slow zoom */
}

/* Background Video */
.hero-slide-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}

.splide__slide.is-active .hero-slide-bg-video {
    transform: scale(1.03);
    transition: transform 8s ease-out, opacity 0.4s ease;
}

/* Overlay Gradient */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* RTL Gradient */
[dir="rtl"] .hero-slide-overlay {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Content Container */
.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

@media (min-width: 768px) {
    [dir="rtl"] .hero-slide-content.desktop-pos-right,
    .hero-slide-content.desktop-pos-right {
        justify-content: flex-start !important;
    }
    [dir="rtl"] .hero-slide-content.desktop-pos-left,
    .hero-slide-content.desktop-pos-left {
        justify-content: flex-end !important;
    }
    [dir="rtl"] .hero-slide-content.desktop-pos-center,
    .hero-slide-content.desktop-pos-center {
        justify-content: center !important;
    }
    .hero-slide-content.desktop-pos-center .hero-content-card {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

/* Glassmorphism Card for Text */
.hero-content-card {
    background: var(--card-bg-desktop, rgba(255, 255, 255, 0.18));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.2rem 2.5rem;
    border-radius: 20px;
    max-width: var(--box-width-d, 580px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease-out; /* Fallback for exit */
    text-align: center !important;
}

@keyframes sparkoCardFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.is-initialized .splide__slide.is-active .hero-content-card {
    animation: sparkoCardFade 0.6s ease-out both;
    animation-delay: var(--card-delay-desktop, 0.3s);
}

/* Custom Text Animations */
@keyframes sparkoTextFadeIn {
    0% { opacity: 0; transform: translateY(0) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-badge,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-title,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-desc,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-buttons-wrapper {
    animation: sparkoTextFadeIn 0.8s ease-out both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.1s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-desc {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.3s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in .hero-buttons-wrapper {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.5s);
}

@keyframes sparkoTextSlideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-badge,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-title,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-desc,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-buttons-wrapper {
    animation: sparkoTextSlideUp 0.8s ease-out both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.1s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-desc {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.3s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up .hero-buttons-wrapper {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.5s);
}

@keyframes sparkoTextSlideDown {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-badge,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-title,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-desc,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-buttons-wrapper {
    animation: sparkoTextSlideDown 0.8s ease-out both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.1s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-desc {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.3s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down .hero-buttons-wrapper {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.5s);
}

@keyframes sparkoTextBounce {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 1; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-badge,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-title,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-desc,
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-buttons-wrapper {
    animation: sparkoTextBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.1s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-desc {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.3s);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce .hero-buttons-wrapper {
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.5s);
}

.hero-content-card.text-anim-typing .hero-title {
    clip-path: inset(0 100% 0 0);
}
[dir="ltr"] .hero-content-card.text-anim-typing .hero-title {
    clip-path: inset(0 0 0 100%);
}
.is-initialized .splide__slide.is-active .hero-content-card.text-anim-typing .hero-title {
    animation: typing-clip-rtl 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.2s);
}
[dir="ltr"] .is-initialized .splide__slide.is-active .hero-content-card.text-anim-typing .hero-title {
    animation: typing-clip-ltr 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--card-delay-desktop, 0.3s) + 0.2s);
}
@keyframes typing-clip-rtl {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
@keyframes typing-clip-ltr {
    from { clip-path: inset(0 0 0 100%); }
    to { clip-path: inset(0 0 0 0); }
}

/* Typography & Elements */
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #ff6b6b;
    /* Accent color */
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.hero-title {
    font-size: var(--title-fs-d, 2.8rem);
    font-weight: 800;
    color: var(--title-color, #fff);
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    paint-order: stroke fill;
    -webkit-text-stroke: var(--title-stroke-width, 0px) var(--title-stroke-color, transparent);
    text-stroke: var(--title-stroke-width, 0px) var(--title-stroke-color, transparent);
}

.hero-desc {
    font-size: var(--desc-fs-d, 1.08rem);
    color: var(--desc-color, rgba(255, 255, 255, 0.9));
    line-height: 1.75;
    margin-bottom: 22px;
    paint-order: stroke fill;
    -webkit-text-stroke: var(--desc-stroke-width, 0px) var(--desc-stroke-color, transparent);
    text-stroke: var(--desc-stroke-width, 0px) var(--desc-stroke-color, transparent);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    color: #000;
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(-5px);
    /* Move arrow left on RTL */
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-slide-wrapper {
        aspect-ratio: 16 / 8;
        height: auto;
        min-height: 360px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content-card {
        padding: 2rem !important;
        max-width: 90% !important;
        background: var(--card-bg-mobile, rgba(255, 255, 255, 0.18)) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
    }

    .is-initialized .splide__slide.is-active .hero-content-card,
    .is-initialized .splide__slide.is-active .hero-content-card.text-anim-fade-in,
    .is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-up,
    .is-initialized .splide__slide.is-active .hero-content-card.text-anim-slide-down,
    .is-initialized .splide__slide.is-active .hero-content-card.text-anim-bounce {
        animation-delay: var(--card-delay-mobile, 0.3s) !important;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-section {
        padding: 10px 0 30px;
    }

    .hero-slide-wrapper {
        aspect-ratio: 19 / 10;
        height: auto;
        min-height: 320px;
        border-radius: 16px;
    }

    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.2) 100%) !important;
    }

    .hero-slide-content {
        padding: 0 16px;
        align-items: flex-end;
        padding-bottom: 30px;
    }

    .hero-content-card {
        background: var(--card-bg-mobile, rgba(255, 255, 255, 0.18)) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
        padding: 1.6rem 1.2rem !important;
        border-radius: 18px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
        margin: 0 auto !important;
    }

    .is-initialized .splide__slide.is-active .hero-content-card {
        animation-delay: var(--card-delay-mobile, 0.3s) !important;
    }
    
    .is-initialized .splide__slide.is-active .hero-content-card[class*="text-anim-"] .hero-badge,
    .is-initialized .splide__slide.is-active .hero-content-card[class*="text-anim-"] .hero-title,
    .is-initialized .splide__slide.is-active .hero-content-card[class*="text-anim-"] .hero-desc,
    .is-initialized .splide__slide.is-active .hero-content-card[class*="text-anim-"] .hero-buttons-wrapper {
        animation-delay: calc(var(--card-delay-mobile, 0.3s) + 0.1s) !important;
    }

    .hero-title {
        font-size: var(--title-fs-m, 1.65rem);
        margin-bottom: 12px;
        line-height: 1.3;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    }

    .hero-desc {
        font-size: var(--desc-fs-m, 0.95rem);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 20px;
        color: #ffffff;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    }

    .hero-slider-section:not(.hero-slider-no-pagination) .splide__pagination {
        bottom: -20px !important;
        padding: 6px 15px !important;
        gap: 8px !important;
    }

    .hero-slider-section .splide__track {
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .hero-slider-section .splide__progress {
        left: 0 !important;
        width: 100% !important;
        height: 4px !important;
        border-radius: 0 !important;
    }

    .hero-slider-section .splide__arrow {
        display: none;
        /* Hide arrows on mobile */
    }
}

/* Ensure main slider wrapper curves smoothly with slides while allowing dots outside */
.hero-slider-section .splide {
    border-radius: 24px !important;
    overflow: visible !important;
    box-shadow: none !important;
}

.hero-slider-section .splide__track {
    position: relative !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* Progress Bar Customization */
.hero-slider-section .splide__progress {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    z-index: 12 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.hero-slider-section .splide__progress__bar {
    height: 100% !important;
    background: var(--primary-color, #ff6b6b) !important;
    width: 0%;
    border-radius: 0 !important;
    transition: width 0.08s linear !important;
}

/* Fix Splide Fade & Custom Effects RTL Positioning and White Screen Bug */
.splide__track--fade > .splide__list,
.splide.effect-fade .splide__list,
.splide.effect-zoom-fade .splide__list,
.splide.effect-reveal .splide__list,
.splide.effect-scale .splide__list {
    display: block !important;
    position: relative !important;
}

.splide__track--fade > .splide__list > .splide__slide,
.splide.effect-fade .splide__slide,
.splide.effect-zoom-fade .splide__slide,
.splide.effect-reveal .splide__slide,
.splide.effect-scale .splide__slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    z-index: 0 !important;
    transform: none !important;
    pointer-events: none !important;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.splide__track--fade > .splide__list > .splide__slide.is-active,
.splide.effect-fade .splide__slide.is-active,
.splide.effect-zoom-fade .splide__slide.is-active,
.splide.effect-reveal .splide__slide.is-active,
.splide.effect-scale .splide__slide.is-active {
    position: relative !important;
    opacity: 1 !important;
    z-index: 2 !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* =========================================================
   Custom Cinematic Slide Transitions (Zoom-Fade, Reveal, Scale)
   ========================================================= */

/* 1. Zoom Fade (Ken Burns Effect) */
.splide.effect-zoom-fade .hero-slide-bg {
    transform: scale(1);
    transition: transform 14s cubic-bezier(0.25, 1, 0.5, 1);
}
.splide.effect-zoom-fade .splide__slide.is-active .hero-slide-bg {
    transform: scale(1.085);
}

/* 2. Curtain Reveal (Slide Up) */
.splide.effect-reveal .hero-slide-bg {
    transform: translateY(25px) scale(1.03);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.splide.effect-reveal .splide__slide.is-active .hero-slide-bg {
    transform: translateY(0) scale(1);
}
.splide.effect-reveal .hero-content-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-initialized.splide.effect-reveal .splide__slide.is-active .hero-content-card {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Depth & Scale 3D */
.splide.effect-scale .hero-slide-bg {
    transform: scale(1.12);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.splide.effect-scale .splide__slide.is-active .hero-slide-bg {
    transform: scale(1);
}
.splide.effect-scale .hero-content-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-initialized.splide.effect-scale .splide__slide.is-active .hero-content-card {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   Hover Pagination Thumbnails (Idea 3)
   ========================================================= */
.hero-slider-section .splide__pagination__page {
    position: relative !important;
    overflow: visible !important;
}
.splide-pagination-thumb {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    width: 90px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 2px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}
.splide-pagination-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.splide-pagination-thumb::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
}
.hero-slider-section .splide__pagination__page:hover .splide-pagination-thumb {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* =========================================================
   Dual CTA Buttons (Idea 5)
   ========================================================= */
.hero-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}
.hero-btn.btn-outline-glass {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}
.hero-btn.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: #fff !important;
    color: #fff !important;
}
@media (max-width: 767.98px) {
    .hero-buttons-wrapper {
        justify-content: center !important;
        gap: 10px;
    }
}

/* =========================================================
   Countdown Timer Badge (Idea 8)
   ========================================================= */
.hero-countdown-widget {
    background: rgba(0, 0, 0, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.countdown-title {
    font-size: 0.85rem;
    color: #ffda79;
    margin-bottom: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.hero-slide-content.desktop-pos-center .countdown-title {
    justify-content: center;
}
.countdown-boxes {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    direction: ltr;
}
.hero-slide-content.desktop-pos-center .countdown-boxes {
    justify-content: center;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.countdown-box {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 38px;
    height: 36px;
    min-width: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
}
.countdown-box span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: monospace, sans-serif;
}
.countdown-box small,
.cd-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffda79 !important;
    line-height: 1;
    margin: 4px 0 0 0;
    padding: 0;
    text-align: center;
}
.cd-colon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffda79;
    line-height: 1;
    margin-top: 8px;
}
.countdown-boxes.no-labels {
    align-items: center;
}
.countdown-boxes.no-labels .countdown-item {
    justify-content: center;
}
.countdown-boxes.no-labels .cd-colon {
    margin-top: 0;
}
@media (max-width: 767.98px) {
    .hero-content-card {
        padding: 1.4rem 1.25rem !important;
        max-width: 100% !important;
    }
    .hero-countdown-widget {
        width: auto;
        max-width: 100%;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px 12px;
        margin-bottom: 14px;
        gap: 6px;
    }
    .countdown-title {
        justify-content: center;
        width: 100%;
        font-size: 0.78rem;
        margin-bottom: 4px;
    }
    .countdown-boxes {
        justify-content: center;
        gap: 5px;
    }
    .countdown-box {
        width: 34px;
        height: 32px;
        min-width: 34px;
    }
    .countdown-box span {
        font-size: 1rem;
    }
    .countdown-box small,
    .cd-label {
        font-size: 0.58rem;
        margin: 3px 0 0 0;
    }
    .cd-colon {
        font-size: 1.1rem;
        margin-top: 7px;
    }
}

/* Prevent text selection and drag interactions on non-draggable slide elements like countdown & buttons */
.hero-countdown-widget,
.hero-countdown-widget *,
.splide__no-drag,
.splide__no-drag * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
}
.hero-countdown-widget {
    cursor: default !important;
}