/* Card Slider Container */
.card-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 2rem;
}

/* Card Slider */
#card-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease-in-out;
    width: fit-content;
}

/* Cards within the slider */
#card-slider .card {
    flex: 0 0 calc(50% - 7.5px);
    min-width: calc(50% - 7.5px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#card-slider .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Card Icons */
.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.slider-control {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.slider-control:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #289a96;
}

.slider-control:active {
    transform: scale(0.95);
}

/* Indicators */
.slider-indicators {
    display: flex;
    gap: 8px;
    margin: 0 15px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: #289a96;
    transform: scale(1.2);
}

/* Rotate Button */
.buttonRotate {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.buttonRotate:hover {
    background-color: #e9ecef;
    transform: rotate(30deg);
}

.buttonRotate.active {
    transform: rotate(180deg);
}

.buttonRotate img {
    width: 20px;
    height: 20px;
    transition: all 0.3s;
}

.buttonRotate:hover img {
    transform: scale(1.1);
}

/* Flipping animation */
#card-slider.flipping .card {
    transform: rotateY(90deg);
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #card-slider {
        flex-direction: column;
        width: 100%;
    }
    
    #card-slider .card {
        flex: 0 0 100%;
        min-width: 100%;
        margin-bottom: 15px;
    }
    
    .buttonRotate {
        transform: rotate(90deg);
    }
    
    .buttonRotate.active {
        transform: rotate(270deg);
    }
    
    /* For vertical scrolling on mobile */
    #card-slider.vertical {
        transform: translateY(0) !important;
    }
    
    #card-slider.vertical .card {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    #card-slider.vertical.flipping .card {
        transform: rotateX(90deg);
    }
} 