main {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.content {
  padding-bottom: 25px;
  position: relative;
  max-width: 70%;
  margin: 0 auto;
  z-index: 1;
  background-color: rgba(23, 31, 41, 0.85);
  color: #013117;
}

.banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  z-index: 2;
  text-align: center;
  margin-bottom: 25px;
  background-color: #fff;
  color: #000;
}


.center{
  display: flex;
  justify-content:center;
  align-items: center;
  width: 100%;
  margin: 0;
}

.center h2{
  padding-right: 10px;
}

.center a {
  padding-left: 10px;
  border: 1.5px solid #013117;
  border-radius: 15px;
  padding: 3px 3px;
  color: #013117;
  background-color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.center a:hover {
  border-radius: 15px;
  padding: 3px 3px;
  background-color: #013117;
  color: #fff;
  text-decoration: none;
}

.centerOr{
  padding-top: 25px;
  text-align: center;
  padding-bottom: 15px;
  font-size: 3rem;
}

.form-message {
  margin-top: 1em;
  font-weight: bold;
  color: red;
}

.content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-align: justify;
}

.estimate-container {
  width: 100%;
  max-width: 600px;
  background-color: #e6f8e8;
  color: #013117;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 40px 20px 40px 20px;
  border-radius: 12px;
  box-sizing: border-box;
  border: 1.5px solid #013117;
  margin-bottom: 25px;

  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Title */
.estimate-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #013117;
}

/* Labels */
#estimate-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #013117;
}

/* Inputs and textarea */
#estimate-form input:not([type="checkbox"]),
#estimate-form select,
#estimate-form textarea {
  width: 100%;
  align-self: center;
  padding: 12px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #013117;
  border-radius: 8px;
  color: #013117;
  font-size: 0.75em;
  transition: border-color 0.3s ease;
}

#estimate-form input:focus,
#estimate-form select:focus,
#estimate-form textarea:focus {
    border-color: #013117;
    outline: none;
}

#service-type{
    appearance: none;
}

#service-type option{
    background-color: #fff;
}

/* Button */
#estimate-form button {
  width: 100%;
  padding: 14px;
  background-color: #ffffff;
  border: 1.5px solid #013117;
  border-radius: 24px;
  color: #013117;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#estimate-form button:hover {
  background-color: #013117;
  color: #fff;
}

.address-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

.address-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.address-half {
  flex: 1 1 50%;
}

.address-quarter {
  flex: 1 1 25%;
}

.address-fieldset label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #013117;
}

.address-fieldset input {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  border: 1px solid #013117;
  border-radius: 8px;
  color: #013117;
  font-size: 1rem;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #013117;
  
}

.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #013117;
  cursor: pointer;
}

textarea{
  resize: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width: 900px) {
    body{
        font-size: 2rem;
    }
    .estimate-container h2{
        font-size: 3rem;
    }
}