.promo-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 15px; /* add some spacing on small screens */
}

.promo-popup{
    background: #fff;
    max-width: 900px;
    width: 100%; /* full width on mobile */
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    animation: popupZoom 0.3s ease;
    display: flex;
    flex-direction: row; /* default side by side */
    flex-wrap: nowrap;
}

@keyframes popupZoom{
    from{ transform: scale(0.85); opacity: 0; }
    to{ transform: scale(1); opacity: 1; }
}

.promo-close{
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.promo-content{
    display: flex;
    flex-wrap: nowrap;
}

.promo-image{
    width: 50%;
    max-height: 400px; /* prevent overflow */
}

.promo-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-info{
    width: 50%;
    padding: 30px;
    overflow-y: auto; /* scroll if content is too long */
}

.promo-info h2{
    font-weight: 700;
    margin-bottom: 0px;
}

.promo-generic{
    margin-bottom: 12px;
    color: #0054A6;
    font-weight: 700;
}

.promo-desc{
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.promo-btn{
    display: inline-block;
    padding: 4px 25px;
    background: #0d6efd;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.promo-btn:hover{
    background: #0b5ed7;
}

/* Mobile */
@media(max-width:768px){
    .promo-popup {
        flex-direction: column !important; /* stack image and info */
        width: 100%;
    }

    .promo-image, .promo-info{
        width: 100% !important;
    }

    .promo-image{
        height: 220px !important; /* fixed height for mobile */
    }

    .promo-info{
        padding: 20px !important;
    }
}


/* Promo Title Styling */
.promo-title {
    font-family: fantasy;
    font-size: 60px;
    line-height: 60px;
    margin-bottom: 40px;
    color: #0054a6;
    text-align: left;
    animation: titleFadeIn 1s ease forwards;
}

/* Fade-in animation */
@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .promo-title {
        font-size: 40px;
        line-height: 42px;
        margin-bottom: 15px;
        text-align: center; /* center on mobile */
    }
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 28px;
        line-height: 32px;
    }
}
