/* WYSIWYG */
.wysiwyg {
    position: relative;
}

.wysiwyg--bottom-curve,
.wysiwyg--top-curve {
    height: var(--section-margins);
    width: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    position: absolute;
    background: var(--background-color);
}

.wysiwyg:has(+ .wysiwyg > .wysiwyg--top-curve) {
    padding-bottom: calc(var(--section-margins) * 2);
}

.wysiwyg:has(.wysiwyg--top-curve) {
    padding-top: 0;
}

.wysiwyg--top-curve {
    -webkit-mask-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/background-curve-01.svg");
    mask-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/background-curve-01.svg");
    top: calc(0.0016px - var(--section-margins));
}

.wysiwyg:has(.wysiwyg--bottom-curve) + section {
    padding-top: calc(var(--section-margins) * 2);
}

.wysiwyg:has(.wysiwyg--bottom-curve) {
    padding-bottom: 0;
    z-index: 2;
}

.wysiwyg:has(+ .wysiwyg > .wysiwyg--bottom-curve) {
    z-index: 3;
}

.wysiwyg--bottom-curve {
    bottom: calc(0.0016px - var(--section-margins));
    -webkit-mask-position: bottom;
    mask-position: bottom;
    -webkit-mask-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/background-curve-02.svg");
    mask-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/background-curve-02.svg");
}

/* Half Text Image */

.half-img-text {
    overflow: hidden;
}

.half-img-text__img-box {
    position: relative;
    margin-top: 20px;
}

.half-img-text__img-star {
    position: absolute;
    bottom: -60px;
    right: -53px;
    z-index: 2;
    display: block;
}

.half-img-text__img {
    width: 100%;
    height: 100%;
}

.half-img-text__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
}

.bg--gradient .half-img-text__content {
    max-width: 508px;
}

@media (min-width: 1200px) {
    .half-img-text__left {
        flex-direction: row-reverse;
    }

    .half-img-text__img-box {
        margin-top: 0;
    }
}

/* Quick Links */

.quick-fix__title {
    display: block;
}

.quick-fix__link {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    text-decoration: none;
    gap: 10px;
    color: #00316a;
    font-weight: 600;
    width: 292px;
}

.quick-fix__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    transition: all 0.3s ease-out;
}

.quick-fix__title {
    color: #00316a;
    position: relative;

    &::after {
        content: '';
        position: absolute;
        border-top: 3px solid #00316a;
        border-right: 3px solid #00316a;
        rotate: 45deg;
        width: 10px;
        height: 10px;
        bottom: 9px;
        margin-left: 8px;
    }
}

.quick-fix__links--three {
    max-width: 990px;
    margin-inline: auto;
}

.quick-fix__link:hover {
    background-color: #c2d2fa;

    &:hover {
        & .quick-fix__title {
            color: #0E6AD2;

            &::after {
                border-top: 3px solid #0E6AD2;
                border-right: 3px solid #0E6AD2;
            }
        }
    }
}

/* Bubbles */

.step-section {
    position: relative;
    padding-block: 100px;
}

.step-section__img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -1;
    bottom: -1px;
}

@media (min-width: 1200px) {
    .step-section__img {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: auto;
    }
}

.step-section__intro {
    text-align: center;
}

.step-section__subtitle-img {
    background-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/boom.svg");
    background-size: contain;
    width: 51px;
    height: 51px;
    display: inline-block;
}

.step-section__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    line-height: 1.2;
    font-family: kalam;
}

.step-section__steps {
    display: flex;
    gap: 32px;
    /* padding: 20px; */
    flex-wrap: wrap;
    justify-content: center;
}

.step-section__step {
    padding: 20px;
    text-align: center;
    width: 162px;
    position: relative;
    margin-top: 50px;
    min-height: 282px;

    &:first-child {
        & .step-section__step-bar {
            background-color: #EA9999;
        }
    }

    &:nth-child(3) {
        & .step-section__step-bar {
            background-color: #FFE599;
        }
    }

    &:nth-child(4) {
        & .step-section__step-bar {
            background-color: #B6D7A8;
        }
    }

    &:nth-child(5) {
        & .step-section__step-bar {
            background-color: #C9DAF8;
        }
    }

    &:nth-child(6) {
        & .step-section__step-bar {
            background-color: #D9D2E9;
        }
    }
}

@media (min-width: 600px) {
    .step-section__step {
        width: 192px;
    }
}

.step-section__step-title {
    font-family: Kalam;
    line-height: 1.2;
    text-transform: capitalize;
    text-align: center;
    color: #00316a;
    font-size: 22px;
}

