/* Popup overlay */
.bw-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}

/* Popup content with darkblue → red gradient */
.bw-popup-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    width: 80%; max-width: 600px;
    border-radius: 15px;
    background: linear-gradient(135deg, darkblue, red);
    color: #fff; /* Text color for readability */
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    font-family: 'Arial', sans-serif;
}

/* Close button */
.bw-close {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}
.bw-close:hover { color: #ffd700; }

/* Slider */
.bw-slider {
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

/* Each slide */
.bw-slide {
    display: none;
    text-align: center;
    padding: 10px;
}

/* Slide image */
.bw-slide img {
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #fff;
}

/* Slide text */
.bw-slide p {
    font-size: 18px;
    line-height: 1.5;
    color: #fff; /* Text color over gradient */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Optional for readability */
}

/* Navigation buttons */
.bw-prev, .bw-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 28px;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}
.bw-prev:hover, .bw-next:hover { background: rgba(0,0,0,0.9); }
.bw-prev { left: 10px; }
.bw-next { right: 10px; }