/* Accordian Section */

.queries {
  padding-top: 30px;
}

.queries h2 {
  font-family: 'sf_pro_displaybold',sans-serif;
  color: #141414;
  font-size: 4.2rem;
  padding-bottom: 30px;
}

.accordion-inner-right {
  box-shadow: 0px 4px 8px #1450A840;
  padding: 0px;
}

.accordion-item-content p {
  display: none;
  font-size: 2.4rem;
  font-family: 'Roboto', sans-serif;
  padding: 0px 90px 20px 40px;
}

.accordion-item .accordion-item-content {
  overflow: hidden;
  /* animation start */
  transform: scale(1,0);
    transform-origin: top;
    transition: opacity .5s ease-in 0s,transform .5s ease-in-out 0s;
    /* animation start End */
}


/* animation start */
.accordion-open .accordion-item-content{
  transform: scale(1,1);
  transform-origin: top;
  transition: opacity .5s ease-in 0s,transform .5s ease-in-out 0s;
} 
/* animation start End */

.accordion-open .accordion-item-content p {
  display: block;
}

/* animation section  */
.accordion-open .accordion-item-header {
  background: none
}
/* animation section End  */

.accordion-open .accordion-item-header h3 {
  font-family: 'sf_pro_displaysemibold',sans-serif;
  color: #394559;
  flex-basis: 90%;
  font-size: 2.7rem;

}

.accordion-item.accordion-open {
  margin-bottom: 10px;
  background-color: #ECF4FD;
}

.accordion-item:first-child {
  padding-top: 30px;
}

.accordion-item:last-child {
  padding-bottom: 30px;
}

.accordion-item-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  position: relative;
  /* animation section  */
  /* background: linear-gradient(to right, #ECF4FD 50%, white 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .5s ease-out;
  margin-bottom: 10px; */
  /* animation section end */
  margin-bottom: 10px;
}

.accordion-item-header::before {  
  transform: scaleX(0);
  transform-origin: bottom right;
}

.accordion-item-header:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.9s ease;
}

.accordion-item-header::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0 0 0 0;
  background-color: #ECF4FD;
  z-index: -1;
  transition: transform 0.3s ease;
}

/* animation section  */

/* .accordion-item-header:hover {
  background-position: left bottom;
} */

/* animation section end */

.accordion-item-header h3 {
  padding: 20px 40px 0px 40px;
  font-size: 2.4rem;
  font-family: 'Roboto', sans-serif;
  flex-basis: 90%;
  font-weight: 400;
}

.accordion-arrow {
  flex-basis: 10%;
  width: 24px;
  height: 24px;
  position: relative;
}

.accordion-item.accordion-open .accordion-arrow img.arrow-minus {
  position: absolute;
  width: 24px;
  height: 24px;
  left: 0;
  display: block;
  right: 0;
  transform: rotate(180deg);
}

.accordion-item .accordion-arrow img.arrow-minus {
  display: none;
}

.accordion-item.accordion-open .accordion-arrow img.arrow-plus {
  display: none;
}

.accordion-item .accordion-arrow img.arrow-plus {
  position: absolute;
  width: 24px;
  height: 24px;
  left: 0;
  display: block;
  right: 0;
}

.queries-image-wrapper {
  max-width: 250px;
  padding-left: 30px;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .queries-image-wrapper {
    display: none;
  }
  .accordion-item-content p {
    padding: 0px 100px 20px 40px;
  }
  .accordion-arrow {
    flex-basis: 20%;
    width: 24px;
    height: 24px;
    position: relative;
  }

}
@keyframes fade-up {
    from {
        /* text-decoration: underline; */
        /* opacity: 0; */
    }
    to {
        text-decoration: underline;
        /* opacity: 1; */
        
    }
  }
  article.accordion-item-wrapper:hover p
  {
    animation: 1s fade-up forwards;
    animation-delay: 0.1s;
    transition: 1s ease-in all;
  }