
.custom-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: end;
  align-items: end;
  z-index: 99999;
  padding-right: 40px;
  padding-bottom: 40px;
}

.custom-popup-box {
  background: #fff;
  padding: 25px;
  width: 90%;
  max-width: 420px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.custom-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}

.custom-popup-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

.custom-popup-box button {
  padding: 10px 20px;
  cursor: pointer;
}

/* Popup Hero Background */
.custom-popup-hero {
  background-image: url("https://iautomation.com/wp-content/uploads/2026/01/machine_warehouse.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 60px 40px;
  max-width: 60%;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
}

/* Dark overlay */
.custom-popup-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 3%);
  z-index: 0;
}

/* Content above overlay */
.custom-popup-content {
  position: relative;
  z-index: 1;
}

/* Center heading */
.popup-main-heading {
    text-align: center;
    font-weight: 800;
    margin-bottom: 30px;
    color: #e30e06;
}

/* Left content */
.popup-text-left {
      text-align: left;
  
}

.popup-text-left h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.popup-text-left p {
  font-size: 15px;
  line-height: 1.6;
}

/* Close button */
.custom-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
}

/* Responsive */
@media (max-width: 600px) {
  .custom-popup-hero {
    padding: 40px 20px;
  }

  .popup-main-heading {
    font-size: 22px;
  }
  .custom-popup-overlay {
    justify-content: center;
    align-items: center;
    padding: 0;
 }
 .custom-popup-hero{
    max-width: 75%;
 }
     
 }
