body{
background-color: white !important;
}

/* Estilos para el número destacado */
.highlight-number {
  color: #B61272;
}

.welcome-stats-heading {
  font-size: 20px;
  font-weight: 600;
  padding: 60px 0 10px 0;
  color: white;
  border-bottom: 4px solid #B61272;
  display: inline-block;
}

@media (max-width: 768px) {
  .highlight-number {
    background-color: #B61272;
    color: white !important;
    padding: 2px 8px;
    border-radius: 4px;
  }
}



.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.slogan-text {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.slogan-text-1{

}

.search-container {
  max-width: 800px;
  width: 100%;
}

.search-box {
  background-color: white;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input-group {
  flex: 1;
  padding: 0 16px;
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  border: none !important;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  min-width: 0;
}

.search-input:focus {
  box-shadow: none !important;
  outline: none !important;
}

.vertical-divider {
  width: 1px;
  height: 40px;
  background-color: #e5e5e5;
  margin: 0 8px;
}

.search-button {
  height: 50px;
  padding: 0 30px;
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Media queries responsive para Welcome */
@media (max-width: 768px) {
  .slogan-text {
    font-size: 2rem;
  }

  .search-box {
    flex-direction: column;
    padding: 16px;
  }

  .search-input-group {
    width: 100%;
    margin-bottom: 12px;
    padding: 0;
  }

  .search-button {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }

  .content-overlay {
    padding: 0 20px;
  }

  .yellow-scratch {
    height: 30px !important;
  }
}

@media (max-width: 576px) {
  .slogan-text {
    font-size: 1.5rem;
  }

  .search-container {
    width: 100%;
    padding: 0 10px;
  }
}

/* ==========================================================================
   Estilos globales y utilidades
   ========================================================================== */

/* Botones */
.button-dark {
  background: #000C4F !important;
  color: white !important;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button-dark:hover {
  background: #000a3d !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 12, 79, 0.3);
}

/* Colores del tema */
.pink-color {
  color: #B61272 !important;
}

.blue-dark {
  color: #000C4F !important;
}

/* Utilidades de espaciado */
.mt-10 {
  margin-top: 2.5rem !important;
}

.mb-10 {
  margin-bottom: 2.5rem !important;
}

/* ==========================================================================
   Video azul con forma curva
   ========================================================================== */

/* Contenedor del video con curva */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    /*clip-path: ellipse(100% 85% at 50% 0%);*/
}

/* Video de fondo */
#local_video {
    position: absolute;
    object-fit: cover;
    z-index: -2;
}

/* Overlay azul fuerte sobre el video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.8); /* Azul más fuerte */
    z-index: -1;
}

.video-overlay {
    background: #000C4F99 !important; /* Azul más claro */
}

/* Responsive para la curva */
@media (max-width: 1200px) {

}

@media (max-width: 768px) {
    .button-dark {
        background: #B61272 !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(0, 12, 79, 0.3);
    }

    .button-dark:hover {
        background: #B61272 !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 25px rgba(0, 12, 79, 0.3);
    }

    .search-box {
        background-color: #ffffff00 !important;
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }


}

@media (max-width: 576px) {
    .slogan-text-1{
        margin: -29% 0 0 0;
    }
    .search-box {
        background-color: #ffffff00 !important;
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }


}


/* ==========================================================================
   Menú hamburguesa para móvil
   ========================================================================== */

/* Ocultar menú desktop en móvil y ajustar layout */
@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }

    #kt_header_container {
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Logo a la izquierda - ASEGURAR VISIBILIDAD */
    .page-title {
        flex: 0 0 auto !important;
        margin: 0 !important;
        z-index: 1001 !important; /* Por encima del menú */
        position: relative !important;
        display: block !important;
    }

    .logo-mp {
        display: flex !important;
    }

    .logo-mp img {
        width: 80px !important;
        height: auto !important;
        margin: 10px 0 !important;
        display: block !important;
        visibility: visible !important;
    }

    /* Contenedor derecho para el botón hamburguesa */
    .header-right-content {
        flex: 0 0 auto !important;
        z-index: 1001 !important;
    }

    /* Botón hamburguesa visible y a la derecha */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Botón hamburguesa */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.hamburger-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: relative;
    gap: 5px;
    overflow: visible;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}

.hamburger-line:nth-child(1) {
    top: 10px;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 10px;
}

/* Animación del botón hamburguesa cuando está activo */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Menú móvil - se abre desde la IZQUIERDA hacia la derecha */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%; /* Empieza fuera de la pantalla a la IZQUIERDA */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: left 0.3s ease; /* Animación de IZQUIERDA a derecha */
    padding-top: 80px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1); /* Sombra hacia la derecha */
}

.mobile-menu.active {
    left: 0; /* Se mueve hacia la DERECHA hasta llegar a left: 0 */
}

.mobile-menu-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

