/**
 * ST Slider Style 6 CSS
 * Responsive 50/50 Split Layout with Navy Background and Circular Pattern
 * All classes prefixed with .st-style6 for consistency
 */

/* Base Styles */
.mkh-slider-wrapper {
    position: relative;
    /*width: 100%;*/
    overflow: hidden;
    margin-bottom: 30px;
}

.st-style6-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: 
        linear-gradient(135deg, #011d4e 0%, #0046be 100%) 0 0 / 90% 100% no-repeat,
        #fff;
}

/* Background overlay that covers left column + 40% of right */
.st-style6-swiper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%; /* 50% (left column) + 20% (40% of right column) = 70% total */
    height: 100%;
    background: linear-gradient(135deg, #003a9b 0%, #0046be 100%);
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 120px 120px, 150px 150px;
    background-position: 0 0, 60px 60px;
    opacity: 0.3;
    animation: patternFloat 20s ease-in-out infinite;
    z-index: 0;
}

/* Concentric circle patterns underneath slide content - Reduced */
.st-style6-swiper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 40%;
    background: 
        /* Single subtle concentric circle */
        radial-gradient(circle at 50% 50%, 
            transparent 30px, 
            rgba(255,255,255,0.04) 31px, 
            rgba(255,255,255,0.04) 32px, 
            transparent 33px,
            transparent 45px,
            rgba(255,255,255,0.03) 46px,
            rgba(255,255,255,0.03) 47px,
            transparent 48px
        );
    background-size: 150px 150px;
    background-position: 0 0;
    opacity: 0.5;
    animation: concentricFloat 25s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Slide Container */
.st-style6-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main 50/50 Container */
.st-style6-container {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Left Column - Content Only */
.st-style6-left-column {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    overflow: visible;
    z-index: 1;
}


/* Circular Pattern Overlay */
.st-style6-circular-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 25%, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 25% 75%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2.5px, transparent 2.5px);
    background-size: 80px 80px, 120px 120px, 60px 60px, 100px 100px;
    background-position: 0 0, 40px 40px, 20px 20px, 60px 60px;
    opacity: 0.4;
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-3px); }
    75% { transform: translateY(-15px) translateX(2px); }
}

@keyframes concentricFloat {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateX(5px) translateY(-8px) scale(1.02);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(-3px) translateY(-5px) scale(0.98);
        opacity: 0.7;
    }
    75% { 
        transform: translateX(8px) translateY(-10px) scale(1.01);
        opacity: 0.85;
    }
}

/* Content Styling */
.st-style6-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.st-style6-tag {
    display: block;
    padding: 4px 8px;
    margin-bottom: 20px;
    background-color: #fcbe1f;
    color: #1a365d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 9px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    width: fit-content;
}

/* Entry Animation States */
.swiper-slide-active .st-style6-tag,
.st-style6-slide.st-style6-active .st-style6-tag {
    animation: fadeInUpFast 0.6s ease-out 0.1s forwards;
}

.swiper-slide-active .st-style6-title,
.st-style6-slide.st-style6-active .st-style6-title {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.swiper-slide-active .st-style6-description,
.st-style6-slide.st-style6-active .st-style6-description {
    animation: fadeInUp 0.7s ease-out 0.3s forwards;
}

.swiper-slide-active .st-style6-cta-btn,
.st-style6-slide.st-style6-active .st-style6-cta-btn {
    animation: fadeInUpSlow 0.9s ease-out 0.4s forwards;
}

/* Exit Animation States */
.st-style6-slide.st-style6-exiting .st-style6-tag,
.st-style6-slide.st-style6-exiting .st-style6-title,
.st-style6-slide.st-style6-exiting .st-style6-description,
.st-style6-slide.st-style6-exiting .st-style6-cta-btn {
    animation: fadeOutDown 0.4s ease-in forwards;
}


/* slider title */
.st-style6-title {
    font-size: 35px;
    font-family: Butler;
    font-weight: 700;
    line-height: 52px;
   margin-bottom: 24px;
   color: #ffffff;
   opacity: 0;
   transform: translateY(30px);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-rendering: optimizeLegibility;
   backface-visibility: hidden;
   -webkit-backface-visibility: hidden;
   position: relative;
   cursor: pointer;
   display: inline; /* required for per-line underline */
   text-decoration: none; /* default off */
}

.st-style6-title:hover {
   text-decoration: underline;
   text-decoration-thickness: 2px;   /* adjust thickness */
   text-underline-offset: 4px;       /* spacing from text */
}


/* end slider */
.st-style6-description {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 32px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    min-height: 0; /* Ensures no space is taken when empty */
}

.st-style6-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #0046be;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 12px 35px rgba(0, 70, 190, 0.25), 0 4px 15px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(40px);
    margin-top: auto; /* Push button to bottom when no description */
    align-self: flex-start; /* Prevent button from stretching */
}

