﻿/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 9999;
}


    .popup-overlay.active {
        display: block;
    }

.popup-container.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: transparent;
    box-shadow: none;
}
.containerWidth {
    width: 56%;
}

/* Header Section */
.offer-header {
    font-size: 22px;
    font-weight: bold;
    color: #d41f24;
    margin-bottom: 18px;
    animation: highlight 1.5s infinite;
    text-shadow: 2px 2px #4caf50, -2px -2px #ffffff;
}

@keyframes highlight {
    0%, 100% {
        text-shadow: 0 0 10px #ff5722, 0 0 20px #ff5722;
    }

    50% {
        text-shadow: 0 0 20px #ff5722, 0 0 30px #4caf50;
    }
}

#timer {
    font-size: 18px;
    font-weight: bold;
    color: #1e8ee6;
    margin: 15px 0;
}

/* Close Button */
.popup-container .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff5722;
}

/* Buttons */
.popup-container .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: #4caf50;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .popup-container .btn:hover {
        background: #388e3c;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

/* Package Container */
.package-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Package Style */

.package {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ff442245;
}

    .package:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    /* Package Heading */
    .package h3 {
        font-size: 18px;
        color: #ff5722;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: bold;
    }

    /* Prices */
    .package p {
        font-size: 1rem;
        margin: 5px 0;
        color: #555;
    }

        .package p b {
            color: #d32f2f;
            font-size: 20px;
        }

    /* Button inside Package */
    .package .btn {
        display: inline-block;
        background-color: #4caf50;
        color: #ffffff;
        padding: 8px 17px;
        text-decoration: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: bold;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

        .package .btn:hover {
            background-color: #388e3c;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

    /* Price Styles */
    .package p .actual-price {
        text-decoration: line-through;
        /*color: #888;*/
        color: #665858;
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .package p .discount-price {
        color: #d32f2f;
        font-size: 18px;
        font-weight: bold;
    }

/* Responsive Stacking */
@media (max-width: 768px) {
    .package-container {
        flex-direction: column;
        align-items: center;
    }
}






/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 9999;
}

/* Popup Container */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s ease-in-out;
}

.popup-overlay.active {
    display: block;
}

.popup-container.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Offer Section (Full Width) */
.offer-section {
    text-align: center;
    margin-bottom: 20px;
}




/* Timer */
#timer {
    font-size: 18px;
    font-weight: bold;
    color: #1e8ee6;
    margin: 10px 0;
}

/* Close Button */
.popup-container .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
}

    .popup-container .close-btn:hover {
        color: #ff5722;
    }

/* Popup Body: Two Column Layout */
.popup-body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

/* Left Side: Package Section */
.package-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}


.package:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.package h3 {
    font-size: 18px;
    color: #ff5722;
    font-weight: bold;
}

.package p {
    font-size: 1rem;
    color: #555;
}

    .package p .actual-price {
        text-decoration: line-through;
        /*color: #888;*/
        color: #665858; 
        font-size: 15px;
        margin-right: 10px;
    }

    .package p .discount-price {
        color: #d32f2f;
        font-size: 18px;
        font-weight: bold;
    }

.popup-container .package .btn {
    display: inline-block;
    background-color: #e82222;
    color: #ffffff;
    padding: 8px 17px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.package .btn:hover {
    background-color: #e16729;
}

/* Right Side: Image Section */
.image-section {
    width: 50%;
    text-align: center;
}

    .image-section img {
        max-width: 95%;
        height: auto;
        border-radius: 8px;
    }

    /*.image-section h2 {
        font-size: 22px;
        color: #d41f24;
        margin-top: 10px;
        line-height: 1.6;
    }*/

    .image-section p {
        font-size: 16px;
        color: #333;
        margin-top: 5px;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .popup-body {
        flex-direction: column;
        align-items: center;
    }

    .package-section, .image-section {
        width: 100%;
        align-items: center;
    }

    .package {
        width: 80%;
    }
}

.offerQuote {
    margin-top: 26px;
    font-family: Poppins, sans-serif;
    /*font-size: 22px;*/
    font-size: 18px;
    color: #66451c;
    font-weight: 600;
    line-height: 1.6;
}
.offerQuoteWithoutImage {
    margin-top: 26px;
    font-family: Poppins, sans-serif;
    /*font-size: 22px;*/
    font-size: 19px;
    color: #66451c;
    font-weight: 600;
    line-height: 2;
}
.offerHeading {
    font-size: 16px;
    color: #d41f24;
    font-weight: bold;
    line-height: 2.6;
}


/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .popup-body {
        flex-direction: column;
        align-items: center;
    }

    .package-section, .image-section {
        width: 100%;
        text-align: center;
    }

    .offer-header {
        font-size: 16px;
        text-shadow: 1px 1px #4caf50, -1px -1px #ffffff;
    }

    .package h3 {
        font-size: 16px !important;
    }

    .package p {
        font-size: 0.9rem;
    }

        .package p .discount-price {
            font-size: 16px;
        }

        .package p b {
            color: #d32f2f;
            font-size: 16px;
        }

    .package .btn {
        font-size: 12px !important;
        padding: 6px 14px;
    }

    .popup-container {
        width: 95%;
        padding: 15px;
    }

    .image-section img {
        max-width: 60%;
        height: auto;
        border-radius: 8px;
    }

    .offerQuote {
        margin-top: 6px;
        font-family: Poppins, sans-serif;
        font-size: 16px;
        color: #66451c;
        font-weight: 600;
        line-height: 1.2 !important;
    }
    .offerQuoteWithoutImage {
        margin-top: 6px;
        font-family: Poppins, sans-serif;
        font-size: 16px;
        color: #66451c;
        font-weight: 600;
        line-height: 1.2 !important;
    }

    .offer-header {
        font-size: 17px;
        margin-bottom: 5px;
    }

    #timer {
        font-size: 12.5px;
        margin: 10px 0;
    }

    .package {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 7px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 2px solid #ff442245;
    }

    .offer-section {
        text-align: center;
        margin-bottom: 0px;
    }
}

