.contact-form {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 600px;
  margin: 0;
  padding: 20px;
  /* border: 1px solid #f8bd64; */
  border-radius: 5px;
  background-color: #ffffff;
  /* box-shadow: 0px 0px 20px 0px orange; */
}
.contact-form h2 {
  margin-top: 0;
}
.contact-form label {
  display: block;
  margin-bottom: 10px;
}
.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  box-sizing: border-box;
  /* border: 1px solid red; */
  background-color: #ffffff;
}
.contact-form textarea {
  height: 150px;
}
.contact-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #0056b3;
}
.social-buttons {
  margin-top: 20px;
}
.social-buttons a {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
}
.social-buttons .facebook {
  background-color: #3b5998;
}
.social-buttons .instagram {
  background-color: #e4405f;
}
.social-buttons .whatsapp {
  background-color: #25d366;
}
.map-container {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* Aspect ratio 16:9 */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media only screen and (max-width: 768px) and (orientation: portrait) {
  .section6 {
    position: relative;
    height: 600px;
  }
  .contact-form {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    max-width: 88%;
    width: 100%;
    height: 90%;
  }
  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .contact-form input[type="text"],
  .contact-form textarea {
    width: 100%;
    height: 5%;
    padding: 10px;
    margin-bottom: 10px;
  }
  .contact-form textarea {
    height: 10%;
  }
  .map-container {
    margin-top: 20px;
    position: absolute;
    top: 310px;
    left: 50%;
    transform: translate(-50%, 50%);
    overflow: hidden;
    padding-top: 25%;
    height: 10%;
    width: 85%;
  }
}
@media only screen and (max-width: 900px) and (orientation: landscape) {
  .section6 {
    position: relative;
    height: 100vh;
  }
  .contact-form {
    /* display: inline-block; */
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    max-width: 600px;
    width: 45%;
    height: 85vh;
    margin: 0;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffff;
  }
  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .map-container {
    position: absolute;
    top: -85%;
    left: 105%;
    margin-top: 0px;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Aspect ratio 16:9 */
    width: 400px;
  }

  .contact-form label {
    margin-bottom: 5px;
  }
  .contact-form input[type="text"],
  .contact-form textarea {
    margin-bottom: 5px;
  }
  .contact-form textarea {
    height: 50px;
  }
}
@media only screen and (min-width: 632px) and (max-width: 1280px) and (orientation: portrait) {
  .section6 {
    position: relative;
    height: 850px;
  }
  .contact-form {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    max-width: 95%;
    width: 100%;
    height: 90%;
  }
  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .contact-form input[type="text"],
  .contact-form textarea {
    width: 100%;
    height: 8%;
    padding: 10px;
    margin-bottom: 10px;
  }
  .contact-form textarea {
    height: 12%;
  }
  .map-container {
    margin-top: 20px;
    position: absolute;
    top: 350px;
    left: 50%;
    transform: translate(-50%, 50%);
    overflow: hidden;
    padding-top: 25%;
    height: 12%;
    width: 95% !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1280px) and (orientation: landscape) {
  .contact-form {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    max-width: 95%;
    width: 46%;
    height: 90%;
  }
  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .contact-form input[type="text"],
  .contact-form textarea {
    width: 100%;
    height: 8%;
    padding: 10px;
    margin-bottom: 10px;
  }
  .contact-form textarea {
    height: 12%;
  }
  .map-container {
    margin-top: 20px;
    position: absolute;
    top: 340px;
    left: 50%;
    transform: translate(-50%, 50%);
    overflow: hidden;
    padding-top: 25%;
    height: 8%;
    width: 85% !important;
  }
}
@media only screen and (min-width: 1281px) and (max-width: 1500px) and (orientation: landscape) {
  .contact-form {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    max-width: 95%;
    width: 46%;
    height: 90%;
  }
  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 15px;
  }
  .contact-form input[type="text"],
  .contact-form textarea {
    width: 100%;
    height: 5%;
    padding: 10px;
    margin-bottom: 10px;
  }
  .contact-form textarea {
    height: 10%;
  }
  .map-container {
    margin-top: 10px;
    position: absolute;
    top: 350px;
    left: 50%;
    transform: translate(-50%, 50%);
    overflow: hidden;
    padding-top: 25%;
    height: 4%;
    width: 85% !important;
  }
}
