.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 10px;
}

.popup-box {
  background: linear-gradient(135deg, #e6f0fa, #c3daf5);
  color: #1c1c1c;
  border-radius: 14px;
  padding: 32px 24px;
  width: 85%;
  max-width: 800px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #d2e4f7;
  max-height: 90vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  color: #444;
  border: 1px solid #bbb;
  border-radius: 50%;
  font-size: 16px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10001;
}
.close-btn:hover {
  background: #eee;
  color: #000;
}

.popup-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.popup-left,
.popup-right {
  flex: 1;
  min-width: 260px;
}

.popup-left h2 {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0a4a86;
}

.popup-left p,
.popup-left ul {
  font-size: 15px;
  margin-bottom: 12px;
}

.popup-left ul {
  list-style: disc;
  padding-left: 18px;
}

.popup-right form {
  display: flex;
  flex-direction: column;
}

.popup-right input {
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.popup-right button {
  background-color: #0a1c46;
  color: white;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.popup-right button:hover {
  background-color: #0f2f6d;
}

/* Globe animation */
.rotating-globe {
  display: inline-block;
  animation: spin-clockwise 6s linear infinite;
}
@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Mobile Breakpoints --- */
@media (max-width: 768px) {
  .popup-box {
    width: 80%;
    padding: 24px 18px;
    border-radius: 12px;
  }
  .popup-columns {
    flex-direction: column;
    gap: 16px;
  }
  .popup-left h2 {
    font-size: 20px;
  }
  .popup-left p,
  .popup-left ul {
    font-size: 14px;
  }
  .popup-right input,
  .popup-right button {
    font-size: 13px;
  }
  .close-btn {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }
}

/* Ultra-small screens (≤360 px) */
@media (max-width: 360px) {
  .popup-box {
    width: 80%;
    padding: 18px 14px;
    border-radius: 10px;
  }
  .popup-left h2 {
    font-size: 18px;
  }
  .popup-left p,
  .popup-left ul {
    font-size: 13px;
  }
  .popup-right input {
    padding: 8px 10px;
    font-size: 13px;
  }
  .popup-right button {
    padding: 10px;
    font-size: 13px;
  }
}
