/* ===== Main Banner Section ===== */
.main-banner {
    margin-top: 0 !important;
}

.main-banner .main-banner-relative {
    position: relative;
}

/* ===== Slider Container ===== */
.main-banner .main-banner-slider.swiper {
    height: clamp(30rem, 26.7474rem + 13.8776vw, 40.625rem);
    background-color: black;
    position: relative;
}

/* ===== Slide Overlay ===== */
.main-banner .slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    background-color: black;
    transition: opacity 400ms;
}

.main-banner .slide-overlay.opacity-0 {
    opacity: 0;
}

.main-banner .slide-overlay.opacity-100 {
    opacity: 1;
}

.main-banner .slide-overlay.fast-transition {
    transition: opacity 100ms;
}

.main-banner .main-banner-slide-content {
    position: relative;
    height: 100%;
    background-color: var(--background-color, transparent);
}

body.dark .main-banner .main-banner-slide-content {
    background-color: var(--background-color-dark, transparent);
}

.main-banner .main-banner-background {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: opacity 1300ms ease, transform 6000ms ease;
}

.main-banner .swiper-slide-active .main-banner-background {
    opacity: 1;
    transform: scale(1);
}

.main-banner .swiper-slide:not(.swiper-slide-active) .main-banner-background {
    opacity: 0;
    transform: scale(1.25);
    transition-delay: 400ms;
}

.main-banner .main-banner-bg-img,
.main-banner .main-banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-banner .main-banner-element-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
}

/* ===== Content Container ===== */
.main-banner .main-banner-content-container {
    display: flex;
    height: 100%;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .main-banner .main-banner-content-container {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .main-banner .main-banner-content-top {
        align-items: flex-start;
    }
    .main-banner .main-banner-content-center {
        align-items: center;
    }
    .main-banner .main-banner-content-bottom {
        align-items: flex-end;
    }
}

.main-banner .main-banner-content-left {
    flex-direction: row;
    text-align: start;
}

.main-banner .main-banner-content-right {
    flex-direction: row;
}

.main-banner .main-banner-content-center-h {
    flex-direction: row;
    justify-content: center;
}

.main-banner .main-banner-spacer {
    width: 100%;
}

@media (min-width: 768px) {
    .main-banner .main-banner-spacer {
        width: 50%;
    }
}

/* ===== Content Wrapper ===== */
.main-banner .content-wrapper {
    transition: opacity 900ms ease, transform 900ms ease;
}

.main-banner .swiper-slide-active .content-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 400ms;
}

.main-banner .swiper-slide:not(.swiper-slide-active) .content-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .main-banner .content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.main-banner .main-banner-mobile-top {
    margin-top: 57px;
}

@media (min-width: 768px) {
    .main-banner .main-banner-mobile-top {
        margin-top: 0;
    }
}

.main-banner .main-banner-mobile-bottom {
    margin-bottom: 85px;
}

@media (min-width: 768px) {
    .main-banner .main-banner-mobile-bottom {
        margin-bottom: 0;
    }
}

.rtl .main-banner .main-banner-content-right-wrapper {
    width: 100%;
}

.ltr .main-banner .main-banner-content-left-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .rtl .main-banner .main-banner-content-right-wrapper {
        padding-right: 40px;
    }
    .ltr .main-banner .main-banner-content-left-wrapper {
        padding-left: 40px;
    }
}

.main-banner .main-banner-content-center-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .main-banner .main-banner-content-center-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.rtl .main-banner .main-banner-content-left-wrapper {
    width: 100%;
}

.ltr .main-banner .main-banner-content-right-wrapper {
    width: 100%;
}

@media (min-width: 768px) {
    .rtl .main-banner .main-banner-content-left-wrapper {
        width: 50%;
        text-align: start;
    }
    .ltr .main-banner .main-banner-content-right-wrapper {
        width: 50%;
        text-align: start;
    }
}

@media (max-width: 768px) {
    .rtl .main-banner .main-banner-content-left .main-banner-spacer {
        display: none;
    }
    .ltr .main-banner .main-banner-content-right .main-banner-spacer {
        display: none;
    }
}

/* ===== Text Styles ===== */
.main-banner .main-banner-primary-text {
    width: fit-content;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .main-banner .main-banner-primary-text {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }
}

@media (min-width: 1024px) {
    .main-banner .main-banner-primary-text {
        font-size: 3rem;
    }
}

.main-banner .main-banner-sub-text {
    width: fit-content;
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .main-banner .main-banner-sub-text {
        font-size: 1.125rem;
        margin-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .main-banner .main-banner-sub-text {
        font-size: 1.5rem;
    }
}

/* ===== Buttons Wrapper ===== */
.main-banner .main-banner-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 900ms ease;
}

@media (min-width: 768px) {
    .main-banner .main-banner-buttons-wrapper {
        gap: 16px;
    }
}

.main-banner .swiper-slide-active .main-banner-buttons-wrapper {
    transform: translateY(0);
    transition-delay: 400ms;
}

.main-banner .swiper-slide:not(.swiper-slide-active) .main-banner-buttons-wrapper {
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .main-banner .swiper-slide:not(.swiper-slide-active) .main-banner-buttons-wrapper {
        transform: translateY(10px);
    }
}

.main-banner .main-banner-button {
    padding: 8px 12px;
    min-width: 112px;
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 768px) {
    .main-banner .main-banner-button {
        padding: 13px 24px;
        min-width: 192px;
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .main-banner .main-banner-button {
        font-size: 1.25rem;
    }
}

/* ===== Pagination ===== */
.main-banner .swiper-pagination {
    bottom: 25px !important;
}

.main-banner .swiper-pagination.pagination-right {
    text-align: right !important;
    left: -35px !important;
}

.main-banner .swiper-pagination.pagination-left {
    text-align: left !important;
    right: -35px !important;
}

.main-banner .swiper-pagination-bullet {
    background-color: transparent;
    width: 22px;
    height: 22px;
    align-content: center;
    position: relative;
    margin: 0 !important;
}

.main-banner .swiper-pagination-bullet .circular-progress-wrapper {
    background-color: rgba(255, 255, 255, 0.525);
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: background-color 0.4s ease;
}

.main-banner .swiper-pagination-bullet .circular-progress {
    transform: rotate(-90deg) translate(10px, 1px);
    transition: opacity 0.4s ease;
}

.main-banner .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: 1;
}

.main-banner .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) .circular-progress {
    opacity: 0;
}

.main-banner .swiper-pagination-bullet-active .circular-progress-wrapper {
    background-color: transparent;
}

.main-banner .swiper-pagination-bullet-active .circular-progress {
    opacity: 1;
}

.main-banner .swiper-pagination-bullet-active circle:last-child {
    stroke-dasharray: var(--stroke-dasharray);
    stroke-dashoffset: var(--stroke-dasharray);
    animation: animateCircularProgress var(--animation-transition) linear;
    stroke: white;
}

@keyframes animateCircularProgress {
    0% {
        stroke-dashoffset: var(--stroke-dasharray);
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* ===== Next Section Button ===== */
.main-banner .next-section-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    background-color: white;
    padding: 12px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-banner .next-section-button svg {
    display: block;
}
