* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}
html {
    scroll-behavior: smooth;
}
.nav-link, .nav-link-mobile {
    transition: color 0.3s ease;
}

/* Estilos Generales */
body {
    font-family: "Roboto", sans-serif;
}

@media only screen and (min-width: 1200px){
    .content{
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    } 
}
@media only screen and (min-width: 1200px){
    .content-v{
        margin: 5rem 0 5rem 0;
        padding: 0 5rem 0 5rem;
        margin-left: auto;
        margin-right: auto;
    } 
}
/* Animaciones generales */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Direcciones de entrada */
.fade-up {
  transform: translateY(20px);
}

.fade-down {
  transform: translateY(-20px);
}

.fade-left {
  transform: translateX(300px);
}

.fade-right {
  transform: translateX(-300px);
}

/* Al hacerse visible */
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
.fade-left {
  transform: translateX(20px);
}

.fade-right {
  transform: translateX(-20px);
}
}


/* Estilos para el contenedor principal de navegación */
nav {
    display: flex;
    position: fixed;
    width: 100%;
    top: 0; /* Mantiene la barra en la parte superior de la página */
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra en la parte inferior */
    z-index: 1000; /* Asegura que la navbar esté por encima del contenido */
    transition: padding 0.1s ease; 
}

/* Estilos para la barra de navegación superior */
.nav-top {
    display: flex;
    justify-content: flex-end; 
    padding: 2rem 6rem 0 6rem;
    margin: 1.5rem 0;
    gap: 2rem;
}

.nav-top a {
    margin-left: 2rem;
    text-decoration: none;
    color: #294256; 
    font-weight: 600;
    font-size: 15px;
}

.nav-link {
    margin: 2rem;
    text-decoration: none;
    color: #333; 
    font-weight: 600;
    font-size: 2.5rem; /* Ajusta el tamaño de fuente a 16px */
    padding: 0 1rem 0 1rem;
}
.contact-btn {
  background-color: #FF5200;
  color: #fff !important;
  padding: 8px 15px !important;
  border-radius: 30px;
  font-weight: 600;
}
/* Estilos para la barra de navegación inferior */
.nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 6rem 3rem 6rem;
    transition: padding 0.3s ease; /* Transición suave para el cambio de padding */
}
/* Estilos para el logo */
.logo {
    max-width: 10% !important; /* Asegura que el contenedor no limite el tamaño */
    margin-bottom: 1rem;
}
.logo img {
    height: 6rem; /* Tamaño inicial del logo */
    width: auto; /* Mantiene la proporción del logo */
    display: block; /* Asegura que no haya espacios en línea */
    transition: height 0.3s ease; /* Transición suave para el cambio de tamaño del logo */
}
.logo2 {
    max-width: 20% !important; /* Asegura que el contenedor no limite el tamaño */
}
@media (max-width: 992px) {
    /* Ajusta el tamaño del logo2 en dispositivos móviles */
    .logo2 img {
        height: 5rem; /* Ajusta la altura para pantallas pequeñas */
        width: auto; /* Mantiene la proporción del logo */
    }
    .logo2 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        height: 5rem; /* Ajusta la altura para pantallas pequeñas */
        width: auto; /* Mantiene la proporción del logo */
    }
}


.logo2 img {
    height: 7rem; /* Tamaño inicial del logo */
    width: auto; /* Mantiene la proporción del logo */
    display: block; /* Asegura que no haya espacios en línea */
    transition: height 0.3s ease; /* Transición suave para el cambio de tamaño del logo */
}

/* Estilos cuando la navbar se reduce */
.navbar-shrink {
    padding: 1rem 2rem; /* Reduce el padding para hacer la navbar más pequeña */
}

.navbar-shrink .nav-bottom {
    padding: 0.5rem 2rem; 
}

/* Estilos del logo cuando la navbar se reduce */
.navbar-shrink .nav-bottom img {
    height: 5rem; /* Reduce el tamaño del logo ligeramente */
}

/* Estilos del contenido de la navbar */
.nav-link {
    font-size: 1.6rem;
    font-weight: 800;
    transition: font-size 0.3s ease; 
}

.navbar-shrink .nav-link {
    font-size: 1.6rem; /* Mantiene el tamaño de fuente de los enlaces igual al reducir la navbar */
    font-weight: 800;
}

