/* Indore Unit Style Popup */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 999; /* Place it above other elements */
}

/* Popup styles */
.popup-home {
  width: 710px;
  height: auto;
  border-radius: 8px;
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  transition: transform 0.4s, visibility 0.4s, top 0.4s;
  z-index: 1000; /* Above the overlay */
}

/* When popup is open, scale up and fade in */
.popup-home.open-popup {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.pop-up-grid span{
    font-size: 10px;
    color: #000;
}

/* Open popup */
.open-popup {
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  top: 50%;
}

/* Open overlay */
.show-overlay {
  visibility: visible;
  opacity: 1;
}

.close-youtube {
  float: right;
  position: absolute;
  right: 18px;
  top: 15px;
  cursor: pointer;
  width: 25px;
  height: 18px;
}

.close-youtube:after, .close-youtube:before {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 25px;
  width: 2px;
  background-color: #607080;
  z-index: 999;
}

.close-youtube:before {
  transform: rotate(45deg);
}

.close-youtube:after {
  transform: rotate(-45deg);
}

.pop-up-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5px;
}

.popup-left{
    padding: 30px 20px;
}

.enq-head{
  font-size: 20px;
  text-align: center;
  color: #434761;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.ct-description{
  color: #434761;
  text-align: center;
  font-size: 14px;
}

.email, .message, .name, .phone, .hospital{
  width: 100%;
  height: 35px;
  padding: 5px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  font-family: 'Work Sans', sans-serif;
  background-color: #F2F2F2;
  margin: 6px 0;
}

.contactus-btn {
  display: inline-block;
  padding: 5px 25px;
  border: 2px solid #0176be14;
  border-radius: 30px;
  width: 140px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: #0F3769;
  border-color: #0F3769;
  margin: 10px 0 5px 0;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
}

span.required_field {
  font-size: 12px;
  padding: 0;
  text-align: left;
  color: red;
  width: 100%;
}

.contact-fo-image{
  place-self: center;
  height: 100%;
}

.contact-fo-image img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#doctor-name {
  color: #706D6D; /* Default color */
}

@media only screen and (max-width:768px) {
    .contact-fo-image img{
        display: none;
    }

    .popup-home{
        width: 332px;
    }

    .pop-up-grid{
        grid-template-columns: 1fr;
    }

    .close-youtube{
        right: 10px;
        top: 10px;
    }

    .close-youtube:after, .close-youtube:before{
        height: 18px;
    }

    .popup-left{
        padding: 30px 10px;
    }
}
