﻿
@font-face {
    font-family: 'CustomFont'; /* Name of the font */
    src: url('/fonts/custom-font.woff2') format('woff2'), url('/fonts/custom-font.woff') format('woff'); /* Provide different formats */
    font-weight: normal;
    font-style: normal;
}

.popup-container {
    display: flex;
    width: 1280px;
}

.image-side {
    flex: 1;
    overflow: hidden;
}

    .image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0px 10px 10px 0px;
    }

.content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-image: url('../../popup-images/text-bg.webp');*/
    background-image: url('../../img/text-bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px 0px 0px 10px;
}

.popup-content h2 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: "anek";
    text-align: left;
}

.popup-content h3 {
    font-size: 80px;
    line-height: 85px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 15px;
    font-family: "anek";
    text-align: left;
}

    .popup-content h3:after {
        content: "";
        /*background-image: url('../../popup-images/left-icon.svg');*/
        background-image: url('../../img/left-icon.svg');
        background-repeat: no-repeat;
        background-size: contain;
        width: 47px;
        height: 55px;
        position: absolute;
        left: -50px;
        bottom: -25px;
    }

    .popup-content h3:before {
        content: "";
        /*background-image: url('../../popup-images//right-icon.svg');*/
        background-image: url('../../img/right-icon.svg');
        background-repeat: no-repeat;
        background-size: contain;
        width: 47px;
        height: 55px;
        position: absolute;
        right: -50px;
        top: -25px;
    }

.popup-content h3 {
    position: relative;
}

.content-side img {
    position: absolute;
    right: -104px;
}

.content-side {
    position: relative;
}

.popup-content {
    text-align: left;
}

    .popup-content p {
        font-size: 22px;
        line-height: 32px;
        font-weight: 600;
        font-family: "instrument";
        text-align: left;
    }

.offer-date {
    font-family: "instrument";
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
}

/* Popup container */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1287px;
    padding: 0px;
    background-color: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* Close button */
.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 5px;
    font-size: 55px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
}

    .popup .close-btn:hover {
        color: red;
    }

/* Popup content */
.popup-content {
    text-align: left;
}

.image-side p {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    font-family: "instrument";
}

.btn-with-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #AB0849;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: "instrument";
    margin-top: 30px;
    margin-bottom: 30px;
}

    .btn-with-arrow::after {
        content: '→'; /* Unicode for right arrow */
        font-size: 16px;
        margin-left: 10px;
        transition: transform 0.3s ease; /* Smooth animation */
        position: relative;
    }
    /* On hover, animate the arrow */
    .btn-with-arrow:hover::after {
        transform: translateX(5px); /* Arrow moves slightly to the right */
    }

.btn:hover {
    background-color: #6839AF;
}

.popup .close-btn {
    top: 25px;
    right: 30px;
    color: #000000;
    background: #fff;
    line-height: 18px;
    padding: 5px;
    font-size: 34px;
    border: 1px solid #fff;
    border-radius: 3px;
}


/* responsive css start form here */
@media screen and (max-width:1366px) {

    .popup-content h3 {
        font-size: 60px;
        line-height: 70px;
    }

    .popup-content p {
        font-size: 20px;
        line-height: 30px;
    }

    .popup-content h2 {
        font-size: 30px;
        line-height: 45px;
    }

    .popup-container {
        display: flex;
        width: 100%;
        margin: auto;
    }

    .popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
    }

        .popup .close-btn {
            top: 25;
            right: 25px;
            color: #000000;
            background: #fff;
            line-height: 20px;
            padding: 5px;
            font-size: 34px;
            border: 1px solid #fff;
            border-radius: 3px;
        }

    .content-side img {
        position: absolute;
        right: -91px;
        width: 28%;
    }
}

@media screen and (max-width:1024px) {

    .popup-content h3 {
        font-size: 50px;
        line-height: 60px;
    }

    .popup-content p {
        font-size: 18px;
        line-height: 28px;
    }

    .popup-content h2 {
        font-size: 25px;
        line-height: 40px;
    }

    .content-side img {
        right: -68px;
        width: 28%;
    }
}

@media screen and (max-width:1200px) {


    .popup {
        width: 90%;
    }

    .popup-container {
        width: auto;
    }
}


@media screen and (max-width:768px) {

    .popup-content h3:before {
        width: 35px;
        height: 38px;
        right: -40px;
        top: -30px;
    }

    .popup-container {
        flex-direction: column-reverse;
        display: flex;
        overflow: auto !important;
        max-height: 92vh !important;
        margin-top: 35px;
    }

    .content-side img {
        right: 285px;
        top: -55px;
        width: 15%;
    }

    .content-side {
        padding-top: 160px;
    }
    /* br{
        display: none;
    } */
    .content-side {
        display: block;
    }

    .popup-content {
        text-align: center;
        margin-top: -48px;
    }

        .popup-content h3 {
            width: fit-content;
            margin: auto;
            text-align: center;
            font-size: 40px !important;
            line-height: 48px !important;
        }

    .image-side {
        width: 100%;
        line-height: 0;
    }

    .popup-content h2 {
        text-align: center;
        font-size: 24px;
        line-height: 34px;
    }

    .popup-content p {
        text-align: center;
        font-size: 14px;
        line-height: 24px;
    }

    .content-side {
        padding-top: 0px;
    }

    .popup-content h3:after {
        bottom: 18px;
        width: 35px;
        height: 38px;
        left: -35px;
    }

    .content-side img {
        position: relative;
        top: -66px;
        right: 0;
        bottom: 0;
        width: 127px;
    }

    .content-side {
        border-radius: 0;
    }

    .popup .close-btn {
        top: 3%;
        color: #000000;
        background: #ffffffbd;
        line-height: 21px;
        padding: 4px;
        font-size: 34px;
        border: 1px solid #7346b8;
    }

    .image-side img {
        border-radius: 0px 0px 0px 0px;
        height: auto;
    }

    div#popup {
        overflow: scroll !important;
        height: 80vh;
    }

    .image-side {
        flex: 1;
        overflow: visible;
    }
}
