/* contact.css */
/* Add this CSS to your stylesheet */

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px;
  color: #fff;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.5s;
}
.toast.success {
  background-color: #28a745; /* Green */
}
.toast.error {
  background-color: #dc3545; /* Red */
}

/* loader form css  */

.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it appears above other content */
}

/* Loader animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.clock-icon {
  margin-top: 0px !important;
}

/* Disable pointer events on the form while loading */
.no-click {
  pointer-events: none;
}

.g-recaptcha {
  margin-top: 40px;
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.connect-heading {
  margin-bottom: 20px;
  font-size: 6rem !important;
}

.contact-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  z-index: 1000;
  overflow-y: scroll;
}

.contact-modal-content {
  background: white;
  width: 85vw;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 40px;
}

.contact-container {
  display: flex;

  position: relative;
}

.left-column-contact {
  flex: 0 0 30%;
  margin-right: 20px;
  padding: 20px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

.right-column-contact {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin: auto;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

.form-row {
  display: flex;
  justify-content: space-between;
}

.form-group {
  flex: 0 0 48%;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0 auto;
  text-align: left;
  width: -webkit-fill-available;
  resize: none;
}

.contact-info {
  margin: 20px 0px;
}

.info-item {
  display: flex;
  margin-bottom: 40px;
}

.icon {
  margin-right: 10px; /* Space between icon and text */
  width: 20px; /* Adjust the icon size as needed */
  height: 20px; /* Adjust the icon size as needed */
  margin-top: 5px;
}

button[type="submit"] {
  background-color: #eca906;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  align-self: center; /* Center the submit button */
  margin-top: 40px; /* Add space above the button */
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #b88401;
}

#first-name,
#last-name {
  width: -webkit-fill-available;
}

.check-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-box label input {
  margin-right: 10px;
}

.close-btn {
  position: absolute;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif !important;
  right: 10px;
  color: #eca906 !important;
  transition: all 0.5s ease;
  cursor: pointer;
  top: 5px;
  font-size: 2rem !important;
  padding: 5px 10px;
  border-radius: 50%;
}

.close-btn:hover {
  color: rgb(255, 255, 255) !important;
  background-color: #eca906;
  border: 1px solid #eca906;
}

.mobile-heading {
  display: none;
}

form {
  margin-top: 30px;
}

.border-color {
  border: 1px solid #79747e !important;
}

@media (max-width: 992px) {
  .desktop-heading {
    display: none;
  }

  .mobile-heading {
    display: block;
    margin-top: -10px;
  }

  .contact-modal-overlay {
    align-items: normal;
  }

  .contact-modal-content {
    overflow-y: scroll;
    margin: 5px;
    scrollbar-width: none;
    width: 100vw;
  }

  .contact-container {
    display: flex;
    flex-direction: column-reverse;
  }

  .left-column-contact {
    margin-right: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .right-column-contact {
    width: 90%;
    padding: 0px;
    padding: 20px 0px;
  }

  .form-row {
    margin-bottom: 0px;
    flex-direction: column;
    gap: 0px;
  }

  .close-btn {
    top: 5px;
  }
}

@media (max-width: 556px) {
  .contact-modal-content {
    border-radius: 0px;
  }

  .left-column-contact {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
}

@media (min-width: 992px) and (max-height: 700px) {
  .contact-modal-content {
    margin-top: 400px;
  }
}

@media (max-width: 1020px) {
  .form-group input,
  .form-group textarea {
    padding: 7px;
  }
}