.step-section__step-bar {
    width: 32px;
    height: 3px;
    background: #f9cb9c;
    margin-inline: auto;
    margin-block: 17px 10px;
}

.step-section__step-description {
    font-size: 16px;
    color: #374046;
}

.bg--bubble {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    background-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2025/01/buddle-v2.svg");
    display: block;
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: bold;
}

.step-section__step-number {
    position: absolute;
    top: -17px;
    left: 50%;
    translate: -50% -50%;
}

/* Bubbles */

.goals-cards {
    background-image: url("https://mcfxsolutions.webpagefxdev.com/wp-content/uploads/2024/11/ocean-background-02.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-color: #1c61c3;
    position: relative;
    margin-top: -1px;
    padding-block: 80px 130px;
}

.goals-cards__intro {
    text-align: center;
    color: #fff;
}

.goals-cards__title {
    color: #fff;
    margin-bottom: 40px;
}

/* Bubbles */

.goal-cards__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.goal-cards__card {
    padding: 24px 42px 32px;
}

.goal-cards__card-title {
    font-family: Kalam, cursive;
    line-height: 1.3;
    font-size: 22px;
    margin: 0;
}

.goal-cards__bubbles {
    display: flex;
    justify-content: start;
    gap: 25px;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    .goal-cards__card-title {
        font-size: 26px;
    }
}

.choices {
    margin-bottom: 16px !important;
    display: block;
}

@media (min-width: 1200px) {
    .goal-cards__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .goal-cards__bubbles {
        justify-content: space-around;
    }
}

.goal-cards__bubble {
    display: flex;
    align-items: center;
    gap: 15px;
}

.goal-cards__bubble-text {
    display: block;
    font-size: 18px;
    line-height: 1.4;
    color: #374046;
}

.goal-cards__bubble-number {
    flex-shrink: 0;
}

.goal-cards__card-hgroup {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 16px;
}

.goal-cards__card-img {
    flex-shrink: 0;
    max-width: 50px;
}

@media (min-width: 1024px) {
    .goal-cards__card-hgroup {
        flex-wrap: nowrap;
        gap: 24px;
    }
    .goal-cards__card-img {
        flex-shrink: 0;
        max-width: 68px;
    }

    .goal-cards__card {
        padding: 24px 42px 32px;
    }
    .goal-cards__bubbles {
        flex-wrap: nowrap;
    }
    .goal-cards__bubble {
        max-width: 60%;
    }
}

/* Tabs */
.kpi-dashboard {
    padding-top: 0;
}

section + .kpi-dashboard {
    padding-top: var(--section-margins);
}

.tab-departament {
    background-color: #e3f0ff;
}

.tab-architect {
    background-color: #fef4e8;
}

.tab-integrations {
    background-color: #edf9f8;
}

.tab-martech {
    background-color: #fff6d5;
}

.tab-measurement {
    background-color: #f4e9f4;
}

.tab-cro {
    background-color: #ebf5e0;
}

.tab-email {
    background-color: #fdeded;
}

.tab-local {
    background-color: #EBEDEF;
}

/* Hover Tab */

.dashboard-main-btn__item.active {
    background-color: #e3f0ff;

    &:hover {
        background-color: #c1d9f6;
    }
}


.dashboard-main-btn__item.tab-architect {
    background-color: #fef4e8;

    &:hover {
        background-color: #f6e3cc;
    }
}

.dashboard-main-btn__item.tab-integrations {
    background-color: #edf9f8;

    &:hover {
        background-color: #a2f6ef;
    }
}

.dashboard-main-btn__item.tab-martech {
    background-color: #fff6d5;

    &:hover {
        background-color: #f0e0a6;
    }
}

.dashboard-main-btn__item.tab-measurement {
    background-color: #f4e9f4;

    &:hover {
        background-color: #edbded;
    }
}

.dashboard-main-btn__item.tab-cro {
    background-color: #ebf5e0;

    &:hover {
        background-color: #d3ebb7;
    }
}

.dashboard-main-btn__item.tab-email {
    background-color: #fdeded;

    &:hover {
        background-color: #fbb5b5;
    }
}

.dashboard-main-btn__item.tab-local {
    background-color: #EBEDEF;

    &:hover {
        background-color: #e2e8ee;
    }
}


/* Case Studies */
.blog-listing__pagination {
    margin-top: -60px;
    background-color: #cce4ff;
    padding-bottom: calc(var(--section-margins) + 20px);
}
