

.content_block_three .content-box{
  position: relative;
}

.content_block_three .content-box .accordion-box .accordion{
  position: relative;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.content_block_three .content-box .accordion-box .accordion:last-child{
  margin-bottom: 0px;
}

.content_block_three .content-box .accordion-box .accordion .acc-btn{
  position: relative;
  background: #fff;
  padding: 20px 30px;
  padding-right: 70px;
  cursor: pointer;
}

.content_block_three .content-box .accordion-box .accordion .acc-btn h4{
  font-size: 20px;
  line-height: 30px;
}

.content_block_three .content-box .accordion-box .accordion .acc-btn .icon-box{
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 8px;
  color: var(--title-color);
  transition: all 500ms ease;
}

.content_block_three .content-box .accordion-box .accordion .acc-btn.active .icon-box{
  transform: rotate(180deg);
}

.content_block_three .content-box .accordion-box .accordion .acc-content{
  padding: 0px 40px 25px 30px;
}


/** testimonial-page-section **/

.testimonial-page-section{
  position: relative;
}

.testimonial-page-section .content_block_three .content-box .accordion-box .accordion,
.testimonial-page-section .content_block_three .content-box .accordion-box .accordion .acc-btn{
  background: rgba(239, 242, 230, 1);
}

.testimonial-page-section .image-box{
  position: relative;
  display: block;
}

.testimonial-page-section .image-box .image{
  border-radius: 10px;
}

.testimonial-page-section .image-box .image img{
  width: 100%;
  border-radius: 10px;
}


/** rtl-css **/




/** responsive-css **/

@media only screen and (max-width: 1200px){

}

@media only screen and (max-width: 991px){
  .testimonial-page-section .image-box{
    margin-left: 0px;
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px){
 .testimonial-page-section{
  padding: 60px 0px 70px 0px;
 }
}

@media only screen and (max-width: 599px){
  
}

@media only screen and (max-width: 499px){

}

/* ==========================================================================
   FAQ Section Image Box & Hover Effects
   ========================================================================== */

.faq-image-wrapper {
    position: relative;
    display: block;
    padding: 15px;
}

.faq-image-box {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-image-box:before {
    position: absolute;
    content: '';
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    transition: all 0.75s ease;
    pointer-events: none;
}

.faq-image-box figure.image {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: block;

}

.faq-image-box figure.image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 20px;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

/* Floating Info Badge on Top of Image */
.faq-image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 22px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    border-left: 4px solid var(--theme-color);
    transition: all 0.4s ease;
}

.faq-image-badge .badge-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(0, 91, 171, 0.1);
    color: var(--theme-color);
    border-radius: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.faq-image-badge .badge-text span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 14px;
    margin-bottom: 3px;
}

.faq-image-badge .badge-text h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 18px;
}

/* Hover Effects */
.faq-image-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 91, 171, 0.2);
}

.faq-image-box:hover figure.image img {
    transform: scale(1.06);
    filter: brightness(1.02);
}

.faq-image-box:hover:before {
    left: 150%;
}

.faq-image-box:hover .faq-image-badge {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.faq-image-box:hover .faq-image-badge .badge-icon {
    background: var(--theme-color);
    color: #ffffff;
    transform: rotate(10deg) scale(1.05);
}

@media only screen and (max-width: 991px) {
    .faq-image-wrapper {
        margin-top: 40px;
    }
}
