/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/
 Description:  A child theme for Hello Elementor
 Author:       TxLabz
 Author URI:   https://example.com/
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Import Parent Theme Styles */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Poppins", serif !important;
}

.elementor-element.elementor-element-d773166 .elementor-shortcode {
    display: flex;
    flex-direction: column;
}

/* Error highlight */
.input-error {
        border: 1px solid #e19a9a !important;
    box-shadow: 0 0 4px rgb(230 57 70 / 16%);
}

/* Optional: transition for smooth effect */
#lucky-form input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.lucky-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.15s ease-in-out;
}

.lucky-form {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.lucky-form .form-group {
    margin-bottom: 15px;
}

.lucky-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #000;
    display: none;
}

.lucky-form .form-group input {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: transparent;
    font-size: 16px;
    border: 1px solid #bebfc2;
}

/* #coupon_code {
  text-transform: uppercase;
} */

.swal2-modal button {
    width: 100%;
    padding: 14px;
    background: #004892;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.swal2-modal button :hover,
.swal2-modal button:focus {
    opacity: 0.8;
    background: #004892;
}

.lucky-form .submit-btn {
    /* width: 100%;
    padding: 14px;
    background: #004892;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease; */
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    color: #FFFFFF;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 16px 36px;
    box-shadow: 0 8px 18px rgba(0, 114, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: 96%;
    text-align: center;
}

.lucky-form .submit-btn:hover,
.lucky-form .submit-btn:focus {
    /* opacity: 0.7;
    background: #004892; */
    background: linear-gradient(90deg, #0072FF 0%, #00C6FF 100%);
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.6);
    transform: scale(1.05);
    color: #fff;
}

.form-heading {
    font-size: 20px;
    color: #004892;
    margin: 10px 0 10px;
    font-weight: 700;
}

p.warning {
    font-size: 14px;
    color: #951515;
    margin-bottom: 10px;
}

#ld-response {
    margin-top: 16px;
}

.offers-container {
    max-width: 1056px;
    width: 100%;
    margin: 0 auto 50px;
    padding: 0 16px;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, .5fr)); */
    gap: 30px;
    padding: 30px 0 50px;
}

.offer-card {
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16);
    /* background: white; */
}

.offer-card img {
    max-width: 100%;
    height: auto;
}

.offer-card>img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    /* margin-bottom: 15px; */
}

.offer-prize {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 8px;
    background: #F7F7F7;
}

.progress-bar {
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 16px;
    width: 100%;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #4FD964;
    width: 0;
    /* Start from 0 */
    transition: width 1.5s ease-in-out;
}


header {
    align-items: center;
    justify-content: center !important;
}
.site-header .header-inner {
    justify-content: center !important;
}

.site-header .site-title {
    color: #fff;
    text-align: center;
    font-family: 'Poppins';
    font-size: 25px !important;
    font-style: normal;
    padding-top: 30px;
}

.site-header .site-title a {
    color: #fff;
}

.site-header .site-title a:hover {
    color: #fff;
}

.offer-data {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}
.lucky-form-wrapper .offer-data>h3 {
    color: #004892;
}
.offer-data>h3 {
    color: #000;
    font-family: 'Poppins';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin: 0;
}

.offer-prize .offer-img img {
    width: 100px;
    height: 50px;
    object-fit: contain;
    object-position: center;
}

.offer-text .inner-text {
    color: #828282;
    font-family: 'Poppins';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
}

.progressbar-container {
    width: 100%;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-stats p {
    color: #000;
    font-family: 'Poppins';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}
.offer-data-small .progress-stats p{
    font-size: 10px;
    line-height: 12px;
}

.offer-data-small .progress-bar {
    height: 6px;
}

.progress-stats p.persontage {
    color: #000;
}

.offers-search input {
    border-radius: 8px !important;
    background: #001364;
    border: unset !important;
    outline: unset;
    padding: 10px 10px 10px 42px !important;
    color: #c9c9c9;
    font-family: 'Poppins';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.offers-search {
    position: relative;
    margin: 16px auto 0;
    max-width: 500px;
}

.offers-search::after {
    position: absolute;
    content: '';
    left: 10px;
    top: 10px;
    background: url(https://qrcode-promo.txlabz.com/wp-content/uploads/2025/10/Frame.png);
    width: 24px;
    height: 24px;
    background-size: contain;
    filter: invert(1);
}

#load-more-offers {
    background: black;
    border: unset;
    color: white;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
}

.load-more-wrap {
    text-align: center;
}

#load-more-offers:hover {
    opacity: 0.7;
}

.lucky-form-wrapper .offer-card {
    box-shadow: unset;
    width: 100%;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    border: 1px solid #b6b6b661;
    background: #f3f3f3db;
}

.lucky-form-wrapper .offer-card .offer-data {
    padding: 0;
}

.swal2-title {
    color: #004892;
    font-size: 25px;
}

.swal2-html-container {
    font-size: 14px;
    color: black;
}

.swal2-modal button:hover {
    background: #004892;
    opacity: 0.8;
}

#ld-response .error {
    background: #f193931f;
    color: black;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e19a9a;
    font-size: 14px;
}

