.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Content */
.popup-content {
    background: white;
    border-radius: 10px;
       padding: 10px;
    max-width: 530px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}
.popup-content img {
    width: 100%;
    height: auto; 
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #000;
}

/* Popup Text */
.popup-content h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.popup-content p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
}
.popup-content a {
   text-decoration: none;
}
.popup-content a:hover {
   text-decoration: none;
   color: #fff;
}

/* Popup Button */
.popup-btn {
        background-color: #007a39;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
     display: flex;
     justify-content: center;
    margin: 0 auto;
    text-align: center;
    width: 160px;
    text-decoration: none;
}

.popup-btn:hover {
   background-color: #007a39;
}