.getquote-container {
    max-width: 500px;
    margin: auto auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px 0; /* added padding top and bottom */
  }
  
  .rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: -1;
  }
  
  .getquote-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 20px; /* added padding */
  }
  
  .label {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
    padding: 5px 0; /* added padding */
  }
  
  .getquote-form input,
  .getquote-form select {
    margin-bottom: 10px;
    padding: 10px; /* increased padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .submit-btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .submit-btn:hover {
    background-color: #ffd700;
    color: #000;
  }
  
  @media (max-width: 400px) {
    .getquote-form input,
    .getquote-form select {
      font-size: 14px;
    }
  }

  /* Style the back button */
  .back-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #000; /* Default black color */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
  }

/* Change the background color to golden on hover */
.back-btn:hover {
  background-color: #ffd700; /* Golden color */
}


.back-to-home {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

.back-to-home a {
  text-decoration: none;
  color: #666;
}

.back-to-home a:hover {
  color: #333;
}

@media only screen and (max-width: 500px) {
  .back-btn {
    position: relative;
    top: 0;
    left: 0;
    margin: 10px 0 0 10px; /* Update the margin to align the button to the left */
    display: block;
    width: 50px; /* Update the width to 50px */
    padding: 10px 0; /* Adjust the padding to center the text */
    text-align: center; /* Center the text horizontally */
  }
  .getquote-container {
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px 0; /* added padding top and bottom */
  }

}

.success-message {
  color: green;
  font-weight: bold;
  margin-top: 20px;
}

.legallogo {
  display: block;
  margin: auto auto;
  width: 250px;
  height: 200px;
  text-align: center;
}

body {
  background: linear-gradient(to bottom, #292929 500px, #f5f5f5 0) no-repeat; /* Black till 500px, then light color */
  background-size: 100% 1000px; /* Adjust this size to ensure it covers the entire height */
}

.getquote1-h1 {
  color: #000000; /* Optional: Set text color for visibility */
  font-size: 2em; /* Adjust font size as needed */
}