/* .nav-link:hover {
    color: #0097a7; /* Color al pasar el cursor 
} */

/* Estilos para el botón de menú hamburguesa */
.hamburger {
    display: flex;
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    margin: 1rem 3rem; /* Ajusta el margen según sea necesario */
    color: #f15a29;
}

@media (min-width: 993px) {
    .logo-mobile {
        display: none; /* Oculta la barra superior */
    }
    .hamburger {
        display: none; /* Oculta la barra superior */
    }
    .menu-items-mobile {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-top {
        display: none; /* Oculta la barra superior */
    }
    nav {
        padding: 3rem 2rem 3rem 2rem;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }
    .nav-bottom {
        display: none; /* Oculta el menú de navegación por defecto */
    }

    .menu-items-mobile {
        display: none; 
        flex-direction: column; 
        gap: 1rem; 
        padding: 1rem;
        background-color: #1a1a1a; 
        position: absolute; 
        top: 3.5rem; 
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: background-color 1000ms linear, opacity 500ms ease;
        opacity: 0; 
        visibility: hidden;
    }

    .hamburger {
        display: flex;
    }

    .menu-items-mobile.show {
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        height: 100%;
        width: 100%;
        visibility: visible;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        background-color: #21303ff2;
        overflow: hidden;
        transition: all 0.3s ease 0s;
    }
    .close{
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 65px;
        text-decoration: none;  
        padding: 15px;
        font-size: 5rem;
        display: block;
        font-weight: 200;
        color: #eceff1;
    }
    .nav-link-mobile {
        margin: 2rem;
        color: #fff;
        font-size: 2.5rem;
        text-decoration: none;
    }

    .logo-mobile {
        max-width: 20%; 
    }

    .logo-mobile-img {
        max-width: 20%; 
    }
}
@media (max-width: 992px) {
    .logo-mobile img, .logo-mobile-img {
        height: 5rem; 
        width: auto; 
    }
}


/* CAROUSEL */

.carousel-container {
    margin-top: 15rem !important;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 0 0 16px 16px !important;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    box-sizing: border-box;
    background-color: #f0f0f0;
    text-align: center;
}

.carousel-content {
    flex: 1;
    padding: 20px;
}

.carousel-content h2 {
    color: #6dc6d8;
    font-size: clamp(3rem, 3vw + 0.5rem, 2rem); 
    margin-bottom: 10px;
}

.carousel-content p {
    color: #7ad0e2;
    font-size: clamp(1.2rem, 4vw + 1rem, 2.4rem);
}

.carousel-item img {
    max-width: 100%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6); /* Color de fondo más oscuro para mejor visibilidad */
    color: white;
    border: none;
    width: 60px; /* Tamaño mayor del círculo */
    height: 60px; /* Tamaño mayor del círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%; /* Hacer el botón circular */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Efectos de transición */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra para darle profundidad */
}
.carousel-control span {
    font-size: 2rem;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}




    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      margin-top: 10rem;
      margin-bottom: 10rem;
      padding: 5rem;
      flex-wrap: wrap;
    }

    .hero-text {
      flex: 1 1 500px;
      padding-right: 40px;
    }

    .hero-text h1 {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.2;
      color: #203442;
      margin-bottom: 24px;
    }
    
    .hero-text h1 .orange {
    font-size: 40px;
      color: #f15a29;
    }

.divider {
  width: 0;
  height: 5px;
  background-color: #203442;
  margin-bottom: 24px;
  animation: growDivider 1s ease-in forwards;
}

@keyframes growDivider {
  from {
    width: 0;
  }
  to {
    width: 24%;
  }
}


    .hero-text p {
      font-size: 17px;
      line-height: 1.6;
      max-width: 500px;
    }

    .hero-image {
      flex: 1 1 400px;
      text-align: center;
    }

    .hero-image img {
      max-width: 80%;
      height: auto;
    }

    @media (max-width: 768px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }

      .hero-text {
        padding-right: 0;
        margin-bottom: 30px;
      }

      .hero-text h1 {
        font-size: 24px;
      }
      .hero-text h1 .orange {
        font-size: 24px;
      }

      .hero-text p {
        font-size: 16px;
      }
                .hero-image {
      flex: 1 1 100px;
      text-align: center;
    }

      .divider {
        margin-left: auto;
        margin-right: auto;
      }
    }

