/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('../images/backround-main.jpg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  flex-direction: column;
}

h1 {
  font-size: 3rem; /* Texto grande */
  font-weight: bold; /* Texto en negrita */
  color: #117a65; /* Color */
  margin-bottom: 10px; /* Reduce el espacio inferior */
  text-align: left; /* Alineado a la izquierda */
  line-height: 1.1; /* Reduce el espacio entre las líneas */
}

h2 {
  font-size: 2.5rem; /* Texto grande pero más pequeño que el h1 */
  font-weight: lighter; /* Letra delgada */
  color: #117a65; /* Mismo color que el h1 */
  margin-top: 0; /* Elimina el margen superior */
  margin-bottom: 0; /* Elimina el margen inferior */
  text-align: left; /* Alineado a la izquierda */
  line-height: 1.2; /* Reduce el espacio entre las líneas */
}

/* Contact Form Container */
.contact-form-container {
  background: #fdfefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(50, 50, 50, 0.3);
  width: 80%;
  max-width: 1000px;
  margin-top: 100px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.input-group {
  margin-bottom: 1rem;
}

.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: #e5e8e8;
  border: 2px solid transparent;
  border-radius: 3px;
  color:  #808b96;
  font-size: 1rem;
  outline: none;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form select {
  cursor: pointer;
}

.contact-form optgroup {
  background-color: #1a1a1a;
}

.contact-form optgroup[label="ODOO"] {
  color: #714b67;
}

.contact-form optgroup[label="E-TOURING"] {
  color: #117a65;
}

.contact-form optgroup[label="CLOUD"] {
  color: #2980b9;
}

/* Submit Button */
.submit-btn {
  background: #117a65;
  color: #121212;
  padding: 15px;
  margin-left: 120px;
  margin-top: 40px;
  border: none;
  border-radius: 3px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  grid-column: span 2;
}

.submit-btn:hover {
  background-color: #00b899;
  transform: translateY(-5px);
}

/* Privacy Policy */
.privacy-policy {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #292a2d;
}

.privacy-policy a {
  color: #117864;
  text-decoration: none;
}

.privacy-policy a:hover {
  text-decoration: underline;
}

.privacy-policy input[type="checkbox"] {
  display: none;
}

.privacy-policy .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #117a65;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s ease;
}

.privacy-policy input[type="checkbox"]:checked + .checkmark {
  background-color:  #117864;
}

.privacy-policy input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* SPECIAL EFFECTS */
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  /*border: 3px solid rgba(255, 255, 255, 0.3);*/
  border: 3px solid rgba(0, 128, 0, 0.7);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.confetti {
  position: fixed;
  top: -10px; /* Comienza fuera de la pantalla */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: fall 2.5s ease-out forwards;
  z-index: 1000; /* Asegúrate de que esté encima de todo */
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}
/* Toast Notification */
.toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f44336;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  font-size: 16px;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}
