/* Style for the popup overlay */
.popup-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.popup-content {
  position: relative;
  width: 90%; 
  max-width: 500px; 
  height: auto; 
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}


.popup-img {
  width: 100%; 
  height: auto;
  max-height: 500px; 
  object-fit: contain; 
}


.call-now-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); 
}

.call-now-btn:hover {
  background-color: #218838;
}


.close-btn {
  position: absolute;
  top: 10px; 
  right: 10px; 
  font-size: 30px;
  color: black;
  cursor: pointer;
  border: 2px solid white; 
  border-radius: 50%; 
  padding: 5px 10px; 
  background-color: white; 
}

.close-btn:hover {
  color: red; 
  background-color: #f0f0f0; 
}



@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    max-width: 400px; 
  }

  .popup-img {
    max-height: 400px; 
  }

  .call-now-btn {
    font-size: 14px; 
  }
}
