.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;
    }


/* CERTIFICACIONES */

.certifications-section {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.certifications-title {
    font-size: 150%;
    margin-bottom: 2rem;
    color: #085CA6;
    text-transform: uppercase;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-bottom: 2rem;
}

.certification-item img {
    width: 75%;
    height: 140px;
    object-fit: contain; 
}

.certifications-carousel-mobile {
    display: none;
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track img {
    min-width: 100%;
    height: 100px;
    object-fit: contain;
}

.commitment-text {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .certifications-grid {
        display: none;
    }

    .certifications-carousel-mobile {
        display: block;
    }
}

/* 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;
  }
}

/* ESTILOS PRINCIPALES - 3 POR FILA */
.experts-section {
    padding: 50px 0;
    background: white;
}

.experts-container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 20px;
}

.experts-header {
    text-align: center;
    margin-bottom: 40px;
}

.experts-header h2 {
    font-size: 2rem;
    color: #085CA6;
    margin-bottom: 15px;
}

.experts-header p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* DISEÑO DE TARJETAS */
.expert-card {
    width: 100%;
    max-width: 380px; /* Ancho para 3 columnas */
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    background: white;
    transition: all 0.3s ease;
}

.expert-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #f5f5f5;
}

.expert-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.expert-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
    text-align: center;
    font-weight: 600;
}

.btn-curriculum {
    display: block;
    width: 160px;
    padding: 8px 0;
    background: #085CA6;
    color: white;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-curriculum:hover {
    background: #063D7A;
    transform: translateY(-2px);
}

/* GRID 3 COLUMNAS */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

/* CARRUSEL MÓVIL */
.experts-carousel {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track .expert-card {
    min-width: 100%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #085CA6;
    transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .experts-container {
        padding: 0 40px;
    }
    
    .expert-card {
        max-width: 320px;
    }
}

@media (max-width: 1024px) {
    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .expert-card {
        max-width: 100%;
    }
}

/* ESTILOS GENERALES PARA LA SECCIÓN */
.experts-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.experts-container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 20px;
}

.experts-header {
    text-align: center;
    margin-bottom: 40px;
}

.experts-header h2 {
    font-size: 2rem;
    color: #085CA6;
    margin-bottom: 15px;
    font-family: 'Calistoga', serif;
}

.experts-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ESTILOS PARA LOS EXPERTOS*/
/* ESTILOS GENERALES PARA LAS CARDS */
.expert-card {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.expert-photo-container {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.expert-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}

.expert-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

/* BOTÓN DE CURRÍCULUM */
.btn-curriculum {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: white;
    color: #085CA6;
    border: 1.5px solid #085CA6;
    border-radius: 20px;
    font-size: 0.9rem;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-curriculum:hover {
    background: #085CA6;
    color: white;
}

.btn-curriculum svg {
    transition: all 0.3s ease;
}

.btn-curriculum:hover svg {
    stroke: white;
}

/* GRID PARA ESCRITORIO */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

/* CARRUSEL PARA MÓVIL */
.experts-carousel {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track .expert-card {
    min-width: 100%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #085CA6;
    transform: scale(1.2);
}

/* VERSIÓN TABLET */
@media (max-width: 1024px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expert-card {
        height: 360px;
    }
    
    .expert-photo-container {
        height: 200px;
    }
}

/* VERSIÓN MÓVIL */
@media (max-width: 768px) {
    .experts-grid {
        display: none;
    }
    
    .experts-carousel {
        display: block;
    }
    
    .expert-card {
        height: 340px;
        width: 85%;
        margin: 0 auto;
    }
    
    .expert-photo-container {
        height: 180px;
    }
    
    .expert-content {
        padding: 15px;
        gap: 12px;
    }
    
    .carousel-track .expert-card {
        min-width: 85%;
        margin: 0 7.5%;
    }
}

/* MÓVILES PEQUEÑOS */
@media (max-width: 480px) {
    .expert-card {
        height: 320px;
        width: 90%;
    }
    
    .expert-photo-container {
        height: 160px;
    }
    
    .expert-content {
        padding: 12px;
        gap: 10px;
    }
    
    .expert-content h3 {
        font-size: 1.1rem;
    }
    
    .btn-curriculum {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .carousel-track .expert-card {
        min-width: 90%;
        margin: 0 5%;
    }
}