/* =================================
   POPUP OVERLAY & CONTENT
   ================================= */
.popup-overlay {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: calc(100% - 100px);
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: flex-start;
  z-index: 99999999 !important;
  padding: 20px;
  box-sizing: border-box;
}

.popup-overlay.show {
  display: flex;
}

.popup-content {
  display: flex;
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 78vh;
  overflow-y: auto;
  border-radius: 15px;
}

/* =================================
   LEFT SECTION - IMAGE & BOXES
   ================================= */
.popup-left-image {
  flex: 1;
  background: #f5f9ff;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #e5e5e5;
}

.popup-heading {
  color: #0066cc;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}


.popup-overlay .popup-left-image img {
  width: 200px;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.elementor *, .elementor :after, .elementor :before {
    box-sizing: border-box;
}
/*.popup-left-image img {*/
 
/*  max-width: 200px;*/
/*  height: auto;*/
/*  margin: 0 auto 20px;*/
/*  display: block;*/
/*}*/

/* =================================
   RIGHT SECTION - FORM
   ================================= */
.popup-right-form {
  flex: 1;
  padding: 30px 25px;
  position: relative;
  background: #fefefe;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.popup-close:hover {
  color: #4cc2c0;
}

.popup-right-form h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #2b2b2b;
  margin-top: 10px;
}

.popup-right-form p.para {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

/* =================================
   INFO BOXES
   ================================= */
.info-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.info-box {
  background-color: #4cc2c0;
  border-radius: 6px;
  padding: 4px;
  text-align: center;
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 48%;
}

.info-box strong {
  color: #ffffff;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

/* =================================
   STAT BOXES BOTTOM
   ================================= */
.stat-container-bottom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.stat-box {
  background-color: #4cc2c0;
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 48%;
}

.stat-box strong {
  color: #ffffff;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

/* =================================
   ANIMATIONS
   ================================= */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-popup {
  animation: slideIn 0.3s ease-out;
}

body.popup-open {
  overflow: hidden;
}

/* =================================
   MOBILE RESPONSIVE
   ================================= */
@media (max-width: 768px) {
  .popup-overlay {
    top: 50px;
    height: calc(100% - 50px);
    padding: 10px;
  }

  .popup-content {
    flex-direction: column;
    width: 95%;
    max-width: 100%;
  }

  .popup-left-image {
    display: none !important;
  }

  .popup-right-form {
    border-right: none;
    padding: 20px 15px;
    width: 100%;
  }

  .popup-right-form h2 {
    font-size: 22px;
  }

  .para {
    display: none;
  }
}

/* =================================
   TABLET VIEW
   ================================= */
@media (min-width: 481px) and (max-width: 800px) {
  .popup-overlay {
    top: 80px;
    height: calc(100% - 80px);
  }

  .popup-content {
    flex-direction: column;
    width: 95%;
    max-width: 600px;
  }

  .popup-left-image {
    display: none !important;
  }

  .popup-right-form {
    border-right: none;
    width: 100%;
  }
}

/* =================================
   SMALL MOBILE
   ================================= */
@media (max-width: 480px) {
  .popup-close {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }

  .popup-right-form h2 {
    font-size: 20px;
    margin-top: 5px;
  }

  .popup-left-image {
    display: none !important;
  }
}