/* ====================================================
   Hero Carousel for Elementor — Stylesheet
   ==================================================== */

/* Wrapper */
.hce-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Swiper container */
.hce-swiper {
    width: 100%;
    height: 100%;
}

/* Individual slide */
.hce-slide {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay layer */
.hce-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Inner content (padding is set via Elementor selectors) */
.hce-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
}

/* Content alignment variants */
.hce-slide-inner.align-left {
    justify-content: flex-start;
    text-align: left;
}

.hce-slide-inner.align-center {
    justify-content: center;
    text-align: center;
}

.hce-slide-inner.align-right {
    justify-content: flex-end;
    text-align: right;
}

/* Content wrapper (max-width set via Elementor selectors) */
.hce-content-wrap {
    width: 100%;
}

/* Heading */
.hce-heading {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

/* Sub-heading */
.hce-subheading {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

/* Button */
.hce-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #0066cc;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    line-height: 1.4;
}

.hce-btn:hover {
    background-color: #004499;
    color: #fff;
    transform: translateY(-2px);
}

/* ─── Navigation arrows ─────────────────────────── */
.hce-swiper .swiper-button-prev,
.hce-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.hce-swiper .swiper-button-prev:hover,
.hce-swiper .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

.hce-swiper .swiper-button-prev::after,
.hce-swiper .swiper-button-next::after {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

/* ─── Pagination dots ───────────────────────────── */
.hce-swiper .swiper-pagination {
    bottom: 20px;
}

.hce-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hce-swiper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
}

/* ─── Responsive defaults ───────────────────────── */
@media (max-width: 767px) {
    .hce-swiper .swiper-button-prev,
    .hce-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .hce-swiper .swiper-button-prev::after,
    .hce-swiper .swiper-button-next::after {
        font-size: 14px;
    }
}