#ld-response .success {
    background: #93f1ac1f;
    color: black;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #9ae1ac;
    font-size: 14px;
}

/* Search Loader */

.shortcode-error {
    padding: 10px;
    color: #b77600;
    background: #fbf6e4;
    text-align: center;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

#search-loader {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid #333;
    /* top border color */
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    /* ✅ correct animation shorthand */
    display: none;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

#search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    display: none;
    user-select: none;
    line-height: 1;
}

#search-clear:hover {
    color: #aaa;
}

/* Search Loader */

/* offer image  */
.offer-card-pic {
    overflow: hidden;
    height: 300px;
    background: #F7F6F6;
    border-radius: 8px 8px 0px 0px;
}

.offer-card-pic>img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.offer-card-pic>img:hover {
    transform: scale(1.1);
}

.lucky-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.form-wrapper {
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    max-width: 700px;
    padding: 20px;
    border: 1px solid #b6b6b661;
    background: #f3f3f3db;
    border-radius: 32px;
}

.lucky-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
}

.lucky-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.lucky-close:hover {
    color: red;
}


/* new-offer-card css */

.offerr-card{
    display: flex;
    gap: 40px;
    background-color: #d1dae4;
    border-radius: 32px;
    padding: 20px 43px;
}
.offerr-data-frst{
    width: 400px;
    height: 310px !important;
    border-radius: 24px;
    padding-top: 12px;
    background: linear-gradient(135deg, #000428 0%, #004892 50%, #0074E4 100%);
}
.offerr-data-frst-img {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
}
.offerr-data-frst img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    border-radius: 24px !important;
}
.offerr-data-sec{
    width: calc(100% - 400px);
}
.offerr-data-sec h2{
    margin: 0;
    font-family: Inter;
    font-size: 48px;
    font-style: italic;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: -4px;
    background: linear-gradient(135deg, #000428 0%, #004892 50%, #0074E4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.offerr-data-sec h3{
    margin: 0;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px;
    margin-bottom: 10px;
}
.offer-card-small {
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.16);
    overflow: hidden;
}
.offer-card-small-pic{
    overflow: hidden;
    height: 135px;
    background: #FFF;
    border-radius: 8px 8px 0px 0px;
}
.offer-card-small-pic>img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.offer-data-small {
    display: flex;
    padding: 8px;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    background: white;
    border-radius: 0 0 12px 12px;
}
.offer-data-small h3{
    margin: 0;
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.offer_form_v2 {
    padding: 10px 10px 10px !important;

}

.offer_form_v2>.elementor-element {
    border-radius: 10px 10px;
    background: linear-gradient(to bottom right, #000428, #004892, #0074e4);
}

/* Form page btn */

.lucky-form-wrapper #openLuckyForm {
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    color: #FFFFFF;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 16px 36px;
    box-shadow: 0 8px 18px rgba(0, 114, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.lucky-form-wrapper #openLuckyForm:hover {
    background: linear-gradient(90deg, #0072FF 0%, #00C6FF 100%);
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.6);
    transform: scale(1.05);
    color: #fff;
}

.page-id-121 header,
.page-id-121 footer ,
.home footer {
    display: none;
}

/* Form page btn */

.search-error {
    text-align: center;
    color: white;
}

.home {
    background: linear-gradient(to bottom right, #000428, #004892, #0074e4);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    min-height: 100vh;
}

.home .offer-data {
    align-items: flex-start;
}
.home .offer-data>h3 {
    color: black;
}
.home .progress-stats p {
    color: black;
}
.home .offer-card{
    background: white;
}
.offerr-data-frst.desktop {
    display: block;
}
.offerr-data-frst.mobile {
    display: none;
}
@media screen and (max-width:767px) {

    .offerr-data-frst.desktop {
        display: none;
    }

    .offerr-data-frst.mobile {
        display: block;
    }


    .offer-card>img {
        height: 150px;
        /* margin-bottom: 4px; */
    }

    .offer-data>h3 {
        font-size: 12px;
        line-height: 18px;
    }

    .offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 16px 0 50px;
    }

    .offer-data {
        padding: 8px;
        gap: 8px;
    }

    .offer-text .inner-text {
        font-size: 8px;
        line-height: 12px;
    }

    .offer-prize .offer-img img {
        width: 50px;
        height: 30px;
    }

    .progress-stats p {
        font-size: 8px;
        line-height: 12px;
    }

    .progress-bar {
        height: 4px;
        margin-top: 4px;
    }

    .offers-container {
        padding: 0 8px;
    }

    /* Offer card pic */
    .offer-card-pic {
        height: 150px;
    }

    .offer-card-pic>img {
        height: 150px;
    }

    /* Offer card pic */

    .lucky-form-wrapper .offer-card, .form-wrapper{
        padding: 10px;
    }

    .offerr-card {
        flex-direction: column;
        padding: 20px;
    }
    .offerr-data-sec {
        width: 100%;

    }

    .offerr-data-frst {
        width: 100%;
        height: 200px !important;
        margin-bottom: 20px;
    }

    .offer-card-small {
        border-radius: 24px;
    }
    .offer-data-small {
        padding: 8px 10px 20px !important;
        gap: 16px;
    }
}