#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 20px;

}

.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: 10px;
}

.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;
    }
}






/* Jobs Popup */
@media (min-width:530px) {
    .jobs-modal-content {
        width: 580px;
    }
}

.jobs-modal-content .offer-modal-content-ins {
    background: linear-gradient(174deg, #050911 27%, #081a2f 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 18px;
}

.jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top {
    position: relative;
}

.jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-top {
    position: absolute;
    top: -6px;
    left: 22px;
    flex-shrink: 0;
}

.jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-bot {
    position: absolute;
    bottom: 19px;
    right: -26px;
    flex-shrink: 0;
}

.jobs-modal-content .off-modal-right .off-modal-rightG h3 {
    font-size: 30px;
    font-weight: 500;
}

.jobs-modal-content .off-modal-right .off-modal-rightG h2 {
    font-weight: 300;
    color: #FAFAFA;
    font-size: 20px;
    padding: 30px 0 10px;
}

.jobs-modal-content .off-modal-rightG {
    padding: 1rem;
}

.jobs-modal-content .off-modal-right .offer-popup-close {
    position: absolute;
    top: 17px;
    right: 18px;
    font-size: 30px;
    color: #212529;
    cursor: pointer;
    width: 25px;
    height: 25px;
    background: #ffffff;
    border-radius: 50px;
    line-height: 26px;
    box-shadow: none;
    transition: transform 0.3s ease;
    text-align: center;
}

.jobs-modal-content .off-modal-right .offer-popup-close:hover {
    background: #ffffff;
    color: #484848;
}

.jobs-modal-content .off-modal-right ul {
    width: 85%;
    background: linear-gradient(0deg,
            rgba(5, 9, 17, 0.2) 0%,
            rgba(102, 102, 102, 0.2) 100%);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jobs-modal-content .off-modal-right ul li {
    font-size: 18px;
    color: #F6F6F6;
    padding: 0;
    line-height: 20px;
}

.jobs-modal-content .off-modal-right ul li .offer-popup-list svg {
    width: 25px;
    height: 25px;
}

.jobs-btn-ov {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}

.jobs-btn-ov-l,
.jobs-btn-ov-r {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.jobs-btn-ov-l svg,
.jobs-btn-ov-r svg {
    flex-shrink: 0;
}

.jobs-btn-ov-l,
.jobs-btn-ov-r {
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    width: 85%;
    margin: 0 auto;
    border: 1px solid transparent;
    transition: transform 0.3s ease;
}

.jobs-btn-ovgbg {
    width: 25px;
    height: 25px;
    background: #EDF6FF;
    border-radius: 50%;
    text-align: center;
}

.jobs-btn-ov-l:hover,
.jobs-btn-ov-r:hover {
    background: #06101d;
    cursor: pointer;
    border: 1px solid #ffffff21;
    transform: scale(1.02);
}

.jobs-btn-ov-l:hover span,
.jobs-btn-ov-r:hover span {
    color: #ffffff;
}

.jobs-btn-ov-l span,
.jobs-btn-ov-r span {
    color: #212529;
    font-weight: 500;
    font-size: 16px;
}

@media (max-width:767px) {
    .jobs-modal-content .off-modal-rightG {
        padding: 0;
    }

    .jobs-modal-content .offer-modal-content-ins {
        padding: 55px 20px 20px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG h3 {
        font-size: 20px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-top {
        top: -10px;
        left: 5px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-bot {
        bottom: 12px;
        right: -26px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG h2 {
        font-size: 19px;
    }

    .jobs-modal-content .off-modal-right ul {
        margin-top: 15px;
    }

    .jobs-btn-ov {
        flex-wrap: wrap;
    }

}

@media (max-width:400px) {
    .jobs-modal-content .off-modal-right ul {
        width: 100%;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG h2 br {
        display: none;
    }

    .jobs-modal-content .off-modal-right ul li {
        font-size: 17px;
    }
}

@media (max-width:320px) {
    .jobs-modal-content .off-modal-right .off-modal-rightG h2 {
        font-size: 17px;
    }

    .jobs-modal-content .off-modal-right ul {
        padding: 25px 10px;
    }

    .jobs-btn-ov-l,
    .jobs-btn-ov-r {
        width: 100%;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG h3 {
        font-size: 18px;
    }

    .offrightG-top,
    .offrightG-bot {
        width: 20px;
        height: 20px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-top {
        top: -10px;
        left: 7px;
    }

    .jobs-modal-content .off-modal-right .off-modal-rightG .off-modal-rightG-top .offrightG-bot {
        bottom: 12px;
        right: -21px;
    }

}