*{
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    margin: 0%;
    padding: 0%;
}
/* Overlay background */
#formModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); 
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Modal box */
#formModal .modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease-out;
}

/* Success/Error text */
#formModal .modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

/* Close button */
#formModal .modal-content button {
  padding: 10px 20px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

#formModal .modal-content button:hover {
  background: #1e4fc5;
}

/* Animation */
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.contact-from-cont{
    width: 100%;
    height: 100vh;
    z-index: 2000;
    display: none;
    background-color: #3333338c;
    top: 0%;
    position: fixed;
    overflow-y: scroll;
}

.form-container {
    width: 30%;
    height: max-content;
    margin: 10px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #contactForm{
    width: 100%;
    margin-left: 10px;
  }

  .h1-contact {
    margin-bottom: 20px;
    color: #333;
  }

  .form-group {
    width: 90%;
    margin-bottom: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  label {
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
    width: 100%;
  }
  .input-field{
    padding: 10px 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
  }

  textarea {
    height: 50px;
    resize: none;
  }

  input:focus, textarea:focus{
    width: 100%;
    border-color: #2b5648;
    outline: none;
  }

  .required {
    color: red;
  }

  .error-message {
    color: red;
    font-size: 14px;
  }

  .submit-btn {
    background-color: #2b5648;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .submit-btn:hover {
    background-color: #00ac4e;
  }
  .close-btn-div{
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
  }
  .close-btn{
    font-size: 20px;
    background-color: transparent;
    border: none;
    color: #2b5648;
    cursor: pointer;
    font-weight: 900;
  }

  @media only screen and (max-width: 992px){
    .contact-from-cont{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      display: none;
    }
    .form-container{
      width: 85%;
      top: 10%;
      left: 4%;
    }

  }
  @media only screen and (max-width: 768px){
    .contact-from-cont{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      display: none;
    }
    .form-container{
      width: 85%;
      top: 10%;
      left: 4%;
    }
    
  }
  @media only screen and (max-width: 480px){
    .contact-from-cont{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      display: none;
    }
    .form-container{
      width: 85%;
      top: 10%;
      left: 2.5%;
    }
  }