.risc-slider {
    width: 100%;
    height: 550px; /* Increased height for the wave */
    position: relative;
    overflow: hidden; /* Keep overflow hidden for the main slider container */
}

.risc-slider .slide {
    width: 100%;
    height: 100%; /* Slides take up 500px, leaving 50px for the wave */
    position: absolute;
    background-size: cover;
    background-position: center;
    display: none;
}

.risc-slider .slide:first-child {
    display: block;
}

#risc-slider .elementor-shape .elementor-shape-fill {
    fill: #fff; /* Set the fill color of your wave to red */
}


.risc-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.risc-slider .slide-text {
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 80px;
    color: #FFF;
    font-size: 80px;
    line-height: 80px;
    letter-spacing: 2px;
    font-weight: 700;
}

.risc-slider .slide-button {
    display: inline-block;
    padding: 17px 50px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.risc-slider .slide-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: black;
}

/* Estilos para setas de navegação */
.risc-slider-navigation span {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.risc-slider-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.risc-slider-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Estilos para indicadores de slide (bolinhas) */
.risc-slider-indicators {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.risc-slider-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.risc-slider-dot.active {
    background-color: #717171;
}

/* Wave SVG styles */
#risc-slider .elementor-shape {
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    direction: ltr;
    height: 100px; /* This will be the height of your wave */
    bottom: 0; /* Position the wave at the bottom */
}

#risc-slider .elementor-shape[data-negative=false].elementor-shape-bottom,
#risc-slider .elementor-shape[data-negative=true].elementor-shape-top {
    transform: rotate(180deg);
}

/* Removendo a propriedade fill daqui, será definida diretamente no SVG */
/* .elementor-shape-fill {
    fill: #FFFFFF;
} */

#risc-slider .elementor-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .risc-slider {
        height: 450px;
    }
    .risc-slider .slide {
        height: 100%;
    }
    .risc-slider .slide-text {
        font-size: 40px;
        line-height: 40px;
    }
    .risc-slider .slide-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    .risc-slider-navigation span {
        font-size: 18px;
        padding: 10px;
    }
    .elementor-shape {
        height: 50px;
    }
    .elementor-shape svg {
        height: 50px;
    }
}