body {
  visibility: hidden;
}

.contact-body {
  margin: 0;
  background-image: url("../../../Images/PlaniMe-WebApp-Background2.png");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  font-family: "Bubblegum Sans", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.back-icon {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 60px;
  height: auto;
  cursor: pointer;
  z-index: 10;
  transition-duration: 0.3s;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.432));
}

.back-icon:hover {
  scale: 0.8;
}

.contact-container {
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  background-color: #a0d94a;
  border: 5px solid black;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  animation: spinInAnimation 2s cubic-bezier(0.25, 0.1, 0.25, 1.5) both;
  margin: 20px 0;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3)
}

.contact-title {
  margin: 0 0 25px 0;
  font-size: 2rem;
  text-align: center;
  color: #333;
}

.fields-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  font-size: 1rem;
  color: #222;
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid black;
  border-radius: 15px;
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  transform: scale(1.01);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

input{
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.432));
}

textarea {
  resize: vertical;
  min-height: 100px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.432));
}

.contact-select {
  width: 100%;
  padding: 12px;
  border: 2px solid black;
  border-radius: 15px;
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.432));
}

.send-btn {
  padding: 14px 35px;
  background-color: #ff6b6b;
  border: 3px solid black;
  border-radius: 25px;
  font-family: inherit;
  font-size: 1.2rem;
  color: black;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  width: 100%;
  max-width: 250px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.432));
}

.send-btn:hover {
  transform: scale(1.05);
}

.error-messages {
  display: none;
  color: red;
  font-size: 0.85rem;
  margin: 4px 0 0 0;
  height: 16px;
  width: 100%;
  text-align: left;
  font-family: "Bubblegum Sans", sans-serif;
  -webkit-text-stroke: 0.6px #1a1a1a;
  padding: 0 5px;
  box-sizing: border-box;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #a0d94a;
  margin: 15% auto;
  padding: 30px;
  border: 5px solid black;
  border-radius: 30px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  font-family: "Bubblegum Sans", sans-serif;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  margin-top: 0;
  color: #333;
}

#modalAcceptBtn {
  padding: 10px 30px;
  background-color: #ff6b6b;
  border: 3px solid black;
  border-radius: 20px;
  font-family: inherit;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s;
}

#modalAcceptBtn:hover {
  transform: scale(1.05);
}