.title {
    text-align: center;
    margin: 10rem;
}

.title-section {
    font-size: 2.4rem !important;
    font-weight: 700;
    margin-bottom: 2rem;
}


.full-container{
    background-color: #203442;
    height: 100vh;
}

.title-certificaciones {
    font-size: clamp(2.4rem, 4vw + 1rem, 3rem);
    text-align: center;
    margin: 0 auto;
}
.title-certificacion{
    margin: 15rem 0 10rem 0;
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

/* Contenedor principal */
.container-certificaciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 15rem 0 15rem; 
}
.left-side {
    flex: 1; 
    padding-right: 14rem; 
}

.left-side h3 {
    font-size: 24px;
    margin-bottom: 20px; 
    color: #1a1a1a;
    font-weight: bold;
}

.left-side p {
    font-size: 16px;
    line-height: 1.5; 
    color: #666;
    margin-bottom: 20px; 
}

.cert-img {
    flex: 1; 
    display: flex;
    justify-content: flex-end; 
}

.cert-img img {
    max-width: 100%; 
    height: auto;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .container-certificaciones {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 0 2rem 0 2rem;
    }

    .cert-img {
        justify-content: center; 
        margin-top: 20px; 
    }
    .left-side {
        text-align: center;
        padding: 0;
    }
    video{
        border-radius: 0 !important;
    }
}


.cursos {
    margin: 15rem 0 10rem 0;
    padding: 4rem 2rem;
    background-color: #18282f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cursos-title h1 {
    font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
    color: #fff;
}

.cursos-subtitle h3 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.7rem);
    color: #e6e6e6;
    font-weight: 300 !important;
    text-align: center;
}

.cursos-title {
    margin-top: 7rem;
}

.cursos-subtitle {
    margin: 0 0 5rem 0;
}

.cursos-container {
    display: flex;
    flex-direction: row; 
    max-width: 1200px; 
    gap: 2rem;
    margin-top: 10rem;
}
.cursos-image {
    flex: 0 0 60%; 
}

.cursos-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.cursos-content {
    flex: 0 0 40%; 
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #051a1a; 
    padding: 4rem;
    border-radius: 12px;
}

.cursos-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.cursos-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ddd; 
}

.cursos-content p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.btn-comienza {
    padding: 2rem 2rem;
    margin-top: 2rem;
    background-color: #0097a7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-comienza:hover {
    background-color: #007380; 
}

/* Responsividad para pantallas más pequeñas */
@media (max-width: 992px) {
    .cursos-container {
        flex-direction: column; 
        align-items: center;
    }
    .cursos-image, .cursos-content {
        flex: 0 0 auto; 
        max-width: 100%; 
    }
    .cursos{
        padding: 2rem 4rem !important;
    }

}

@media (min-width: 767px) {
    .reverse{
        display: none !important;
    }
}

@media (max-width: 767px) {
    .reverse1{
        display: none !important;
    }
}

.card {
    width: 100%;
    padding: 0 1rem 0 1rem;
    height: auto;
    gap: 1rem;
    object-fit: cover;
}

.card img {
    border-radius: 16px;
    width: 100%;
}
@media (max-width: 992px) {
    .modalidades {
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }
    
    .card {
        margin: 2rem 0 2rem 0;
    }
    .cursos{
        margin-bottom: 5rem;
    }
}
.clientes-title h1 {
    font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
    color: #1c1c1c;
    text-align: center;
}

.clientes-subtitle h3 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.7rem);
    color: #4b4b4b;
    font-weight: 400 !important;
    text-align: center;
}

.clientes-title {
    margin-top: 7rem;
}

.clientes-subtitle {
    margin-top: 1rem;
}
.clientes {
    text-align: center;
    padding: 50px 20px;
}

.clientes h2 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
}