/* Items del menú móvil */
.mobile-menu-item {
    display: block;
    padding: 15px 0;
    color: white !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    color: #ff6b9d !important;
    padding-left: 10px;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

/* Subtítulos en el menú móvil */
.mobile-menu-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b9d !important;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sub-items del menú móvil */
.mobile-menu-subitem {
    display: block;
    padding: 8px 0 8px 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-menu-subitem:hover {
    color: white !important;
    padding-left: 30px;
}

/* Botón especial en menú móvil */
.mobile-menu-button {
    background: #B61272 !important;
    color: white !important;
    text-align: center;
    border-radius: 6px;
    margin: 10px 0;
    border-bottom: none !important;
    font-weight: 600;
}

.mobile-menu-button:hover {
    background: #a0105f !important;
    padding-left: 0 !important;
    transform: translateY(-2px);
}

/* Selector de idiomas en móvil */
.languages-selector-mobile {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.languages-selector-mobile option {
    background: rgba(30, 41, 59, 0.95);
    color: white;
}

/* Overlay para cerrar el menú */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Animaciones para el menú móvil
   ========================================================================== */

.mobile-menu-item {
    opacity: 0;
    transform: translateX(-30px); /* Viene desde la IZQUIERDA */
    animation: slideInRight 0.3s ease forwards; /* Animación hacia la DERECHA */
}

.mobile-menu-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-item:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-item:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu-item:nth-child(5) { animation-delay: 0.5s; }
.mobile-menu-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0); /* Se mueve hacia la posición original */
    }
}

/* ==========================================================================
   Responsive adicional
   ========================================================================== */

@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
    }

    #kt_header_container {
        padding: 0 15px !important;
    }

    .logo-mp img {
        width: 70px !important;
    }
}
/* ==========================================================================
   FORMULARIO MÓVIL VERTICAL - CORRECCIÓN
   ========================================================================== */

/* Estilos base del formulario */
.search-container {
    max-width: 800px;
    width: 100%;
}

.search-box {
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.search-input-group {
    flex: 1;
    padding: 0 16px;
}

.search-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    border: none !important;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    min-width: 0;
    width: 100%;
}

.search-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: #e5e5e5;
    margin: 0 8px;
}

.search-button {
    height: 50px;
    padding: 0 30px;
    margin-left: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE MÓVIL - FORMULARIO VERTICAL
   ========================================================================== */

@media (max-width: 768px) {
    .slogan-text {
        font-size: 2rem;
        margin-bottom: 30px !important;
    }

    /* FORMULARIO VERTICAL EN MÓVIL */
    .search-container {
        max-width: 90%;
        width: 90%;
    }

    .search-box {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    /* Cada input en su propia fila */
    .search-input-group {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #f8f9fa;
        border-radius: 6px;
        padding: 12px 16px !important;
        border: 1px solid #e9ecef;
        display: flex !important;
        align-items: center;
    }

    .search-input {
        font-size: 16px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        width: 100%;
    }

    .search-input::placeholder {
        color: #6c757d;
        font-size: 14px;
    }

    /* Ocultar divisor vertical en móvil */
    .vertical-divider {
        display: none !important;
    }

    /* Mostrar el segundo input que está oculto en desktop */
    .search-input-group.d-none.d-md-flex {
        display: flex !important;
    }

    /* Botón de búsqueda en móvil */
    .search-button {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        height: 50px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
    }

    .content-overlay {
        padding: 0 20px;
    }

    .yellow-scratch {
        height: 30px !important;
    }
}

@media (max-width: 576px) {
    .slogan-text {
        font-size: 1.5rem;
    }

    .search-container {
        max-width: 95%;
        width: 95%;
    }

    .search-box {
        padding: 16px !important;
    }

    .search-input-group {
        padding: 10px 14px !important;
    }

    .search-input {
        font-size: 15px !important;
    }

    .search-button {
        height: 48px !important;
        font-size: 15px !important;
    }
}

/* ==========================================================================
   TÍTULO "BUSCADOR DE EMPLEO" EN MÓVIL
   ========================================================================== */

@media (max-width: 768px) {
    /* Si tienes un título principal */
    .main-title,
    .slogan-text {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
        line-height: 1.2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title,
    .slogan-text {
        font-size: 1.7rem !important;
        margin-bottom: 25px !important;
    }
}

/* ==========================================================================
   HEADER MÓVIL - LOGO Y HAMBURGUESA PEGADOS A LOS BORDES
   ========================================================================== */

/* Estilos para desktop - mantener padding original */
@media (min-width: 992px) {
    .kt-header-container-desktop {
        padding: 0 35px 0 70px !important;
    }
}

@media (max-width: 991px) {
    /* Quitar padding del contenedor principal en móvil */
    #kt_header_container {
        padding: 0 !important;
    }

    /* Contenedor principal del header móvil */
    .mobile-menu-toggle {
        width: 100%;
        padding: 0 15px !important;
        margin: 20px 0 !important;
    }

    .mobile-menu-toggle .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fila sin márgenes */
    .mobile-menu-toggle .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    /* Logo pegado al borde izquierdo */
    .mobile-menu-toggle .col-6:first-child {
        padding-left: 0 !important;
    }

    /* Hamburguesa pegada al borde derecho */
    .mobile-menu-toggle .col-6:last-child {
        padding-right: 0 !important;
    }

    /* Ajuste del botón hamburguesa */
    .hamburger-btn {
        margin-right: 0 !important;
        padding: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }

    /* Ajuste del logo */
    .mobile-menu-toggle .logo-mp {
        margin-left: 0 !important;
    }

    .mobile-menu-toggle .logo-mp img {
        margin: 0 !important;
        width: 80px !important;
    }

    /* Ocultar logo desktop en móvil */
    .page-title .logo-mp {
        display: none !important;
    }

    /* Mostrar solo el contenedor móvil */
    .header-right-content {
        width: 100%;
    }
}
