/* Base Styles for Slider */
.custom-swiper-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block; /* Ensure it's not inline or flex unexpectedly */
    min-height: 400px; /* Fallback height */
}

.custom-swiper-container .swiper-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
}

.custom-swiper-container .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f5f5f5; /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0; /* Crucial for Swiper */
    width: 100%; /* Default width for slides */
    height: 100%; /* Default height */
}

/* Background Overlay */
.swiper-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Content Area */
.swiper-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.inner-content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Alignment modifiers via Elementor prefix_class */
.custom-swiper-align-left .inner-content-wrapper {
    align-items: flex-start;
    text-align: left;
}

.custom-swiper-align-center .inner-content-wrapper {
    align-items: center;
    text-align: center;
}

.custom-swiper-align-right .inner-content-wrapper {
    align-items: flex-end;
    text-align: right;
}

/* Typography Elements */
.slide-top-title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.2;
}

.slide-description {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.6;
}

/* Icon & Title Layout */
.title-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.title-icon-wrapper.above {
    flex-direction: column;
    gap: 10px;
}

.slide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slide-icon i {
    font-size: 32px;
    color: #fff;
}

.slide-icon svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Button */
.slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 0px solid transparent;
}

.slide-button:hover {
    background-color: #e64a19;
    color: #fff;
}

.btn-icon {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}

.btn-icon i {
    font-size: 1em;
}

.btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Pagination (Dashes) */
.custom-swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 2px;
    margin: 0 5px !important; /* Force margin override */
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-block; /* Ensure block formatting context */
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
    background: #ff5722;
    width: 40px;
}

.custom-swiper-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Navigation Arrows */
.custom-swiper-button-prev,
.custom-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.custom-swiper-button-prev {
    left: 20px;
}

.custom-swiper-button-next {
    right: 20px;
}

.custom-swiper-button-prev i,
.custom-swiper-button-next i {
	font-size: 24px;
}

.custom-swiper-button-prev svg,
.custom-swiper-button-next svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}