.rounded-20 {
    border-radius: 20px;
}

.text-space {
    letter-spacing: 2px;
}

.centric-card {
    padding: 20px;
    border-radius: 20px;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card img {
    height: 240px;
    object-fit: contain;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.gradient-border.dark {
    background: #0A0511;
}

.swiper-wrapper {
    display: flex;
}

.swiper-wrapper .swiper-slide {
    height: auto;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Listing Wrapper */
.check-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.check-list li {
    font-size: 18px;
    padding: 0px 0 20px 35px;
    position: relative;
    z-index: 1;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 24px;
    height: 24px;
    background: url('../images/list-check.svg') no-repeat center;
    z-index: -1;
    background-size: contain;
}

/* ── Feelings Section ──────────────────────────────────── */

.feeling-grid {
    display: grid;
    grid-template-areas:
        'one . three .'
        '. two . four';
}

.feeling-grid .feeling-card {
    padding: 40px 20px;
    height: 100%;
    background-color: #0A0511 !important;
}

.feeling-grid .feeling-card:nth-child(1) {
    grid-area: one;
}

.feeling-grid .feeling-card:nth-child(2) {
    grid-area: two;
}

.feeling-grid .feeling-card:nth-child(3) {
    grid-area: three;
}

.feeling-grid .feeling-card:nth-child(4) {
    grid-area: four;
}

/* accordion-wrapper */

.accordion-wrapper.active .accordion-content {
    visibility: visible;
    opacity: 1;
    display: flex;
}

.accordion-content {
    display: flex;
    align-items: center;
    width: 100% !important;
    /* height: 600px; */
}

.content-wrap__inner {
    padding-bottom: 50px;
}

.content-wrap {
    padding: 0;
    display: flex;
    align-items: end;
    gap: 30px;
    width: 100%;
}

.cta-1 .cta-block {
    background: #faf6ff url(../images/candy-ai/cta-bg.webp) no-repeat center center/cover;
}

.cta-block {
    border-radius: 20px;
    position: relative;
    height: 100%;
}

/* process card */
.process-card {
    background: #F1E7FF;
    padding: 86px 20px 20px;
    border-radius: 10px;
    position: relative;
    height: 100%;
}

.process-card .process-count {
    font-size: 15vw;
    position: absolute;
    top: 0;
    right: 12px;
    line-height: 1;
    font-weight: 500;
    font-family: 'media_sans';
    background: linear-gradient(180deg, rgba(127, 27, 255, 0.4) 15%, rgba(241, 231, 255, 0.4) 100%);
    background-clip: text;
    color: transparent;
}

.process-card :is(h3, p) {
    position: relative;
}

/* faq */

.new-faq {
    display: flex;
    flex-direction: column;
    gap: 25px 0;
}

.new-faq .accordion-item {
    border: none;
    border-bottom: 1px solid #BEDBE0;
    background: transparent;
    padding-bottom: 25px;
    width: 100%;
}

.new-faq .accordion-header .accordion-button {
    font-size: 22px !important;
    line-height: 140%;
    letter-spacing: 1px;
    height: fit-content;
    margin: 0 0 15px 0;
    color: #07191C;
    font-weight: 700;
    background: none !important;
    padding: 0px;
    box-shadow: none !important;
    font-family: 'Instrument Sans' !important;
}

.new-faq .accordion-body {
    padding: 0px;
    font-size: 20px;
    width: 100%;
}

.new-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='40' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: all 0.5s;
}

.new-faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='40 ' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.new-faq .accordion-button::after {
    transition: all 0.5s;
    background-size: 40px;
    width: 40px;
    height: 40px;
}

/* ── Revenue Section ───────────────────────────────────── */
.custom-accordion-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.custom-accordion-wrapper .accordion-wrapper {
    padding: 0;
    border: none !important;
    border-top: 1px solid #FFFFFF4D !important;
    border-left: 1px solid #FFFFFF4D !important;
    background: #F1E7FF;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);

}

.custom-accordion-wrapper>.accordion-wrapper.active {
    flex: 0 1 100%;
}

.custom-accordion-wrapper>.accordion-wrapper.active .accordion-btn {
    opacity: 0;
    width: 30px;
}

.custom-accordion-wrapper>div:not(.active) {
    flex: 0 0 112px;
}

.custom-accordion-wrapper .accordion-content {
    visibility: hidden;
    opacity: 0;
    align-items: center;
    transition: opacity .5s ease .5s;
}

.accordion-wrapper.active .accordion-content {
    visibility: visible;
    opacity: 1;
    display: flex;
}

.accordion-content {
    display: flex;
    align-items: center;
    width: 100% !important;
    /* height: 600px; */
}

.accordion-head {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 0 !important;
}

.accordion-btn {
    font-size: 20px !important;
    font-weight: 600 !important;
    background: transparent !important;
    margin: auto;
    display: flex;
    align-items: center;
    border: none;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    width: 112px;
}

.accordion-block {
    padding: 0;
    position: relative;
    /* color: var(--white-color) !important; */
    display: flex;
    align-items: center;
    flex: 100%;
}

.content-wrap__inner {
    padding-bottom: 50px;
}

.content-wrap {
    padding: 0;
    display: flex;
    align-items: end;
    gap: 30px;
    width: 100%;
}

/* Responsive */

@media only screen and (max-width: 1599px) {

    .custom-accordion-wrapper>div:not(.active) {
        flex: 0 0 65px;
    }

    .accordion-btn {
        width: 70px;
    }
}

@media (max-width: 991px) {
    .position-sticky {
        position: static !important;
    }

    .feeling-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        grid-template-areas: unset;
    }

    .feeling-grid .feeling-card {
        grid-area: unset !important;
    }

    a.button.mobile-center {
        margin: auto;
    }

    .new-faq .accordion-header .accordion-button {
        font-size: 18px !important;
    }

    .check-list {
        width: fit-content;
        margin: auto;
    }
}

@media (max-width: 767px) {
    .centric-card {
        flex-wrap: wrap !important;
    }

    .feeling-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .custom-accordion-wrapper {
        flex-direction: column;
    }

    .custom-accordion-wrapper .accordion-wrapper {
        flex-direction: column;
        align-items: start;
    }

    .accordion-block {
        flex-direction: column;
    }

    .accordion-head {
        writing-mode: unset;
        transform: unset;
    }

    .accordion-btn {
        width: 100%;
        min-height: 72px;
    }

    .content-wrap__inner {
        padding: 0 20px 50px 20px;
    }

    .centric-sec .centric-card>img {
        width: 100%;
    }

    .custom-accordion-wrapper>.accordion-wrapper.active .accordion-btn {
        width: 100%;
    }

    .process-card .process-count {
        top: 20px;
    }
}