
.bg-mod {
    clip-path: polygon(100% 100%, 100% 0, 0 0);
    height: 70px; /* Lo coloca por debajo de otros elementos */
    margin-top: -1px;

}
.dn {
  display: none;
}

.blue-text {
  color: #2e3192;
}

.blue-bg {
  background-color: #2e3192;
}

.yellow-bg {
  background-color: #ffc900;
}

.b-yellow-color {
  border-color: #ffc900;
}

.blue-border{
  border-color: #2e3192;
}

.blue-shadow{
  --tw-shadow-color: #2e3192;
  --tw-shadow: var(--tw-shadow-colored);
}



.focus\:blue-accent:focus {
  accent-color: #2e3192;
}

.hover\:blue-fill:hover {
  fill: #2e3192;
}


.focus\:blue-ring:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: #2e3192;
}



.bg-mod2 {
    clip-path: polygon(100% 100%, 0 0, 0 100%);
    height: 70px; /* Lo coloca por debajo de otros elementos */
    margin-bottom: -1px;

}


.hidden {
    display: none;
}


/*.transparent-bg {
    background-color: rgba(126, 58, 242, 0.6); 
    transition: background-color 0.3s ease-in-out;
}*/

.opaque-bg {
  background-color: #FFF; 
}

.z-superior {
  z-index: 9999;
}

.opaque-bg a {
color: #2e3192; 
}

.opaque-bg a span {
color: #2e3192; 
}

.texto-blanco {
color: #FFF !important;
}

@media (max-width: 1023px) {
  .transparent-bg {
    background-color: #FFF !important; 
  }
  .text-movil a {
    color: #2e3192;
    text-align: center;
  }

  .text-movil span {
    color: #2e3192;
    text-align: center;
  }

  span.self-center.text-xl.text-white.font-semibold.whitespace-nowrap.dark\:text-white {
    color: #2e3192;
  }

  #mobile-menu-button {
    background-color: #2e319260 !important;
    
  }

  section.bg-center.bg-no-repeat.bg-\[url\(\'\/images\/automovil\.webp\'\)\].bg-cover.bg-gray-700.bg-blend-multiply {
    margin-top: 6%;
  }

  .flex.justify-center.text-sm.mb-4.sm\:mb-0 {
    display: flex;
    flex-direction: column;
  }
}





.btn-primary {
  @apply text-white bg-gradient-to-br from-purple-600 to-blue-500 rounded-lg px-5 py-2.5;
  @apply hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-blue-300;
}


/* Icono fijo */
/* Contenedor del ícono fijo */
#callIconContainer {
    position: fixed;
    left: 0;
    top: 50%;
    margin-left: -6px;
    transform: translateY(-50%);

  }
  
  /* Estilo inicial del ícono */
  #callIcon {
    background-color: #2e3192; /* Fondo verde sólido inicial */
    color: white; /* Color del ícono inicial */
    padding: 20px 10px 10px 10px;
    border-radius: 0 8px 8px 0; /* Bordes redondeados en hover */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px; /* Tamaño del ícono */
    transition: all 0.3s ease; /* Transiciones suaves */
    overflow: hidden; /* Asegura que el contenido adicional esté oculto */
    white-space: nowrap; /* Evita el salto de línea */
    font-weight: bold;
  }
  
  /* Estilo del ícono dentro del contenedor */
  #callIcon i {
    font-size: 35px; /* Tamaño del ícono */
    transition: color 0.3s ease; /* Transición de color del ícono */
  }
  
  /* Texto oculto por defecto */
  #callText {
    display: none; /* Ocultar el texto inicialmente */
    margin-left: 10px; /* Espaciado entre el ícono y el texto */
    font-size: 16px; /* Tamaño del texto */
    padding-bottom: 2%;
  }
  
  /* Efecto hover */
  #callIcon:hover {
    width: 250px; /* Expansión del contenedor al pasar el cursor */
    border-radius: 0 7px 7px 0; /* Bordes redondeados en hover */
    background: white; /* Degradado de blanco a verde */
    color: #2e3192; /* Color del texto */
  }
  
  /* Cambiar color del ícono en hover */
  #callIcon:hover i {
    color: #2e3192; /* Ícono cambia a blanco */
  }
  
  /* Mostrar el texto al hacer hover */
  #callIcon:hover #callText {
    display: inline; /* Muestra el texto */
  }
  
  /* Estilo para el modal */
  .custom-modal {
    display: none; /* Ocultar por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    z-index: 9999 !important;
  }
  
  .custom-modal-content {
    position: relative;
    margin: 5% auto;
    background: white;
    padding: 80px;
    border-radius: 10px;
    max-width: 1100px; /* Ancho máximo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
  }
  
  .custom-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px; /* Tamaño más grande */
    font-weight: bold; /* Hacerla más gruesa */
    cursor: pointer; /* Mostrar cursor de interacción */
    color: gray; /* Color rojo */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; /* Animación en hover */
  }
  
  .custom-close-modal:hover {
    color: black; /* Cambiar el color de la "X" a blanco */
  }
  
  /* Estilo del título del modal */
  .custom-modal-title {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar el contenido horizontalmente */
    align-items: center;
    gap: 10px;
    font-size: 2.5rem; /* Tamaño más grande */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .custom-modal-title-text {
    font-size: 45PX;
    color: #333;
  }
  
  /* Icono del título */
  .custom-modal-icon {
    font-size: 50px;
    color: #007bff;
  }
  
  /* Estilo para el horario */
  .custom-modal-schedule {
    font-size: 2rem;
    color: #9b9b9b;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Estilo para el texto "O si lo prefieres" */
  .custom-modal-alternative {
    font-size: 2.5rem;
    color: #555;
    margin: 20px 0;
    text-align: center;
  }
  
  /* Botón del formulario */
  .custom-btn.custom-btn-success {
    background-color: #28a745;
    color: white;
    font-size: 25px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
  }
  
  .custom-btn.custom-btn-success i {
    margin-right: 8px;
  }
  
  .custom-btn.custom-btn-success:hover {
    background-color: #e0a800;
  }
  
  /* Estilo para el input del formulario */
  .custom-input-field {
    height: 48px;
    font-size: 20px  !important;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  
  /* Animación de entrada */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  /* Estilo específico para el enlace "Llámanos" */
  .custom-modal-phone-link {
    background-color: #007bff !important; /* Azul */
    color: white; /* Texto blanco */
    font-size: 25px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none; /* Sin subrayado */
    display: inline-flex; /* Para centrar contenido */
    align-items: center;
    justify-content: center;
    width: 100%; /* Opcional, ajusta según diseño */
  }
  
  /* Hover específico para el enlace */
  .custom-modal-phone-link:hover {
    background-color: #00BCD4 !important; 
  }