.st-style6-cta-btn:hover {
    background: #000;
    color: #ffffff;
    transform: translateY(-2px);
}

.st-style6-cta-btn svg {
    transition: transform 0.3s ease;
}

.st-style6-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Right Column - Flyer Layout */
.st-style6-right-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    z-index: 2;
    position: relative;
}

.st-style6-flyer-wrapper {
    width: 100%;
    height: 0px;
    /* border-radius: 12px; */
    padding-bottom: 55.25%;
    /*height: 500px;*/
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.st-style6-flyer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
    min-height: 100%;
}

.st-style6-slide.active .st-style6-flyer-image {
    transform: scale(1.02);
}

.st-style6-flyer-overlay {
    display: none;
}

.st-style6-flyer-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: white;
}

.st-style6-flyer-top {
    display: flex;
    justify-content: flex-end;
}

.st-style6-flyer-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #1a365d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.st-style6-flyer-bottom {
    text-align: left;
}

.st-style6-flyer-heading {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.st-style6-flyer-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.st-style6-flyer-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.st-style6-flyer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.st-style6-flyer-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.st-style6-flyer-placeholder .st-style6-flyer-content {
    color: #64748b;
    text-align: center;
}

.st-style6-flyer-placeholder .st-style6-flyer-badge {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.st-style6-flyer-placeholder .st-style6-flyer-heading {
    color: #475569;
    text-shadow: none;
}

.st-style6-flyer-placeholder .st-style6-flyer-text {
    color: #64748b;
    text-shadow: none;
}

.st-style6-flyer-placeholder .st-style6-flyer-button {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Navigation Controls - Clean Design */
/* Previous Button - Left Side */
.st-style6-prev {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 40px;
    z-index: 10;
}

.st-style6-prev:hover {
    transform: translateY(-50%) scale(1.2);
    color: #fcbe1f;
}

/* Next Button - Right Side */
.st-style6-next {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-size: 40px;
    z-index: 10;
}

.st-style6-next:hover {
    transform: translateY(-50%) scale(1.2);
    color: #fcbe1f;
}

.st-style6-nav-btn i {
    transition: transform 0.2s ease;
}

.st-style6-prev:hover i {
    transform: translateX(-5px);
}

.st-style6-next:hover i {
    transform: translateX(5px);
}

/* Pagination Dots - Below Slider */
.st-style6-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.st-style6-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.st-style6-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.st-style6-pagination .swiper-pagination-bullet-active {
    background: #fcbe1f;
    width: 30px;
    border-radius: 6px;
}

/* Animations */
/* Simple Entry Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpSlow {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpFast {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exit Animations */
@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Tablet and Mobile Stacking Layout */
@media (max-width: 1024px) {
    /* Adjust navigation for tablet */
    .st-style6-prev {
        left: 15px;
        font-size: 35px;
    }
    
    .st-style6-next {
        right: 15px;
        font-size: 35px;
    }
    
    .st-style6-pagination {
        bottom: 20px;
        gap: 10px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet-active {
        width: 25px;
    }
    /* Full width background cover */
    .st-style6-swiper {
        background: linear-gradient(135deg, #003a9b 0%, #0046be 100%);
        width: 100%;
        position: relative;
    }

    .st-style6-container {
        display: flex;
        flex-direction: column;
        min-height: auto;
        height: auto;
    }

    /* Image on top */
    .st-style6-right-column {
        order: 1;
        width: 100%;
        flex: none;
        min-height: auto;
    }

    .st-style6-flyer-wrapper {
        width: 100%;
        padding-bottom: 40%;
        /*height: auto;*/
    }

    .st-style6-flyer-image {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        object-position: center;
    }

    /* Text below */
    .st-style6-left-column {
        order: 2;
        flex: none;
        width: 100%;
        min-height: auto;
        padding: 28px 20px;
        box-sizing: border-box;

        /* ✅ Align everything left */
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Title */
    .st-style6-title {
        font-size: 25px; /* fixed size */
        font-weight: 700; /* remain bold */
        line-height: 1.2;
        margin-bottom: 1px; /* tighter spacing */
    }

    /* Description */
    .st-style6-description {
        font-size: 15px; /* fixed size */
        line-height: 1.4;
        margin-bottom: 16px; /* tighter spacing */
    }

    /* Button */
    .st-style6-cta-btn {
        padding: 10px 18px;
        font-size: 13px;
        margin-bottom: 20px;
        align-self: flex-start; /* ✅ keep button left */
    }

    .st-style6-flyer-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .st-style6-flyer-content {
        padding: 20px;
    }

    .st-style6-flyer-heading {
        font-size: clamp(18px, 2.5vw, 24px);
    }

    .st-style6-flyer-text {
        font-size: 13px;
    }

    .st-style6-flyer-button {
        padding: 10px 20px;
        font-size: 13px;
    }

  
}

/* Responsive Design */
@media (max-width: 991px) {
    .st-style6-prev {
        left: 12px;
        font-size: 32px;
    }
    
    .st-style6-next {
        right: 12px;
        font-size: 32px;
    }
    
    .st-style6-pagination {
        bottom: 18px;
        gap: 8px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet-active {
        width: 22px;
    }
    
    .st-style6-container {
        min-height: 600px;
    }
    
    .st-style6-left-column {
        padding: 50px 30px;
    }
    
    .st-style6-title {
        font-size: clamp(28px, 3.5vw, 48px);
    }
    
    .st-style6-description {
        font-size: 16px;
    }
    
    .st-style6-flyer-wrapper {
        height: 400px;
    }
    
    .st-style6-flyer-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .st-style6-flyer-content {
        padding: 20px;
    }
    
    .st-style6-flyer-heading {
        font-size: clamp(18px, 2.5vw, 24px);
    }
    
    .st-style6-flyer-text {
        font-size: 13px;
    }
    
    .st-style6-flyer-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Mobile Stacking Layout */
@media (max-width: 767px) {
    /* Full width background cover for mobile */
    .st-style6-swiper {
        background: linear-gradient(135deg, #003a9b 0%, #0046be 100%);
    }
    
    .st-style6-swiper::before {
        width: 100%; /* Full width coverage on mobile */
    }
    
    .st-style6-container {
        flex-direction: column;
        min-height: auto;
    }
    
    /* Image on top for mobile */
    .st-style6-right-column {
        order: 1;
        min-height: 300px; /* Reduced from 300px */
        flex: none;
    }
    
    .st-style6-flyer-wrapper {
        height: 300px; /* Reduced from 300px */
    }
    
    .st-style6-flyer-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .st-style6-flyer-content {
        padding: 16px;
    }
    
    .st-style6-flyer-heading {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .st-style6-flyer-text {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .st-style6-flyer-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .st-style6-flyer-badge {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* Text below for mobile */
    .st-style6-left-column {
        order: 2;
        flex: none;
        min-height: 320px; /* Reduced from 400px */
        padding: 30px 20px; /* Reduced padding */
        position: relative;
    }
    
    /* Add background overlay for mobile content */
    .st-style6-left-column::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #003a9b 0%, #0046be 100%);
        background-image: 
            radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
            radial-gradient(circle at 70% 70%, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 120px 120px, 150px 150px;
        background-position: 0 0, 60px 60px;
        opacity: 0.3;
        z-index: 0;
        pointer-events: none;
    }
    
    /* Ensure content stays above overlay */
    .st-style6-left-column > * {
        position: relative;
        z-index: 1;
    }
    
    .st-style6-title {
        font-size: 22px; /* Reduced from 26px */
        margin-bottom: 12px; /* Reduced from 16px */
        line-height: 1.1;
    }
    
    .st-style6-description {
        font-size: 14px; /* Reduced from 15px */
        margin-bottom: 20px; /* Reduced from 24px */
        line-height: 1.4;
    }
    
    .st-style6-cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* Mobile navigation */
    .st-style6-prev {
        left: 10px;
        font-size: 28px;
    }
    
    .st-style6-next {
        right: 10px;
        font-size: 28px;
    }
    
    .st-style6-pagination {
        bottom: 15px;
        gap: 6px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}

@media (max-width: 575px) {
    .st-style6-right-column {
        min-height: 220px; /* Further reduced */
    }
    
    .st-style6-image-container {
        min-height: 220px;
    }
    
    .st-style6-flyer-image {
        height: 220px;
    }
    
    .st-style6-flyer-wrapper {
        height: 220px;
    }
    
    .st-style6-flyer-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .st-style6-placeholder {
        height: 220px;
    }
    
    .st-style6-left-column {
        min-height: 280px; /* Reduced from 350px */
        padding: 25px 16px; /* Further reduced padding */
    }
    
    .st-style6-title {
        font-size: 20px; /* Reduced from 24px */
        margin-bottom: 10px;
    }
    
    .st-style6-description {
        font-size: 13px; /* Reduced from 14px */
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .st-style6-cta-btn {
        padding: 8px 16px; /* Reduced padding */
        font-size: 12px; /* Reduced from 13px */
    }
    
    .st-style6-tag {
        font-size: 8px !important; /* Reduced tag size */
        padding: 3px 6px;
        margin-bottom: 15px;
    }
    
    /* Extra small mobile navigation */
    .st-style6-prev {
        left: 8px;
        font-size: 24px;
    }
    
    .st-style6-next {
        right: 8px;
        font-size: 24px;
    }
    
    .st-style6-pagination {
        bottom: 12px;
        gap: 5px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
    }
    
    .st-style6-pagination .swiper-pagination-bullet-active {
        width: 18px;
    }
}

/* Smooth Flip Transition Effect */
.st-style6-swiper.swiper-flip .swiper-slide {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Enhanced smooth flip with flowing movement */
.st-style6-swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}
