
.mapouter {
  position: relative;
  text-align: right;
  height: 350px;
  width: 100%;
}

.gmap_canvas {
  overflow: hidden;
  height: 350px;
  width: 100%;
}

#gmap_canvas {
  width: 100% !important;
  height: 100% !important;
}

.form {
  padding: 20px;
  border-radius: 12px;
  height: 350px;
  background: rgba(101, 98, 98, 0.1);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-control-lg {
  height: 30px;
  padding: 1px 3px;
  font-size: 15px !important;
  border-radius: 5px;
}

.contact .info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
  padding: 20px 15px 30px 15px;
  border-radius: 8px;
  background-color: #fff;
}

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted #ffd565;
  margin-bottom: 10px;
}

.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
  padding: 30px;
  border-radius: 8px;
}

.contact .php-email-form .form-group {
  padding-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
  cursor: pointer;
}

.contact .php-email-form button[type="submit"]:hover {
  background: rgba(254, 185, 0, 0.8);
}

#submitBtn {
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: red;
  border-color: var(--color-primary);
 
}

#submitBtn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
 
}
#formMessage
{
  height: 50px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

  #contact .row.gy-4 > div,
  #contact .row.mt-5.pt-5 > div {
    width: 100% !important;
    max-width: 100%;
  }
  #contact
  {
    height: auto !important;
  }

  .contact .info-item {
    margin-bottom: 20px;
    padding: 10px 5px;
  }
  #submitBtn {
  border-radius: 5px;
  font-size: 10px;
  margin-top: -10px;
  width: 80px;

}

  .mapouter,
  .gmap_canvas {
    height: 300px !important;
  }

  #form-popup {
    margin-top: 10px;
  }

  #form-popup form {
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    height: 320px;
  }

  #form-popup input,
  #form-popup textarea {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border-radius: 6px;
  }

  #form-popup button {
           width: 50%;
        padding: 10px;
        font-size: 10px;
        margin-top: -40px;
  }

  .contact .php-email-form {
    padding: 20px;
  }

  .contact .php-email-form button[type="submit"] {
    width: 100%;
    font-size: 16px;
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
