.digital-marketing {
    padding: 83px 0 76px 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.dms-item,
.digital-marketing h2 {
    margin-bottom: 32px;
}

.dms-item .dm-card {
    border-radius: 4px;
    border: 0.5px solid var(--grey2);
    background: var(--white);
    gap: 22px;
    padding: 20px 5px;
    height: 100%;
    min-height: 279.679px;
    box-shadow: 0 1px 14px 0 rgba(26, 26, 26, 0.06);
    position: relative;
    overflow: hidden;
}

.dms-item .dm-card h5.dms-title,
.dms-item .dm-card .dms-image {
    z-index: 1;
}

.dms-item .dm-card h5.dms-title {
    font-size: 18px;
    line-height: 23px;
}

.dms-item .dm-card .dms-image img {
    height: 122px;
    object-fit: contain;
}

.dms-item .dm-card .btn-white {
    max-width: fit-content;
    margin: 0 auto;
}

.dms-item .dm-card .btn-white span {
    font-size: 14px;
}

.dms-item .dm-card .btn-white svg {
    margin-top: 0;
}

.dms-item .dm-card .dms-cta {
    opacity: 0;
    transition: all .4s ease-in-out;
    margin-top: -50px;
}

.dms-item .dm-card::before {
    content: "";
    background: url('../../../library/images/union.svg') center / cover no-repeat;
    z-index: 0;
    opacity: 0;
    transition: all .6s ease;
    position: absolute;
    inset: 0;
}

.dms-item .dm-card:hover::before {
    opacity: 1;
}

.dms-item .dm-card:hover .dms-cta {
    opacity: 1;
    margin-top: 0;
}

.dms-item.deactive {
    pointer-events: none;
}

.dms-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.dms-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.70);
    opacity: 0;
    transition: opacity .4s ease;
}

.dms-popup-content {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 500px;
    max-width: 100%;
    background: var(--white) url('../../../library/images/dms-popup-bg.webp') center center / cover no-repeat;
    padding: 40px 26px 49px 26px;
    transform: translateX(100%);
    transition: transform .45s ease;
    overflow-y: auto;
}

.dms-popup.dms-active {
    pointer-events: auto;
}

.dms-popup.dms-active .dms-popup-overlay {
    opacity: 1;
}

.dms-popup.dms-active .dms-popup-content {
    transform: translateX(0);
}

.dms-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.dms-popup-content h3 {
    font-size: 26px;
    line-height: 31px;
    margin-top: 21px;
}

.dms-popup-title,
.dms-popup-title h5 {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.dms-popup-title {
    gap: 26px;
}

.dms-popup-title h5 {
    gap: 7px;
    font-size: 21.282px;
}

h6.dms-popup-price {
    border-radius: 6px;
    border: 1px solid #000;
    background: rgba(255, 225, 0, 0.40);
    font-size: 14px;
    padding: 4px 14px;
    margin-bottom: 0;
}

.dms-popup-group ul {
    padding: 0;
    margin: 16px 0 45px 0;
    list-style: none;
    text-align: left;
}

.dms-popup-group ul li {
    display: flex;
    gap: 9px;
    margin-bottom: 16px;
}

.dms-popup-group ul li:last-child {
    margin-bottom: 0;
}

body.dms-popup-active {
    overflow: hidden;
}

.p6 {
    left: -200px;
    top: 500px;
    animation: p6Move 50s linear infinite;
    height: 400px;
    width: 400px;
    position: absolute;
}

@keyframes p6Move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

.p7,
.p7-a {
    position: absolute;
    bottom: 75px;
    left: -20px;
    animation: p7Move 50s linear infinite;
}

.p7-a {
    right: -20px;
    top: 50%;
    left: auto;
}

@keyframes p7Move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

.home .p7-a {
    display: none;
}

.industries .p7 {
    top: 200px;
    bottom: auto;
}

.industries .digital-marketing {
    padding-top: 65px;
}


@media (max-width: 992px) {

    .digital-marketing {
        padding-bottom: 30px;
    }

    .dms-item .dm-card {
        min-height: 130px;
        gap: 15px;
        padding: 20px 8px;
        justify-content: space-around !important;
    }

    .dms-item .dm-card h5.dms-title {
        font-size: 15px;
    }

    .dms-item .dm-card .dms-cta {
        opacity: 1;
        margin-top: 0;
    }

    .dms-item .dm-card .btn-white {
        padding: 0 15px;
        border-color: var(--yellow);
    }

    .dms-item .dm-card .dms-image img {
        height: 75px;
    }

    .p6,
    .home .p7-a {
        display: none;
    }
}

@media (max-width: 767px) {

    .digital-marketing .row .dms-item {
        width: 50%;
        margin-bottom: 13px;
        padding: 0;
    }

    .p7 {
        display: none;
    }

    .dms-item .dm-card{
        margin: 8px;
    }

    .dms-item .dm-card .dms-image img {
        height: 55px;
    }

    .dms-popup-content {
        width: 100%;
    }

    .home .digital-marketing .row .dms-item:last-child {
        width: 100%;
    }
}