.tOpBar {
    display: flex;
    justify-content: space-evenly;
    background-color: ghostwhite;
    padding: 10px;
    border-radius: 12px;
    align-items: center;
    position: relative;
}

.Topbarchild {
    color: black;
    cursor: pointer;
}

.accordian-item {
    border: 1px solid #f1efef;
    border-radius: 10px;
}


/* Scrolling container for mobile */
.faq-carousel {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    width: 100%;
    justify-content: space-evenly;
    background: ghostwhite;
    padding: 10px;
    border-radius: 10px;
}

/* Hide scrollbars for a cleaner look (optional) */
.faq-carousel::-webkit-scrollbar {
    display: none;
}

/* Each category button */
.Topbarchild {

    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    cursor: pointer;
    white-space: nowrap;
    /* So text doesn’t break in mobile horizontal scroll */
}

.Topbarchild.active {
    background-color: #4b0082;
    color: #fff;
}

/* Carousel arrow buttons */
.carousel-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #333;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: none;
    /* hidden by default, overridden in mobile */
    align-items: center;
    justify-content: center;
}

/* Mobile Overrides (under 768px) */
@media (max-width: 767.98px) {
    .faq-carousel {
        overflow-x: auto;
        /* allow horizontal scroll on mobile */
        scroll-behavior: smooth;
        /* smooth scrolling */
        white-space: nowrap;
        /* keep items on a single line */
        flex-wrap: nowrap;
        /* so items scroll horizontally instead of wrapping */
        column-gap: 15px;
        background-color: white !important;
        padding: 0px !important;
    }

    .ezy__faq10 {
        padding: 10px 0px 0px 0px !important;
    }

    #MoBileRespoNsive {
        padding: 0px !important;
    }

    .carousel-btn {
        display: flex;
        /* show arrow buttons on mobile */
    }

    .topBar {
        display: flex;
        align-items: center;
    }

    .accordian-item {
        padding: 0px 6px 0px 6px;
    }
}

/* Rule for links inside the FAQ content */
.ezy__faq10-content a {
    color: white !important;
}

/* FAQ image styling */
.faq-img {
    border-radius: 18px;
    max-width: 107%;
    height: 100%;
    margin-top: 1rem;
}

/* Merged FAQ Section container style (removed duplicate) */
.ezy__faq10 {
    /* Bootstrap variables */
    --bs-body-color: #28303b;
    --bs-body-bg: rgb(255, 255, 255);

    /* Easy Frontend variables */
    --ezy-theme-color: rgb(13, 110, 253);
    --ezy-theme-color-rgb: 13, 110, 253;
    --ezy-item-bg: #ffffff;
    --ezy-item-shadow: 0px 4px 44px rgba(159, 190, 218, 0.37);

    background-color: var(--bs-body-bg);
    overflow: hidden;
    padding: 40px 20px 40px 20px;
}

/* Gray Block Style */
.gray .ezy__faq10,
.ezy__faq10.gray {
    --bs-body-bg: rgb(246, 246, 246);
}

/* Dark Gray Block Style */
.dark-gray .ezy__faq10,
.ezy__faq10.dark-gray {
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(30, 39, 53);
    --ezy-item-bg: rgb(11, 23, 39);
    --ezy-item-shadow: 0px 4px 22px rgba(0, 0, 0, 0.2);
}

/* Dark Block Style */
.dark .ezy__faq10,
.ezy__faq10.dark {
    --bs-body-color: #ffffff;
    --bs-body-bg: rgb(11, 23, 39);
    --ezy-item-bg: rgb(30, 39, 53);
    --ezy-item-shadow: 0px 4px 22px rgba(0, 0, 0, 0.2);
}

/* Merged FAQ heading styling (removed duplicate definition) */
.ezy__faq10-heading {
    font-weight: bold;
    font-size: 25px;
    line-height: 25px;
    color: var(--bs-body-color);
}

@media (min-width: 768px) {
    .ezy__faq10-heading {
        font-size: 45px;
        line-height: 45px;
    }

}

.ezy__faq10-sub-heading {
    font-size: 18px;
    line-height: 30px;
    color: var(--bs-body-color);
    opacity: 0.7;
}

.ezy__faq10-bg-holder {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 150px;
    width: 100%;
    border-radius: 15px;
}

.ezy__faq10-item {
    background-color: transparent;
    border-radius: 10px;
}

.ezy__faq10-item * {
    color: var(--bs-body-color);
}



/* Transition for icons inside the collapse button */
.ezy__faq10-btn-collapse [class*="fa-"] {
    transition: transform 0.25s ease-in-out;
}

/* Focus state for collapse buttons */
.ezy__faq10-btn-collapse:focus {
    box-shadow: none;
    border: none;
}

/* Rotate icon when collapse is active or expanded (removed duplicate) */
.ezy__faq10-btn-collapse.active [class*="fa-"],
.ezy__faq10-btn-collapse[aria-expanded="true"] [class*="fa-"] {
    transform: rotate(-180deg);
}

.question {
    color: #ee9a4a;
}

.faq-item a {
    border: none;
}

@media (max-width: 767px) {
    .faq-img img {
        display: none;
    }
}

.collapse {
    overflow: hidden;
    transition: height 0.3s ease;
}

.fas.fa-chevron-down {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.fas.fa-chevron-down.rotate {
    transform: rotate(180deg);
}

.ezy__faq10-btn-collapse>h3 {
    font-size: 20px
}

.mainSecTion {
    margin-top: 2rem
}

.EmoJi {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.EmoJi>h3 {
    font-size: 18px;
    margin-bottom: 0px !important;
}

.EmOJIicon {
    border: 1px solid #e9e9e9;
    padding: 6px 10px 5px 10px;
    border-radius: 5px;
    background: whitesmoke;
    display: flex;
    width: 30px;
    justify-content: center
}

.EmOJIicon>i {
    font-size: 18px;
    color: #110054;
}

.Topbarchild.active {
    background: var(--secondary-color);

    color: white;
    border-radius: 5px;
    border-bottom: 2px solid blue;
}

.ezy__faq10-content {
    padding-top: 0px !important
}

.ezy__faq10-btn-collapse {
    padding: 1rem !important;
}

@media(max-width:767px) {
    .ezy__faq10-btn-collapse {
        padding: 1rem 0rem 1rem 0rem !important;
    }

    .EmoJi>h3 {
        font-size: 16px !important;
    }

    .FAqimg {
        display: none !important;
    }

    .animated-button {
        width: 100%;
    }
}



/* From Uiverse.io by ryota1231 */
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #1f387e;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 7px;
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: #1f387e;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #c5e5e4;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
}

.animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: #1f387e;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
    width: 100%;
    height: 323px;
    opacity: 1;
}

@media (min-width: 768px) and (max-width: 1180px){
   
   .faq-carousel {
        overflow-x: auto;
        /* allow horizontal scroll on mobile */
        scroll-behavior: smooth;
        /* smooth scrolling */
        white-space: nowrap;
        /* keep items on a single line */
        flex-wrap: nowrap;
        /* so items scroll horizontally instead of wrapping */
        column-gap: 15px;
        background-color: white !important;
        padding: 0px !important;
    }
    
    .topBar{
       display: flex ;
       align-items: center;
    }
    
    .left , .right{
        display: block !important;
    }
    
    .FAqimg{
        display: none !important;
    }
    

}