.side-button {
  position: fixed;
  top: 50%;
  right: 1%;
  background-color: #0c4ca2;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right;
  cursor: pointer;
  z-index: 1000;
  border-radius: 5px 5px 0 0;
  font-size: 16px;
  font-family:jost;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.popup-content {
  background: #fff;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.popup-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.popup-image {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.popup-form {
  flex: 1;
  min-width: 280px;
}

.popup-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-form input,
.popup-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
}
.enquriy_form_22 p {
  margin-bottom: 5px !important;
}
.wpcf7-form-control input {
  font-family: jost !important;
  padding: 10px 15px  !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  color: #888;
  height: auto !important;
}
.popup-form input[type="submit"] {
  background: #f4b400;
  border: none;
  padding: 10px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .popup-inner {
    flex-direction: column;
    align-items: center;
  }

  .popup-image {
    width: 100%;
  }

  .popup-form {
    width: 100%;
  }

  .side-button {
    font-size: 12px;
    padding: 8px 16px;
  }
}
/* Timed Image Popup Styling */
#imagePopup .popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
  background: red;
  padding: 7px;
  border-radius: 50%;
  line-height: 20px;
}

#imagePopup .popup-content {
  animation: fadeIn 0.5s ease-in-out;
  border: 10px solid #0C4DA2;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  #imagePopup .popup-content {
    width: 500px;
  }
}

@media (max-width: 480px) {
  #imagePopup .popup-content {
    width: 350px;
    padding: 15px;
  }

  #imagePopup .popup-close {
    font-size: 20px;
  }
}
  .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.77);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.64);
  animation: fadeIn 0.5s ease-in-out;
  border: 10px solid #0C4DA2;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .popup-content {
    width: 500px;
  }
}
 
/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .popup-content {
    width: 350px;
    padding: 15px;
  }
}

  .popup-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
  background: red;
  padding: 7px;
  border-radius: 50%;
  line-height: 20px;
}

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 500px) {
    .popup-content {
      width: 90%;
      padding: 8px;
    }

    .popup-close {
      font-size: 20px;
    }
  }