/**
 * Custom Slider Plugin - Frontend Styles
 */

/* Force full width on slider container */
.cs-slider-container,
.cs-slider-container .swiper,
.cs-slider-container .swiper-wrapper,
.cs-slider-container .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cs-slider-container {
    position: relative;
    width: 100vw !important;
    max-width: 100% !important;
    height: 550px !important;
    overflow: hidden;
    left: 50%;
    right: 0;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.cs-slide {
    position: relative;
    width: 100%;
    height: 550px !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

/* Image and Video Slides */
.cs-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px;
    z-index: 1;
}

.cs-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cs-video-bg {
    object-fit: cover;
    width: 100%;
    height: 550px;
}

/* ========== CIRCLE SLIDE LAYOUT ========== */
.cs-slide-type-circle {
    background-color: #5497E9 !important;
    position: relative;
    height: 550px !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Bottom curve for desktop */
    clip-path: ellipse(100% 92% at 50% 8%);
}

/* DESKTOP LAYOUT - Visible on >= 1024px */
.cs-desktop-layout {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.cs-mobile-layout {
    display: none;
}

/* CIRCLE SLIDE WRAPPER */
.cs-circle-layout {
    position: relative;
    width: 100%;
    height: 100%;
}

/* BIG CIRCLE OUTER WRAPPER - Fixed 750px size */
.cs-big-circle-outer {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 750px;
    height: 750px;
    z-index: 2;
}

/* BIG CIRCLE CONTAINER */
.cs-big-circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: visible;
}

/* BIG CIRCLE CONTENT */
.cs-big-circle-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.cs-big-circle-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SMALL CIRCLES - Adjusted for 750px big circle
   ============================================ */

/* SMALL CIRCLES STACK - Positioned relative to big circle */
.cs-small-circles-stack {
    position: absolute;
    right: calc(750px - 130px);
    top: 84%;
    transform: translateY(-50%) rotate(-129deg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

/* 3 small circles */
.cs-small-c {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    transition: all 0.3s ease;
}

.cs-small-c.c1 {
    width: 88px;
    height: 88px;
    opacity: 0.5;
}

.cs-small-c.c2 {
    width: 138px;
    height: 138px;
    opacity: 0.5;
}

.cs-small-c.c3 {
    width: 185px;
    height: 185px;
    opacity: 0.5;
}

/* TEXT OVERLAY - Shared between desktop and mobile */
.cs-slide-overlay {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    text-align: left;
    max-width: 45%;
}

.cs-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cs-slide-title {
    font-family: 'Frutiger LT light';
    font-size: 68px;
    line-height: 100px;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
	font-weight:100!important;
}

.cs-slide-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    line-height: 1.4;
    font-weight: 300;
}

.cs-slide-button {
    display: inline-block;
    padding: 12px 35px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cs-slide-button:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* Swiper Navigation */
.cs-swiper-button-next,
.cs-swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 30;
}

.cs-swiper-button-next:after,
.cs-swiper-button-prev:after {
    font-size: 18px;
}

.cs-swiper-pagination {
    z-index: 30;
}

.cs-swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.cs-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* ============================================
   MOBILE/TABLET BREAKPOINT (< 1024px)
   ============================================ */

@media (max-width: 1023px) {
    
    /* Remove desktop curve on mobile */
    .cs-slide-type-circle {
        clip-path: none;
    }
    
    /* Hide desktop layout, show mobile layout */
    .cs-desktop-layout {
        display: none !important;
    }
    
    .cs-mobile-layout {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    /* Mobile media - full width, full height */
    .cs-mobile-media {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .cs-mobile-image {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .cs-mobile-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Brightness overlay on mobile media */
    .cs-mobile-media {
        filter: brightness(0.85);
    }
    
    /* Text shadow on mobile */
    .cs-slide-title {
        text-shadow: 2px 2px 6px #121a42;
    }
    
    .cs-slide-subtitle {
        text-shadow: 1px 1px 4px #121a42;
    }
    
    .cs-slide-button {
        text-shadow: 1px 1px 2px #121a42;
    }
    
    /* Adjust text position for mobile */
    .cs-slide-overlay {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
}

/* ============================================
   DESKTOP RESPONSIVE
   ============================================ */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .cs-slide-title {
        font-size: 78px;
        line-height: 110px;
    }
    .cs-slide-type-circle {
        clip-path: ellipse(100% 94% at 50% 6%);
    }
    .cs-small-circles-stack {
        right: calc(750px - 10px);
        gap: 14px;
        top: 84%;
    }
}

/* Standard Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .cs-slide-title {
        font-size: 68px;
        line-height: 100px;
    }
    .cs-slide-type-circle {
        clip-path: ellipse(100% 92% at 50% 8%);
    }
    .cs-small-circles-stack {
        right: calc(750px - 10px);
        gap: 12px;
        top: 84%;
    }
}

/* Small Desktop (992px - 1023px) */
@media (min-width: 992px) and (max-width: 1023px) {
    .cs-slide-title {
        font-size: 52px;
        line-height: 80px;
    }
    .cs-slide-type-circle {
        clip-path: ellipse(100% 91% at 50% 9%);
    }
    .cs-small-c.c1 {
        width: 70px;
        height: 70px;
    }
    .cs-small-c.c2 {
        width: 110px;
        height: 110px;
    }
    .cs-small-c.c3 {
        width: 148px;
        height: 148px;
    }
    .cs-small-circles-stack {
        right: calc(750px - 110px);
        gap: 8px;
        top: 84%;
    }
}

/* Tablet Landscape (768px - 991px) - mobile layout active */
@media (min-width: 768px) and (max-width: 991px) {
    .cs-slider-container,
    .cs-slide,
    .cs-slide-type-circle,
    .cs-slide-background,
    .cs-video-bg {
        height: 450px !important;
    }
    .cs-slide-title {
        font-size: 44px;
        line-height: 65px;
    }
    .cs-slide-subtitle {
        font-size: 16px;
    }
}

/* Tablet (below 768px) - mobile layout active */
@media (max-width: 767px) {
    .cs-slider-container,
    .cs-slide,
    .cs-slide-type-circle,
    .cs-slide-background,
    .cs-video-bg {
        height: 450px !important;
    }
    .cs-slide-title {
        font-size: 32px;
        line-height: 50px;
        text-align: center;
    }
    .cs-slide-subtitle {
        font-size: 14px;
        text-align: center;
    }
    .cs-slide-overlay {
        text-align: center;
    }
    .cs-overlay-content {
        align-items: center;
    }
}

/* Mobile (below 480px) - mobile layout active */
@media (max-width: 480px) {
    .cs-slider-container,
    .cs-slide,
    .cs-slide-type-circle,
    .cs-slide-background,
    .cs-video-bg {
        height: 350px !important;
    }
    .cs-slide-title {
        font-size: 24px;
        line-height: 38px;
    }
}