/* Modal Background */
.overlay-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-modal.active {
  display: flex;
}

/* Modal Content */
.box-modal {
  background: linear-gradient(135deg, #0f62fe 0%, #f2b21b 100%);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 450px;
  width: 100%;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(15, 98, 254, 0.4);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.box-modal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.box-modal p.text-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.form-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-quote input,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  color: var(--black) !important;
  -webkit-text-fill-color: var(--black) !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-background-clip: padding-box !important;
  background-clip: padding-box !important;
}


.form-quote input,
.form-quote textarea,
.form-quote select {
  border: none;
  background-color: #fff !important;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  resize: none;
  outline: none;
  color: #333;
}

.form-quote input:focus,
.form-quote textarea:focus {
  box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.7);
}

.form-quote input::placeholder,
.form-quote textarea::placeholder {
  color: #999;
}

.btn-submit {
  background: white;
  color: #0f62fe;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 0;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.6);
}

.btn-submit:hover {
  background-color: #e0e6ff;
  color: #094bcc;
}

.msg-thankyou {
  margin-top: 25px;
  background: rgba(255 255 255 / 0.3);
  padding: 15px 20px;
  border-radius: 15px;
  font-weight: 600;
  display: none;
}

.btn-close {
  position: absolute;
  top: 15px;
  right: 20px;
  height: 35px;
  width: 35px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.3rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

@media (max-width: 480px) {
  .box-modal {
    padding: 30px 20px;
  }
  h1 {
    font-size: 1.6rem;
  }
}
