.accordion  {
    margin-top: 25px;
}

.accordion-holder .accordion:first-child {
    margin-top: 0;
}

.accordion .title {

    font-size: 17px;
    font-weight: 600;
    padding: 12px 40px 12px 20px;
    position: relative;
    border-radius: 5px;
}

.accordion.closed .title {
    color: #fff;
    background-color: var(--secondary-color); 
}

.accordion .title:before,
.accordion .title:after {
    content: '';
    width: 10px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

.accordion .title:before {
    transform: translateY(-50%) rotate(-45deg);
}

.accordion .title:after {
    transform: translateY(-50%) rotate(45deg);
    right: 24px;
}

.accordion.closed .title:hover:before,
.accordion.closed .title:hover:after {
    background: var(--secondary-color);
}

.accordion.closed .title:before {
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
}

.accordion.closed .title:after {
    background: #fff;
    transform: translateY(-50%) rotate(-45deg);
    right: 24px;
}

/* .accordion.closed .title:hover:before {
    background: var(--primary-color);
} */

.accordion .title:hover,
.accordion .title {
    cursor: pointer;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.accordion.closed .text {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion .text {
    max-height: 1000px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion .text .text-inner {
    padding: 25px 12px 10px;
}