.custom-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding-top:15rem;
    padding-bottom:15rem;
}

.slide {
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1400px;
    width: 80%;
    box-sizing: border-box;
}

/* Single Column Layout */
.single-col-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width:600px;
}

/* Two Column Layout */
.two-col-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    text-align: left;
}

.content-left {
    flex: 2;
    text-align: left;
    max-width:800px;
}

.content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Typography */
.slide-title {
    font-size: 68px;
    font-weight: 600;
    letter-spacing: -0.02em !important;
    padding-bottom: 10px;
    line-height: 1em;
    color: white;
    text-shadow:rgba(0, 0, 0, 0.3) 0px 1px 3px
}

.slide-text {
    font-size: 18px;
    line-height: 1.7em;
    margin-bottom: 30px;
    line-height:1.35em;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.slide-button {
    display: inline-block;
    color: #000000 !important;
    border: none !important;
    border-radius: 30px;
    letter-spacing: 0.05em;
    font-size: 14px;
    font-weight:600;
    text-transform: uppercase !important;
    background-color: #FFFFFF;
    padding: 10px 30px !important;
    text-decoration: none;
    text-shadow: none;
    margin-top: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Button color variations */
.slide-button.white {
    background-color: #FFFFFF;
    color: #000000 !important;
}

.slide-button.green {
    background-color: #D4DF4B;
    color: #000000 !important;
}

.slide-button.orange {
    background-color: #EE6939;
    color: #FFFFFF !important;
}

/* Hover effects */
.slide-button.white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.slide-button.green:hover {
    background-color: rgba(212, 223, 75, 0.9);
}

.slide-button.orange:hover {
    background-color: rgba(238, 105, 57, 0.9);
}

.slide-button:hover {
    background-color: white;
    color: #333 !important;
}

/* Navigation Arrows - Updated */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-slideshow:hover .slide-arrow {
    opacity: 1;
    visibility: visible;
}

.slide-arrow.prev {
    left: -60px;
    transition: all 0.3s ease;
}

.slide-arrow.next {
    right: -60px;
    transition: all 0.3s ease;
}

/* Slide in effect on hover */
.custom-slideshow:hover .slide-arrow.prev {
    left: 20px;
}

.custom-slideshow:hover .slide-arrow.next {
    right: 20px;
}

.slide-arrow span {
    display: block;
    font-weight: bold;
    line-height: 1;
    font-family: Arial, sans-serif;
}

/* Hide navigation for single slide */
.custom-slideshow.single-slide .slide-arrow,
.custom-slideshow.single-slide .slide-indicators {
    display: none !important;
}

/* Slide Indicators - Smaller dots */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-indicator.active {
    background: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-col-content {
        gap: 40px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-text {
        font-size: 16px;
    }
}

@media (max-width: 980px) {
    .two-col-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .content-left {
        text-align: center;
    }
    
    .slide-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .slide-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slide-arrow.prev {
        left: -50px;
    }
    
    .slide-arrow.next {
        right: -50px;
    }

    /* Mobile hover state (always visible) */
    .custom-slideshow .slide-arrow {
        opacity: 1;
        visibility: visible;
    }
    
    .custom-slideshow .slide-arrow.prev {
        left: 10px;
    }
    
    .custom-slideshow .slide-arrow.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 24px;
    }
    
    .slide-text {
        font-size: 14px;
    }
    
    .slide-button {
        padding: 12px 24px;
        font-size: 12px;
    }
}