.clientes h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #66c2a5; /* Color de línea inferior */
    margin: 10px auto 0;
}
 

    .partners-section {
    margin: 10rem 0 10rem 0;
      text-align: center;
    }

    .partners-title {
      font-size: 4rem;
      font-weight: 700;
      margin-bottom: 7rem;
    }

    .partners-title .highlight {
              font-size: 4rem;
      color: #f26522; /* Naranja personalizado */
    }

    .partners-grid {
      display: flex;
      flex-direction: column;
      gap: 3rem;
      align-items: center;
    }

    .partners-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 60px;
    }

    .partner-logo {
      max-height: 160px;
      max-width: 180px;
      object-fit: contain;
    }

       /* Responsive: una sola columna en mobile */
    @media (max-width: 768px) {

      .partners-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
      }

      .partner-logo {
        max-height: 100px;
        max-width: 140px;
      }
    }

@media (max-width: 768px) {
    .facts {
        flex: 1 1 100%; /* Ocupan toda la fila */
        max-width: 100% !important; /* Permite que ocupe todo el ancho disponible */
        margin: 0 !important;
        padding: 5rem 0 !important;
    }
    .content-wrapper{
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
        background-color: #18282f;
        gap: 0 !important;
    }
}

.content-wrapper {
    display: flex; /* Coloca los elementos en una fila */
    flex-wrap: wrap; /* Permite que los elementos se ajusten en varias filas si el espacio es insuficiente */
    justify-content: space-between; /* Agrega espacio entre las secciones */
    gap: 20px; /* Espaciado entre las secciones */
    margin: 2rem 0; /* Margen superior e inferior */
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.facts-img {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s ease-out;
}

.facts-img.animate {
	opacity: 1;
	transform: translateY(0);
}


.facts-title h1 {
    font-size: clamp(2rem, 4vw + 2rem, 1rem);
    color: #ffffff;
    text-align: center;
}

.facts-subtitle h3 {
    font-size: clamp(2rem, 4vw + 1rem, 1rem);
    color: #e6e6e6;
    font-weight: 600 !important;
    text-align: center;
}

.facts-title {
    margin-top: 7rem;
}

.facts-subtitle {
    margin-top: 1rem;
}
.facts {
    text-align: center;
    background-color: #18282f;
    border-radius: 16px;
    padding: 1rem 20px;
    margin: 5rem 0;
    flex: 1 1 calc(50% - 20px); /* Cada sección ocupa el 50% menos el espacio del gap */
    max-width: calc(50% - 20px); /* Limita el ancho máximo al 50% del contenedor */
}
.facts-img {
    max-width: 30%; /* Por defecto, ajusta al 70% del contenedor */
    padding: 1rem; /* Espaciado adicional alrededor de la imagen */
    height: auto; /* Mantiene las proporciones */
    margin: 2rem 0; /* Espacio superior */
  }

.ins-img {
    max-width: 80%; /* Por defecto, ajusta al 70% del contenedor */
    padding: 1rem; /* Espaciado adicional alrededor de la imagen */
    height: auto; /* Mantiene las proporciones */
    margin: 2rem 0; /* Espacio superior */
  }
  
  /* Responsividad */
  
  @media (max-width: 480px) {
    .ins-img {
      max-width: 80%;
      padding: 1rem; /* Mínimo espacio en dispositivos muy pequeños */
      margin-top: 10px; /* Reduce el margen superior */
    }
  }
  /* Responsividad */
  @media (max-width: 1024px) {
  
    .facts{
        border-radius: 0;
    }
  }
  
  @media (max-width: 480px) {
    .facts-img {
      max-width: 60%;
      padding: 1rem; /* Mínimo espacio en dispositivos muy pequeños */
      margin-top: 10px; /* Reduce el margen superior */
    }
  }
.facts h2 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
}

.facts h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #66c2a5; /* Color de línea inferior */
    margin: 10px auto 0;
}


/* === CONTENEDOR GENERAL === */
.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 5rem 8rem;
    max-width: 100%;
    background-color: #294256;
}

/* === INFO DEL LADO IZQUIERDO (si aplica) === */
.contact-info {
    max-width: 400px;
}

.contact-info h2 {
    font-size: 4rem;
    margin-bottom: 5rem;
    color: #FF5200;
    text-align: center;
}

.contact-info p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    color: #fff !important;
    text-align: center;
    padding: 0 3rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-details img {
    width: 20px;
    margin-right: 10px;
}

/* === FORMULARIO === */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
}

/* Grid para inputs en 2 columnas */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

