#home-pup-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#home-pup-modal.show {
    display: block;
    opacity: 1;
}

#home-pup-modal.show .offer-modal-content {
    animation: flowerOpen 0.5s ease-out forwards;
}

@keyframes flowerOpen {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.offer-p-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(30, 42, 55, 0.9);
}

.offer-modal-content {
    background: #fff;
    box-shadow: 0 6px 36px rgba(0, 0, 0, 0.18);
    margin: 0 auto;
    border-radius: 20px;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.offer-modal-content-ins {
    border-radius: 20px;
    background: linear-gradient(90deg, hsl(233deg 100% 98.1%) 0%, hsl(0deg 0% 99.78%) 100%);
}

.off-modal-rightG {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem 1rem;
}

.off-modal-rightG h2 {
    font-size: 22px;
    font-weight: 300;
    width: 100%;
    padding: 10px 0;
    border-radius: 5px;
    color: #212529;
}

.off-modal-rightG h2 span {
    font-weight: 700;
    color: #212529;
}

.off-modal-l {
    display: flex;
    width: 80%;
}

.off-modal-lines {
    flex: 1;
}

.off-modal-lines hr {
    height: 5px;
    border-radius: 10px;
    margin: 5px 10px;
}

.offline-Le hr {
    background: linear-gradient(45deg, #89a8db,
            transparent);
}

.offline-Ri hr {
    background: linear-gradient(45deg, transparent,
            #89a8db);
}

.offer-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 25px;
    color: #333;
    cursor: pointer;
    width: 25px;
    height: 25px;
    background: #ffffff;
    border-radius: 50px;
    line-height: 28px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: transform 0.3s ease;
}

.offer-popup-close:hover {
    transform: scale(1.1);
    color: #212529;
}

.off-modal-left {
    background: black;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.off-modal-right {
    padding: 0 0 40px;

}

.off-modal-right ul {
    width: 73%;
    margin: 0 auto 2rem;
}

.off-modal-right ul li {
    text-align: start;
    position: relative;
    padding: 5px 0 0 30px;
    font-size: 17px;
    color: #333;
}

.off-modal-right ul li .offer-popup-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.off-modal-right ul li svg {
    width: 20px;
    height: 20px;
    fill: #0a66c2;
    flex-shrink: 0;
}

.c-btn {
    position: relative;
    background: transparent;
    color: #000000;
    padding: 8px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    overflow: hidden;
    border: 1px solid transparent;
    z-index: 1;
    transition: all 0.3s ease;
}

.c-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 5px;
    background: linear-gradient(120deg, #f0940f, #4c99d0, #f2e7b1, #4c99d0);
    background-size: 300% 300%;
    animation: movingBorder 3s linear infinite;
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.c-btn:hover {
    box-shadow: 0 4px 20px rgba(39, 41, 44, 0.3), 0 0 10px rgba(53, 177, 186, 0.2) !important;
    background-color: #002147;
    background-image: linear-gradient(26deg, #002147 0%, #3b3c36 74%);
    color: #ffff;
}

#numCount {
    display: inline-block;
    width: 50px;
    text-align: center;
    margin: 0 auto;
}

@media (min-width:530px) {
    .offer-modal-content {
        width: 500px;
    }
}

@media (max-width:529px) {
    .offer-modal-content {
        width: 95%;
    }

    .off-modal-rightG h2 {
        font-size: 20px;
        padding: 10px 5px;
    }

    .off-modal-rightG {
        padding: 2rem 0rem 1rem;
    }

    .off-modal-right ul li {
        padding: 5px 10px 0 30px;
    }

    .off-modal-right ul {
        width: 100%;
    }
}

@media (max-width:360px) {
    .off-modal-rightG h2 {
        padding: 10px;
    }
}