﻿.swiper::before,
.swiper::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.swiper::before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0),white);
}

.swiper::after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0),white);
}

.swiper-slide {
    width: 250px;
}

.categories {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 25px;
    height: 135px;
    width: 210px;
    background-color: white;
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    box-shadow: 0px 4px 7px 0px #3d3d3d;
    transition: 0.2s;
}

    .categories:hover {
        border: 4px solid #db1a20;
        background-color: white;
        color: black;
        transform: scale(1.1);
    }

    .categories:focus {
        border: 4px solid #a70c12;
        background-color: white;
        color: black;
        transform: scale(1.1);
    }

.selectedCategory {
    border: 4px solid #a70c12;
    background-color: white;
    color: black;
    transform: scale(1.1);
}

.categoriesImg {
}

    .categoriesImg img {
        height: 80px;
        width: auto;
        object-fit: cover;
    }

.swiper-button-prev, .swiper-button-next {
    background-color: transparent;
    color: #a70c12;
    width: 60px;
    cursor: pointer;
}

/* Question & Answer */
.faq-section {

}

.faq {
    list-style: none;
    width: 100%;
}

    .faq .faqLI {
        background-color: transparent;
        border-bottom: 1px #ccc solid;
    }

.q {
    cursor: pointer;
}

    .q:hover, .faq li q:hover {
        background-color: #f2f2f2;
    }

.bi-chevron-right {
    height: auto;
    display: inline-block;
    transition: 0.3s;
}

.bi-chevron-right-rotated {
    transform: rotate(90deg);
}

.a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.a-opened {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 2s ease;
}

.faqAns {
    margin-bottom: 1.5rem;
}