/* Para mensaje y botón */
.full-width {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* Inputs y textarea */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 12px;
    background-color: #122533;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 800;
    color: #d5d5d5;
    border: none;
    outline: none;
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
    font-size: 16px;
}

/* Estilo al enfocar */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #FF5200;
    transition: outline 0.3s ease;
}

/* Botón */
.contact-form button {
    padding: 10px 15px;
    background-color: #FF5200;
    border: none;
    width: 20%;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    align-self: flex-end;
    transition: background-color 0.3s ease;
    color: #fff;
}

.contact-form button:hover {
    background-color: #e03f00;
}

/* Iconos (si usas Material Symbols) */
.material-symbols-outlined {
    margin: 0 1rem 0 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 80%;
}
    .input-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact-form button {
        width: 30%;
    }
}



.container {
    display: flex;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 15rem;
    margin-bottom: 15rem;
    width: 100%;
}

.text-content {
    padding: 100px 40px 100px 40px;
    flex: 1;
    background-color: #eeeeee;
    color: #1a1a1a;
    border-radius: 30px; 
    border: 0.5px solid #e1e1e1;
    margin-right: 20px;
}

.text-content h1 {
    font-size: 6rem;
    margin: 0 0 16px 0;
    font-family: "Lora", serif;
}

.text-content p {
    font-size: 18px;
    margin: 0 0 32px 0;
    color: #292929;
}

.iframe-content {
    flex: 1;
    background-color: #007380;
    border-radius: 30px;
}

.iframe-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
}

  @media (max-width: 992px) {
    .container {
        flex-direction: column; 
        margin-top: 2rem;
    }
    .contact-container{
        padding: 0 2rem 0 2rem;
    }
    
    .text-content h1 {
        font-size: 5rem;
    }
    .text-content {
        margin-right: 0;
        margin-bottom: 20px; 
    }

    .iframe-content iframe {
        height: 300px; 
    }
}

  @media (max-width: 768px) {
    .container {
        flex-direction: column; 
        margin-top: 2rem;
        border-radius: 0;
    }
    .contact-container{
        padding: 0 2rem 5rem 2rem;
    }

    .text-content {
        margin-right: 0;
        margin-bottom: 20px; 
        border-radius: 0;
    }

    .iframe-content iframe {
        height: 300px; 
        border-radius: 0;
    }
}


