.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box with side-by-side layout */
.popup-box {
  background: white;
  display: flex;
  flex-direction: row;
  max-width: 800px;
  width: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Left side: form */
.popup-left {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-left h2 {
  margin-bottom: 10px;
}

.popup-left p {
  margin-bottom: 20px;
}

.popup-left form {
  display: flex;
  flex-direction: column;
}

.popup-left input[type="text"],
.popup-left input[type="email"] {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.popup-left button {
  padding: 10px;
  background-color: #0a518f;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-left button:hover {
  background-color: #ec681f;
}

/* Right side: image */
.popup-right {
  flex: 1;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.popup-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center; /* Shift image to the right */
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: white;
  font-weight: 600;
}

/* Indicator button styling */
.subscribe-indicator {
  position: fixed;
  bottom: 0;
  left: 20px;
  background-color: #0a518f;
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: none; /* Hidden by default */
  z-index: 9999;
}

.subscribe-indicator:hover {
  background-color: #ec681f;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-box {
    flex-direction: column;
  }

  .popup-right {
    display: none;
  }
  .close-btn {
    color: black;
  }
}
