/* Contenedor principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Secciones con separación */
section {
    padding: 60px 0;
}

/* Encabezados */
h2, h3 {
    color: #003366;
    margin-bottom: 20px;
}

/* Párrafos y listas */
p, ul {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Imagen de éxito */
.exito-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.exito-img img {
    width: 300px;
    border-radius: 10px;
}

/* Formulario */
#formulario-reclutamiento form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

#formulario-reclutamiento form label {
    font-weight: bold;
}

#formulario-reclutamiento form input,
#formulario-reclutamiento form textarea,
#formulario-reclutamiento form button {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#formulario-reclutamiento form button {
    background-color: #003366;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

#formulario-reclutamiento form button:hover {
    background-color: #00509d;
}

.video-adjusted {
  position: relative;
  width: 100%;
  height: 80vh; /* Usa toda la altura de la pantalla */
  overflow: hidden;
}

.video-adjusted-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que el video llene completamente el contenedor */
  z-index: -1;
}

.video-adjusted-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.video-adjusted-content h2 {
  font-size: 3rem;
  color: #003366;
  text-shadow: 1px 1px 2px #ffffff;
}

.video-adjusted-content span {
  color: #0099cc;
}

.video-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.video-full {
  position: relative;
  width: 100%;
  height: 100vh; /* altura completa de pantalla */
}

.video-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  z-index: 2;
}

.video-text h2 {
  font-size: 3rem;
  color: #003366;
}

.video-text span {
  color: #00aeff;
}

@media (max-width: 768px) {
  .video-full {
    height: 60vh;
  }

  .video-text h2 {
    font-size: 2rem;
  }
}