.btn-secondary {
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #5D5D5D;
    color: #000;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    cursor: pointer;
}
.secondary-btn{
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #5D5D5D;
    color: #000;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    cursor: pointer;
}

/* Cuando se hace scroll */
.btn-secondary.scrolled {
    padding: 11px 21px;
    background-color: #085CA6;
    color: #fff;
    border: none;
}

.btn-menu {
    display: inline-block;
    background-color: #0056b3;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-menu:hover {
    background-color: #003d7a;
}

/* Hover en scroll */
.btn-secondary.scrolled:hover {
    background-color: #064a88; /* versión más oscura */
}

.btn-inside-mobile{
    display: none;
}

#botonScroll{
    display: block;
}

.img-mobile {
    display: none;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

.img-desktop {
    display: block;
  }

  .img-mobile {
    display: none;
  }


  /* Cuando la pantalla es menor a 768px, se oculta la de escritorio y se muestra la móvil */
@media screen and (max-width: 992px) {
    .img-mobile {
      display: block;
    }
  
    .img-desktop {
      display: none;
    }

    .btn-inside-mobile{
        display: block;
    }
    
    #botonScroll{
        display: none;
    }

  }


  /* Mobile: ocultar el menú */
@media (max-width: 992px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    
        /* Transición suave */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
      }
    
      .nav-menu.active {
        max-height: 500px; /* lo suficiente para mostrar todo */
        padding: 1rem 0;
      }
    
      .nav-menu li {
        margin: 10px 0;
        text-align: center;
      }
    }
/*boton*/
    @media(max-width:992px){
        .btn-hero{
            text-align: center;
        }
        .btn {
            font-size: 1.2rem;
            padding: 15px 80px;
            border-radius: 8px; /* opcional, si querés bordes redondeados más marcados */
        }
        .secondary-btn{
            font-size: 1.2rem;
            padding: 15px 80px;
            border-radius: 8px; /* opcional, si querés bordes redondeados más marcados */
        }
    }

/* Responsive - como en las imágenes de referencia */
/* Responsive - como en las imágenes de referencia */
@media (max-width: 992px) {
    .objective-section {
      padding: 0;
    }

    .objective-container {
      flex-direction: column;
      align-items: stretch;
    }

    .objective-image {
      display: flex; /* Usamos flexbox para centrar */
      justify-content: center; /* Centra la imagen horizontalmente */
      align-items: center; /* Centra la imagen verticalmente */
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      width: auto; /* No forzar el ancho */
      max-width: 552px; /* Limitar el ancho máximo de la imagen */
      height: auto;
      max-height: 265px; /* Limitar la altura máxima de la imagen */
      border-radius: 8px;
      margin-bottom: 0;
      margin-left: auto;
      margin-right: auto; /* Centra la imagen */
      z-index: 1;
    }

    .objective-image img {
      border-radius: 8px;
      display: block; /* Asegura que la imagen sea un bloque */
      max-width: 100%; /* La imagen no se desbordará, se ajusta al contenedor */
      height: auto; /* Mantiene la relación de aspecto */
    }

    .objective-content {
      width: 100%;
      margin-left: 0;
      padding: 60px 20px 30px; /* Aumentamos padding-top para dejar espacio debajo de la imagen */
      min-height: auto;
      border-radius: 8px;
      text-align: center;
      position: relative;
      top: -40px; /* Estiramos la caja hacia arriba para que la imagen sobresalga */
      z-index: 0;
    }

    .program-details {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .detail-item {
      justify-content: start;
    }

    .body-large {
      padding: 0 15px;
    }

    .commitment-content h2{
        text-align: center;
        margin-bottom: 5px;
    }
    .container-course{
        padding-top: 75px;
        padding-bottom: 75px;
    }
}

.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
  }
  
  .contact .section-title {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
  }
  
  .contact-image {
    flex: 1;
    min-width: 300px;
    padding-right: 80px;
  }
  
  .contact-image img {
    max-width: 100%;
    height: auto;
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas para los inputs */
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
  }
  
  .contact-form textarea {
    grid-column: span 2; /* El textarea ocupa ambas columnas */
    resize: vertical;
    min-height: 120px;
  }
  
  .contact-form .btn {
    grid-column: span 2; /* El botón ocupa ambas columnas */
    background-color: #0c4d8a;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form .btn:hover {
    background-color: #0056b3;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .contact-container {
      flex-direction: column;
      gap: 40px;
    }
    
    .contact-image {
      padding-right: 0;
      text-align: center;
    }
    
    .contact-form form {
      grid-template-columns: 1fr; /* Una sola columna en móviles */
    }
    
    .contact-form textarea,
    .contact-form .btn {
      grid-column: span 1; /* En móviles, ocupan una sola columna */
    }

    .testimonial-text{
        min-height: 15em; 
    }
  }







@media (max-width: 768px){
    .objective-image{
        max-width: 296px;
    }

}


/*OWL CAROUSEL*/

/* Custom navigation for Owl Carousel */
.testimonials .owl-nav {
    text-align: center;
    margin-top: 30px;
}

.testimonials .owl-nav button.owl-prev,
.testimonials .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    background: transparent !important;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1E5A94 !important; /* Blue color from your image */
    font-size: 24px;
    transition: all 0.3s ease;
    outline: none;
}

.testimonials .owl-nav button.owl-prev:hover,
.testimonials .owl-nav button.owl-next:hover {
    color: #0c3b6a !important; /* Darker blue on hover */
}

.testimonials .nav-arrow {
    display: inline-block;
}

/* Optional - if you want to add a circular border */
.testimonials .owl-nav button.owl-prev,
.testimonials .owl-nav button.owl-next {
    border: 1px solid #e0e0e0;
    border-radius: 50%;
}


    form {
      max-width: 400px;
      margin: auto;
    }
    
    .form-notification {
      padding: 10px;
      margin-bottom: 15px;
      border-radius: 4px;
      color: white;
      display: none;
      text-align: center;
    }
    
    .form-notification.error {
      background-color: #f44336;
    }
    
    .form-notification.success {
      background-color: #4CAF50;
    }
    
    input, textarea, button {
      width: 100%;
      margin: 10px 0;
      padding: 10px;
      font-size: 1em;
      box-sizing: border-box;
    }
    
    .telefono-group {
      display: flex;
      align-items: stretch;
      margin: 10px 0;
    }
    
    .telefono-group .prefix {
      padding: 10px;
      background: #eee;
      border: 1px solid #ccc;
      border-right: none;
      border-radius: 5px 0 0 5px;
    }
    
    .telefono-group input {
      border-radius: 0 5px 5px 0;
      margin: 0;
      flex: 1;
    }
    
    button.btn {
      background-color: #4CAF50;
      color: white;
      border: none;
      cursor: pointer;
    }

/* Botón flotante estilo WhatsApp */
.floating-video-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0056b3; /* Usamos tu color azul */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-video-btn:hover {
  background-color: #003d7a; /* Color más oscuro al hover */
  transform: scale(1.1);
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 86, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
  }
}

/* Popup del video */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.popup-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #0056b3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.close-btn:hover {
  background: #003d7a;
  transform: rotate(90deg);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
}

/* Responsivo */
@media (max-width: 768px) {
  .floating-video-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
  
  .popup-content {
    width: 95%;
    padding: 10px;
  }
  
  .close-btn {
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}