/* Full-width section */
.why-choose-us-section {
    width: 100%;
    margin: 0;
    padding: 40px 5%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Slider layout */
.why-choose-us-slider {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide */
.why-choose-us-slide {
    display: flex;
    flex: 1;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Show only the current slide */
.why-choose-us-slide--current {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* Image Styling */
.why-choose-us-image {
    flex: 1;
    padding-right: 20px;
    box-sizing: border-box;
}

.why-choose-us-image img {
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 0px 190px 190px 0px;
    display: block;
}

/* Text Content */
.why-choose-us-text {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Header Wrapper for Title + Navigation */
.why-choose-us-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Title aligned with h3 */
.why-choose-us-text h2 {
    color: #3b3b98;
    font-size: 2em;
    margin: 0;
    line-height: 1.2;
}

/* Navigation Buttons */
.why-choose-us-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-choose-us-nav button {
    background: none;
    border: 2px solid #3b3b98;
    border-radius: 50%;
    font-size: 1.5em;
    color: #3b3b98;
    cursor: pointer;
    width: 35px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.why-choose-us-nav button:hover {
    background: #3b3b98;
    color: white;
}

/* Subtitle */
.why-choose-us-text h3 {
    color: #3b3b98;
    font-size: 1.5em;
    margin: 10px 0;
    line-height: 1.2;
}

/* Paragraph */
.why-choose-us-text p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Button */
.learn-more-btn {
    background-color: #3b3b98;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    text-transform: uppercase;
    width: max-content;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.learn-more-btn:hover {
    background-color: #2a2a7a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 20px;
    }
    
    .why-choose-us-slide {
        flex-direction: column;
        text-align: center;
    }
    
    .why-choose-us-image,
    .why-choose-us-text {
        flex: none;
        width: 100%;
        padding: 0;
    }
    
    .why-choose-us-image {
        margin-bottom: 20px;
    }
    
    .why-choose-us-image img {
        height: 300px;
        max-width: 100%;
        border-radius: 0px 90px 90px 0px;
    }
    
    .why-choose-us-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .why-choose-us-nav {
        margin-top: 10px;
    }
    
    .why-choose-us-text h2 {
        font-size: 1.5em;
    }
    
    .why-choose-us-text h3 {
        font-size: 1.2em;
    }
}

/* Ensure full width in Elementor */
.elementor-widget-container .why-choose-us-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
}