/* 🖥️ Tablet Responsive */
@media (max-width: 1024px) {


    .package h3 {
        font-size: 17px;
    }

    .popup-container {
        width: 85%;
    }
}

/* 📺 Large Screens */
@media (min-width: 1200px) {
    .popup-container {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .popup-body {
        flex-direction: column-reverse; /* Image on top, package below */
        align-items: center;
    }

    .package-section, .image-section {
        width: 100%;
        text-align: center;
    }

    .package {
        width: 80%;
    }

    .popup-container {
        width: 95%;
        padding: 15px;
    }

    .image-section img {
        max-width: 75%;
         height: auto;
        border-radius: 8px;
		/* height: 135px; */
    }

    /*.image-section h2 {
        font-size: 16px;
        color: #66451c;
        margin-top: 10px;
        line-height: 1.6;
    }*/

    .image-section p {
        font-size: 16px;
        color: #333;
        margin-top: 5px;
    }

    .offer-header {
        font-size: 20px;
        text-shadow: 1px 1px #4caf50, -1px -1px #ffffff;
        /*margin-bottom: 5px;*/
        margin-bottom: 1px;
    }

    #timer {
        font-size: 12.5px;
        margin: 10px 0;
    }

    .package h3 {
        font-size: 18px !important;
    }

    .package p {
        font-size: 0.9rem;
    }

        .package p .discount-price,
        .package p b {
            font-size: 16px;
        }

    .package .btn {
        font-size: 12px !important;
        padding: 6px 14px;
    }

    .offerQuote {
        margin-top: 6px;
        font-size: 15px;
        text-align:justify;
        line-height:1.5 !important;
    }
    .offerQuoteWithoutImage {
        margin-top: 18px;
        font-size: 15px;
        text-align: justify;
        line-height: 2 !important;
    }

    .offerHeading {
        font-size: 17px;
        color: #d41f24;
        font-weight: bold;
        line-height: 2.6;
        margin-left: 45px;
    }
}

.percentoff {
    color: #d41f24;
    font-weight: bold;
    color: #ef0d0c;
    font-size: 18px;
}
.addDiv {
    height: 27px;
}


/* By default, hide it on desktop */
.mobile-only {
    display: none;
}

/* By default, show desktop-only */
.desktop-only {
    display: block;
}

/* Show it only for screens up to 768px (mobile) */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
    .containerWidth {
        width: 90%;
    }
}

@media (max-width: 375px) {
    /*.image-section h2 {
        font-size: 12px;
        color: #66451c;
        margin-top: 10px;
        line-height: 1.6;
    }*/
    .percentoff {
        color: #d41f24;
        font-weight: bold;
        color: #ef0d0c;
        font-size: 20px;
    }
    .offercontent {
        font-size: 12px;
        color: #66451c;
        line-height: 1.6;
        text-align: justify; /* Justifies text */
        margin-left: auto; /* Centers the block */
        margin-right: auto;
        max-width: 90%; /* Optional: control width */
    }
    .addDiv {
        height: 40px;
    }
}




@media (min-width: 376px) and (max-width: 768px) {
    /*.image-section h2 {
        font-size: 16px;
        color: #66451c;
        margin-top: 10px;
        line-height: 1.6;
    }*/

    .image-section p {
        font-size: 12px;
        color: #333;
        margin-top: 5px;
    }
    .offerHeading {
        font-size: 20px;
        color: #d41f24;
        font-weight: bold;
        line-height: 2.6;
        margin-left: 25px;
    }
    .percentoff {
        color: #d41f24;
        font-weight: bold;
        color: #ef0d0c;
        font-size: 22px;
    }
    .offercontent {
        font-size: 15px;
        color: #66451c;
        line-height: 1.6;
        text-align: justify; /* Justifies text */
        margin-left: auto; /* Centers the block */
        margin-right: auto;
        max-width: 90%; /* Optional: control width */
        font-weight: 400;
    }
    .offerQuote {
        margin-top: 6px;
        font-size: 12px;    
        text-align: justify;
        line-height: 1.2 !important;
    }
    .offerQuoteWithoutImage {
        margin-top: 6px;
        font-size: 12px;
        text-align: justify;
        line-height: 1.2 !important;
    }
    .addDiv {
        height: 40px;
    }
    
}
