.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;
    margin-left: 20px;
}
.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; 
    }
    .btn-inside-mobile {
        display: block; 
    }
  }


  /* Mobile: ocultar el menú */
/* Elimina o modifica esta sección duplicada */
@media (max-width: 992px) {
    .nav-menu {
        /* Mantén solo los estilos esenciales */
        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;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
   .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.5rem;
        position: relative;
    }

    .menu-btn {
        width: auto !important;
        padding: 0.5rem 1rem;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        position: relative;
        z-index: 100;
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .menu-btn i {
        color: #333;
    }

    .menu-btn.active i::before {
        content: "\f00d";
    }
}
/*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;
    }