.servicios {
  background-color: #263648;
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.servicios h2 {
  font-size: 6rem;
  margin: 2rem 0 6rem 0;
}

.servicios h2 span {
  font-weight: 700;
}

.servicios h2 strong {
  color: #ff6a00;
  font-weight: 700;
}

.servicios-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-item {
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 280px;
  display: flex;
}

.servicio-box {
  background: transparent;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border-radius: 1rem;
  text-align: center;
  height: 100%;
  width: 100%;
}

.servicio-box img {
  width: 90px;
  height: auto;
  margin-bottom: 3rem;
}

.servicio-box h3 {
  font-size: 2rem;
  padding: 0 6rem;
  margin-bottom: 2rem;
  min-height: 4.8rem; /* asegura que todos los h3 tengan la misma altura */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.servicio-box p {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #e0e0e0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 8rem; /* ajusta según lo que necesites */
  margin-bottom: 3rem;
}

/* Responsivo extra opcional */
@media (max-width: 768px) {
  .servicios h2 {
    font-size: 4rem;
  }

  .servicio-box h3 {
    min-height: auto;
  }

  .servicio-box p {
    min-height: auto;
  }
}


  

.card-cursos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px;
  }
  
  .card-cursos {
    width: 400px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
  }
  .card-cursos:hover .overlay {
    background: rgba(0, 0, 0, 0.1); /* Menos opacidad en el hover */
  }
  
  .card-cursos:hover .image {
    filter: brightness(1); /* Resalta el fondo */
  }

  .section-modalidades {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.modalidades-titulo {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.modalidades-contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas por defecto */
    gap: 20px;
    margin-bottom: 5rem;
}

.modalidad-card {
    background-color: #175750;
    border-radius: 30px;
    color: #FFFFFF;
    padding: 20px;
    text-align: left;
}

.modalidad-contenido {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.modalidad-icono {
    flex-shrink: 0; /* Evita que el icono cambie de tamaño */
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    margin: 1rem 0;
}

.modalidad-texto {
    flex-grow: 1;
}

.modalidad-nombre {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.modalidad-subtitulo {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modalidad-descripcion,
.modalidad-detalle {
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Responsividad para pantallas medianas (tablets) */
@media (max-width: 768px) {
    .modalidades-contenedor {
        grid-template-columns: 1fr; /* Una columna para pantallas más pequeñas */
    }

    .modalidad-card {
        padding: 15px; /* Ajuste de padding */
        border-radius: 16px;
    }

    .modalidad-nombre {
        font-size: 2rem; /* Tamaño de fuente más pequeño */
    }

    .modalidad-subtitulo {
        font-size: 1.8rem;
    }

    .modalidad-descripcion,
    .modalidad-detalle {
        font-size: 1.4rem;
    }

    .modalidad-icono {
        width: 50px; /* Ícono más pequeño */
        height: 50px;
    }
}

/* Responsividad para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    .modalidades-titulo {
        font-size: 2rem;
    }

    .modalidad-card {
        padding: 10px;
        border-radius: 16px;
    }

    .modalidad-nombre {
        font-size: 1.8rem;
    }

    .modalidad-subtitulo {
        font-size: 1.6rem;
    }

    .modalidad-descripcion,
    .modalidad-detalle {
        font-size: 1.3rem;
    }

    .modalidad-icono {
        width: 40px; /* Ícono más pequeño aún */
        height: 40px;
    }
}

  
  .image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 1s ease; /* Transición suave para el brillo */
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Opacidad inicial */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.5s ease; /* Transición suave para el overlay */
  }
  
  h2 {
    font-size: 24px;
    font-weight: bold;
  }
  
  .button {
    margin-top: 20px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom-color 0.3s;
  }
  
  .button:hover {
    color: #ee884d;
    border-bottom-color: #ee884d;
  }
  
  .overlay {
    position: relative;
    text-align: center;
    padding-top: 20px; /* Ajusta el espacio superior si es necesario */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}


/* Estilos generales */
.container-mod {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas para imágenes en mobile */
    grid-template-rows: auto;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Mantén los estilos de las imágenes */
.presentation-option img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* Estilos del bloque de texto */
.presentation-info {
    background-color: #051a1a;
    padding: 40px;
    border-radius: 15px;
    grid-column: span 2; /* Ocupa las dos columnas cuando se cambia el diseño */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

/* Estilos específicos de títulos y texto */
.info-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.section-text {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ffffff;
}

/* Estilo original para escritorio (>= 1024px) */
@media (min-width: 1024px) {
    .container-mod {
        grid-template-columns: 1fr 1fr 1fr; /* Tres columnas, las imágenes y el bloque de texto */
        gap: 30px;
    }

    .presentation-info {
        grid-column: span 1; /* El bloque de texto ocupa solo una columna */
        gap: 1rem;
    }
}

/* Media Query para móviles (pantallas pequeñas, < 768px) */
@media (max-width: 768px) {
    .container-mod {
        grid-template-columns: 1fr 1fr; /* Dos columnas para imágenes */
        gap: 15px;
    }

    .presentation-option img {
        width: 100%; /* Las imágenes toman todo el ancho en su columna */
    }

    .presentation-info {
        grid-column: span 2; /* El bloque de texto ocupa toda la fila debajo de las imágenes */
        padding: 20px;
        gap: 1rem;
    }

    /* Ajustes en el tamaño de fuentes para pantallas pequeñas */
    .info-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 16px;
    }

    .section-text {
        font-size: 12px;
    }
}
.testimonials-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas de igual tamaño */
    gap: 20px;
    margin-top: 10rem ;
}

.testimonial-card {
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%; 
}

.testimonial-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.testimonial-info {
    background-color: #0097a7;
    color: white;
    padding: 20px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    flex-grow: 1;
    box-sizing: border-box; 
}

.testimonial-text {
    font-size: 14px;
    margin-top: 15px;
    position: relative;
    margin: 40px;
    flex-grow: 1;
}


.quote-icon {
    font-size: 40px;
    color: #007380;
    position: absolute;
    left: 0;
    top: -30px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: bold;
}

.testimonial-role {
    font-size: 12px;
    color: #ccc;
}

.testimonial-rating {
    font-size: 16px;
    color: gold;
}

/* Ajustar el texto del testimonio */
.testimonial-text {
    padding: 2rem;
    font-size: 14px;
    margin-top: 15px;
}

/* Media queries para hacer el diseño responsive */
@media (max-width: 1024px) {
    .testimonials-section {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        grid-template-columns: 1fr; /* Una sola columna en pantallas pequeñas */
    }
}

.background-wrapper{
    background-color: #294256;
}

.testimonial-frst-container{
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  background-color:#294256 ;
  display: grid;
  place-items: center;
  height: 100vh;
  overflow: hidden;
  padding: 10px;
  margin-top: 10rem;
}


.testimonial-container{
  background-color: #707582;
  color: #fff;
  border-radius: 30px;
  margin: 20px auto;
  padding: 50px 80px;
  max-width: 768px;
  position:relative;
}

.fa-quote{
  color:#FF5200;
  font-size: 28px;
  position: absolute;
  top: 70px;
}

.fa-quote-right{
  left: 40px;
}

.fa-quote-left{
  right: 40px;
}

.testimonial{
  line-height: 1.7;
  text-align: justify;
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  margin-bottom: 30px;
}

.user{
  display:flex;
  align-items:center;
  justify-content: center;
}

.user .user-image{
  border-radius: 50%;
  border: 3px solid #FF5200;
  height: 75px;
  width: 75px;
  object-fit: cover;
}

.user .user-details{
  margin-left: 10px;
}

.user .username{
  margin: 0;
  font-size: 1.5rem;
}

.user .role{
  font-weight: normal;
  font-size: 1.5rem;
  margin: 10px 0;
}

.progress-bar{
  background-color: #FF5200;
  height: 4px;
  width: 100%;
  margin-bottom: 40px;
  animation: grow 10s linear infinite;
  transform-origin: left;
  border-radius: 30px;
}

@keyframes grow{
  0%{
    transform: scaleX(0);
  }
}

@media(max-width: 768px){
  .testimonial-container{
    padding: 20px 30px;
  }
  
  .fas .fa-quote-left .fa-quote{
    display: none;
  }

}
.testimonial-h1{
    font-size: 3.5rem;
    color: #f0f0f0;
    font-family: "Roboto", sans-serif;
}





/* FOOTER */
.footer {
  background-color: #1f1f22;
  color: #fff;
  padding: 3rem 15rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.footer-logo-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 5rem;
  width: 100%;
  max-width: 1300px;
  margin-left: 0;
  margin-right: auto;
}

.footer-logo {
  width: 100%;
  margin-top: 5rem;
}


.logoftr {
  width: 100%;
  max-width: 180px; /* Aquí defines el máximo tamaño que quieres */
  height: auto;
  margin-bottom: 0.5rem;
}


.tagline {
  font-size: 1.6rem;
  color: #ffffff;
  margin: 3rem 0;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start; /* Alinea títulos arriba para igualar altura */
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 2rem;
  line-height: 1.2;
  height: 3.2rem;
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-col p,
.footer-col a {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #ccc;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.mapa {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 1024px) {
  .footer {
    padding: 3rem 4rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-col {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-col h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: auto;
  }

  .footer-links li,
  .footer-col p,
  .footer-col a {
    font-size: 1.5rem;
  }

  .logo,
  .logoftr {
    max-width: 120px;
  }
    .footer-logo-row .footer-logo {
    justify-content: center;
    align-items: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
  
}
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 2rem;
  }
  .footer-logo-row .footer-logo {
    justify-content: center;
    align-items: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
  
}


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .footer-links li,
  .footer-col p,
  .footer-col a {
    font-size: 1.4rem;
  }
  .logo,
  .logoftr {
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2.5rem 1.5rem;
    justify-content: center;
    align-items: center;
  }
  .footer-logo-row .footer-logo {
    justify-content: center;
    align-items: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
  
}

  .footer-col h3 {
    font-size: 2.6rem;
  }

  .footer-links li,
  .footer-col p,
  .footer-col a {
    font-size: 1.6rem;
  }

  .logo,
  .logoftr {
    max-width: 100px;
  }
}


