/* Ocultar reCATCHA */
.grecaptcha-badge {
    display: none !important;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 325px;
    /* Maintain responsive height */
    /* overflow: hidden; */
    perspective: 1000px;
}

.slide {
    display: none;
}

.slider {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: translateX(0px) !important;
}

.card {
    position: absolute;
    width: 34%;
    /* Responsive width */
    height: 232px;
    /* Responsive height */
    transition: all 0.5s ease;
    transform-origin: center center;
    opacity: 0;
    border-radius: 15px;
    display: flex;
    top: 13%;
    flex-direction: column;
    /* Ensure content is stacked vertically */
    justify-content: space-between;
}

.card .caption {
    background-color: #fff;
    padding: 10px;
    text-align: left;
    border-radius: 15px;
    box-sizing: border-box;
    width: 100%;
    height: 232px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust positioning and scaling for better alignment */

[data-position="left1"] {
    transform: translateX(110%) scale(0.85);
    opacity: 0.3;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-position="active"] {
    transform: translateX(0px) scale(1);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    top: 0%;
    width: 42%;
    height: 310px;

    .caption {
        height: 310px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }
}

[data-position="right1"] {
    transform: translateX(-110%) scale(0.85);
    opacity: 0.3;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);

}

.prev,
.next {
    position: absolute;
    top: 110%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #00217F;
    border-radius: 100%;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 4;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.prev {
    right: 35%;
}

.next {
    left: 35%;
}

.prev:hover,
.next:hover {
    color: #ffffff;
    background-color: #00217F;
}

/* RESPONSIVE */

@media screen and (max-width: 768px) {

    .slider-container {
        height: 475px;
    }

    .card {
        width: 60%;
    }

    .prev,
    .next {
        position: absolute;
        top: 100% !important;
    }

    .prev {
        right: 35%;
    }

    .next {
        left: 35%;
    }

    [data-position="left1"] {
        transform: translateX(50%) scale(0.85);
    }

    [data-position="right1"] {
        transform: translateX(-50%) scale(0.85);
    }
}

@media screen and (max-width: 360px) {
    .card {
        width: 100%;
    }

    [data-position="left1"] {
        transform: translateX(-60%) scale(0.85);
        left: 162px;
    }

    [data-position="right1"] {
        transform: translateX(60%) scale(0.85);
        right: 162px;
    }

    .prev,
    .next {
        position: absolute;
        top: 185%;
    }

    .card {
        height: 430px;
    }

    .card .caption {
        height: 430px;
    }

    [data-position="active"] {
        top: 25%;
    }
}

@media screen and (max-width: 1024px) {
    .card .caption {
        height: auto;
    }

    [data-position="active"] {
        height: auto;
    }

    .prev,
    .next {
        top: 145%;
    }
}

@media (min-width: 640px) and (max-width: 640px) {
    .card {
        width: 85%;
    }

    .card .caption {
        height: auto;
    }

    [data-position="active"] {
        height: auto;
    }

    .prev,
    .next {
        top: 96% !important;
    }

    .slider-container {
        height: 350px;
    }
}

@media (min-width: 300px) and (max-width: 360px) {

    .pd01 {
        max-width: 100%;
    }

    .card .caption {
        height: auto;
    }

    [data-position="active"] {
        height: auto;
    }

    .prev,
    .next {
        top: 5%;
        display: none;
    }

    .prev {
        right: 10%;
    }

    .next {
        left: 10%;
    }

    .slider-container {
        height: 625px;
        top: -35px;
    }

    [data-position="left1"] {
        transform: translateX(-50%) scale(0.85);
    }

    [data-position="right1"] {
        transform: translateX(50%) scale(0.85);
    }
}