/* Container */
.custom-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in-out;
}

/* Inner Glass Box */
.custom-popup-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  animation: scaleIn 0.5s ease-out forwards;
  position: relative;
}

/* Close Button */
.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
  z-index: 1;
}

.custom-close-btn:hover {
  background: #f44336;
  color: #fff;
}

/* Content Layout */
.custom-popup-content {
  display: flex;
  flex-direction: column;
  padding:10px;
}

.popup-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.popup-text-content {
  padding: 25px;
  text-align: left;
}

.popup-text-content h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.popup-text-content p {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 20px;
}

.popup-cta {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.popup-cta:hover {
  background: #084cd6;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .custom-popup-content {
    flex-direction: row;
  }

  .popup-img-wrapper {
    width: 50%;
  }

  .popup-text-content {
    width: 50%;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes scaleIn {
  to { transform: scale(1); }
}
.cta-buttons {
    background: b;
    background-color: #0d6efd;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
}
.cta-buttons a{
  color: #fff!important;
}