/*FAQ Section*/
.accordion {
	background-color: #eee;
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-bottom: solid 2px white;
    border-radius: 5px;
    border: solid 1px black;
    margin: 5px 0 5px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 10px 18px;
    background-color: white;
    display: none;
    overflow: hidden;
    border: solid 2px #ccc;
    border-radius: 5px;
}

/*
.accordion:after {
  
}

.active:after {
  content: "\2212";
}
*/


.rating-stars {
    display: inline-block;
    position: relative;
    font-size: 24px;
    line-height: 1;
}
.stars-outer {
    display: inline-block;
    position: relative;
    color: #ccc; /* color for empty stars */
}
.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffc107; /* color for filled stars */
}
   .stars-outer::before,
   .stars-inner::before {
   content: "\2605\2605\2605\2605\2605"; /* five stars */
}

.rating-text {
    top: 0;
    left: 0;
    color: black; /* Optional: for better visibility */
    font-size: 24px; /* Optional: adjust as needed */
}

@media only screen and (max-width: 479px) {
	h2{
		font-size: 26px;
	}
}


/* General Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-in-out;
}

.slider-item {
    flex: 1 0 auto;
    /*background-color: #f2f2f2;*/
    border-bottom: 1px solid #ddd;
    text-align: center;
}

/* Desktop view: Display items in a grid-like menu */
@media (min-width: 768px) {
    .slider-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .slider-item {
        flex: 0 1 calc(20% - 10px) /* Adjust width of each item */
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .slider-nav {
        display: none; /* Hide navigation buttons on desktop */
    }
}

/* Mobile view: Slider mode */
@media (max-width: 767px) {
    .slider-wrapper {
        flex-wrap: nowrap;
    }

    .slider-item {
        min-width: 33%;
        box-sizing: border-box;
    }

    .slider-nav {
        display: block; /* Show navigation buttons on mobile */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 6px;
        cursor: pointer;
    }

    .slider-prev {
        left: 0px;
    }

    .slider-next {
        right: 0px;
    }
}