@import "../shared/styles/variables.css";
@import "./etapasInscripcion.css";
@import "./home/heroHome.css";
@import "./curso.css";

/* === Contenedor Quick Data === */
.quick_data {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem;
  border-bottom-left-radius: 0px;
  min-height: 220px;
}

.item img {
  width: 30px;
  height: 30px;
}

.fs-10 {
  font-size: 0.625rem;
}

.fs-8 {
  font-size: 0.5rem;
  line-height: 10px;
  font-weight: 400;
}

.texto-descriptivo-quick_data {
  overflow-wrap: break-word;
  margin-top: -6px;
}

.quick_data .container {
  width: 89.5%;
  height: 56px;
  background-color: var(--color-primary);
  color: var(--color-white);
  margin-left: 15px;
  border-radius: 0 0 0 20px;
  white-space: normal;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: content-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quick_data .container::-webkit-scrollbar {
  display: none;
}
.quick_data h4 {
  font-size: 2rem;
  color: var(--color-white);
}
.quick_data .container .item {
  width: 154px;
  margin-left: 5px;
  margin-right: 6px;
  gap: 10px;
}
.quick_data h3 {
  font-size: var(--font-size-mobile);
}

.quick_data p {
  margin-top: 0.1rem;
  font-size: var(--font-size-mobile-sm);
  margin: 0 auto;
}
.quick_data .container .item .description {
  width: 101px;
}

.quick_data .items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === Contenedor ¿Qué es? === */
.fs-12 {
  font-size: 0.75rem;
}

.texto-que-es {
  font-size: var(--font-size-mobile);
  font-weight: normal;
  line-height: 20px;

  text-align: left;
  color: #676767;
}

/* === Nuestro requisitos === */
.icon-img {
  width: 28px;
  height: 28px;
  aspect-ratio: 1/1;
}

.list-group-item {
  border: none;
  border-radius: 10px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 5px 15px;
  background: #fff;
}

.list-group-item:hover {
  background-color: #fff;
}

.bi-chevron-down {
  font-size: 20px;
  color: #6c757d;
}

.text-requisitos {
  font-weight: normal;
  font-size: var(--font-size-mobile);
  line-height: 14.06px;
  color: var(--color-text);
  text-align: left;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
}

.list-group {
  width: 85%;
}

.dropdown-menu {
  width: 100%;
  box-shadow: rgb(173, 173, 173) -1px 11px 20px 2px;
}

.dropdown-texto p {
  padding: 10px;
  text-align: justify;
}

.dropdown-menu {
  font-size: 12px;
  height: -webkit-fill-available;
}

/* === Perfil Empresarial === */

.perfil .max-text {
  max-width: 160px;
  font-size: var(--font-size-mobile);
  font-weight: 500;
  color: var(--color-text);
  margin: 1.5rem 0;
}

.video_about {
  height: 400px;
}
lite-youtube {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.video_about lite-youtube {
  border-radius: 20px;
}
lite-youtube::part(playButton) {
  width: 60px;
  height: 60px;
  border: 6px solid white;
  border-radius: 50%;
  background-color: transparent;
  background-image: none;
}
lite-youtube::part(frame) {
  display: none;
}
.overlap-box {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  color: white;
  max-height: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  pointer-events: none;
}
.overlap-box h3 {
  position: relative;
  max-width: fit-content;
}
.overlap-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 2px;
}
.exito_video {
  display: flex;
  justify-content: center;
  align-items: center;
}
.exito_video_container {
  height: fit-content;
  width: 100%;
  position: relative;
}
.exito_video lite-youtube {
  height: auto;
}

.btn-test {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*** beneficios ***/

.beneficios {
  height: fit-content;
}

.beneficio_item {
  border-bottom: 1px solid #848484;
  margin-bottom: 1rem;
}

.beneficio_item h3 {
  font-weight: bold;
  font-size: 18px;
}

.beneficio_item p {
  font-size: 14px;
  color: #848484;
  text-align: justify;
}

.beneficios .image-benefits {
  max-height: 300px;
  width: 100%;
}

/***beneficios end***/
.testomnios_swiper .swiper-wrapper {
  padding: 2rem 0;
  padding-bottom: 4rem;
  /* gap: 2rem; */
}
.testomnios_swiper .swiper-wrapper .swiper-slide {
  /* margin: 0 !important; */
}

.testomnios_swiper .swiper-slide .testomnio_item {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testomnios_swiper .swiper-slide-active .testomnio_item {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px) scale(1.03);
}

.testimonials_container .swiper-button-prev {
  display: none;
}
.testimonials_container .swiper-button-next {
  display: none;
}

.testomnio_item {
  border-radius: 20px;
  padding: 1.5rem 1rem;
  position: relative;
  margin-bottom: 60px;
  padding-bottom: 60px;
}

.testomnio_item .quote {
  color: #c41321;
  margin: auto;
}

.testomnio_item .description {
  font-size: var(--font-size-mobile);
  max-width: 315px;
  margin: 0 auto;
  color: #676767;
  text-align: center;
}

.testomnio_item .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
}
.testomnio_item .container-linkedin {
  bottom: -85px;
}
.testomnio_item .container-linkedin span {
  font-size: 12px;
  font-weight: 600;
}

.testomnio_item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10px;
}

.testomnio_item .info-testimony {
  position: absolute;
  left: 50%;
  top: calc(100% + 40px); /* Aumenta la distancia debajo del avatar */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1000;
  width: max-content;
}

.graduated_companies {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 2rem 0;
}

.graduated_companies .graduated_companies_item {
  min-width: 350px;
}

.graduated_companies .graduated_companies_item img {
  max-height: 84px;
  object-fit: scale-down;
  width: 100%;
}

.graduated_companies .graduated_companies_item h4 {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: bold;
  position: relative;
}

.graduated_companies .graduated_companies_item a {
  font-size: 12px;
  color: #403c3d;
  text-decoration: none;
  font-weight: bold;
}

.graduated_companies .graduated_companies_item span {
  font-size: 12px;
  color: #403c3d;
}

.contacto {
  margin: 1rem 0;
}

.contacto .description {
  color: #fff;
  background: #c3132c;
  padding: 3rem 2rem;
}

.contacto .description h3 {
  position: relative;
  margin-bottom: 2rem;
}

.contacto .description h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2rem;
  width: 30px;
  height: 4.6px;
  border-radius: 10px;
  background-color: var(--color-white);
}

.contacto .data {
  padding: 3rem 2rem;
  background: #fff;
}

.contacto .data strong {
  color: var(--color-primary);
}

.contacto .data p {
  font-size: 12px;
}

.contacto .data p span {
  color: #403c3d;
}
.contacto .data p strong span {
  color: #0070ba;
}
@media screen and (min-width: 768px) {
  .graduated_companies {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .graduated_companies .graduated_companies_item {
    min-width: 200px;
  }

  .graduated_companies .graduated_companies_item img {
    max-height: 84px;
    object-fit: scale-down;
    width: 100%;
  }

  .graduated_companies .graduated_companies_item h4 {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: bold;
  }

  .graduated_companies .graduated_companies_item a {
    font-size: 13px;
    color: black;
    text-decoration: none;
  }

  .graduated_companies .graduated_companies_item span {
    font-size: 14px;
    color: #403c3d;
  }

  .contacto .description {
    color: #fff;
    padding: 4rem 3rem;
  }

  .contacto {
    margin: 0;
  }

  .contacto .data {
    padding: 4rem 3rem;
    background: #fff;
  }

  .contacto .data strong {
    color: var(--color-primary);
  }

  .contacto .data p {
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  .exito_video,
  .video_list {
    width: 100% !important;
  }

  .video_list {
    background: #c3132c;
    color: white;
    padding: 0rem 0rem;
    border-radius: 1rem;
  }

  .video_list .video_item {
    padding: 1rem 0;
    padding-left: 0;
  }

  #seccionCasosExito .row {
    margin-left: 0;
    margin-right: 0;
  }

  .video_list .video_item.active {
    background: #e0e0e0;
  }

  .video_list .video_item.active h4 {
    color: #717171;
  }

  .video_list .video_item.active h4::before {
    background-color: #c3132c;
  }

  .video_list .video_item.active p {
    color: var(--color-primary);
  }
}

@media screen and (min-width: 992px) {
  .beneficios .image-benefits {
    max-height: 480px;
    width: 100%;
  }
  .quick_data h4 {
    color: var(--color-white);
    font-size: 2rem;
    line-height: 0;
    margin: 0;
  }
  .quick_data {
    height: 120px;
    min-height: 120px;
    padding-left: 5rem;
    background: var(--color-primary);
    padding: 1rem 2rem;
    border-bottom-left-radius: 20px;
  }

  .quick_data img {
    width: 70px;
    height: 70px;
  }

  .quick_data h3 {
    font-size: 1.2rem;
    line-height: 20px;
    margin-top: 15px;
    margin-bottom: 0.8rem;
  }

  .quick_data p {
    font-size: var(--font-size-desktop-paragrahp);
    line-height: 1.2rem;
  }

  .quick_data .items {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.1rem;
  }

  .quick_data .items h3 {
    margin-bottom: 0.2rem;
  }

  .quick_data h4 {
    font-size: var(--font-size-desktop-title);
    color: var(--color-white);
  }

  .title-que-es {
    font-size: 2.5rem;
  }

  .texto-que-es {
    font-size: var(--font-size-desktop-paragrahp);
    line-height: 30px;
  }

  .text-requisitos {
    font-size: var(--font-size-desktop-paragrahp);
    line-height: 30px;
  }

  .icon-img {
    width: 38px;
    height: 38px;
  }

  .perfil .max-image {
    max-width: 210px;
  }

  .container-import .p-principal {
    max-width: 900px;
    color: rgb(110, 110, 110);
    text-align: center;
    font-size: 1.2rem;
    margin: 0 auto;
  }

  .step {
    flex-direction: row;
    align-items: center;
  }

  .step-image {
    width: 140px;
    height: 140px;
    padding: 2rem;
  }

  .step-title {
    font-size: 1.875rem;
  }

  .step-content p {
    font-size: var(--font-size-desktop-paragrahp);
    margin: 0.5rem 0;
  }

  .step-indicator {
    color: var(--red-primary);
    font-weight: 700 !important;
  }

  .beneficio_item span {
    font-weight: bold;
    font-size: var(--font-size-desktop-md) !important;
  }

  .beneficio_item p {
    font-size: var(--font-size-desktop-paragrahp) !important;
  }

  .texto-descriptivo-quick_data {
    font-size: var(--font-size-desktop-paragrahp);
  }

  .perfil .max-text {
    max-width: 200px;
    font-size: var(--font-size-desktop-paragrahp);
  }
  /* .exito_video {
    height: 380px;
    margin: auto;
  } */

  .container-inscripcion .step-title {
    font-size: var(--font-size-desktop-md);
  }

  .video_list {
    background: #c3132c;
    padding: 2rem 4rem;
    padding-left: 0;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 24px;
    overflow: hidden;
  }

  .viedo_list h3 {
    color: var(--color-white);
  }

  .video_list .video_item {
    padding: 1rem;
    padding-left: 4rem;
    margin: 0;
  }

  .video_list .video_item h4 {
    color: var(--color-white);
    position: relative;
    margin-bottom: 1.5rem;
  }

  .video_list .video_item h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2rem;
    width: 30px;
    height: 4.6px;
    border-radius: 10px;
    background-color: var(--color-white);
  }

  .video_list .video_item p {
    color: var(--color-white);
  }

  .video_list .video_item.active {
    background: #e0e0e0;
  }

  .video_list .video_item.active h4 {
    color: #717171;
  }

  .video_list .video_item.active h4::before {
    background-color: #c3132c;
  }

  .video_list .video_item.active p {
    color: var(--color-primary);
    margin-bottom: 0;
  }

  .beneficios {
    height: 510px;
  }

  .beneficio_item {
    border-bottom: 1px solid #848484;
    margin-bottom: 1rem;
  }

  .beneficio_item h3 {
    font-weight: bold;
    font-size: 24px;
  }

  .beneficio_item p {
    font-size: 16px;
    color: #848484;
  }
  .testimonials_container .swiper-button-prev {
    left: -2rem;
  }
  .testimonials_container .swiper-button-next {
    right: -2rem;
  }
  .testimonials_container .swiper-button-prev::after,
  .testimonials_container .swiper-button-next::after {
    font-size: 18px;
    font-weight: 600;
  }

  .testomnio_item .description {
    max-width: 100%;
  }
}

.force-hide {
  display: none !important;
}

/* Hero Home */
.hero {
  max-height: 480px;
  min-height: 480px;
}
@media (max-width: 991px) {
  .hero {
    max-height: 320px;
    min-height: 320px;
  }
}

/* .exito_video {
  max-height: 380px;
  min-height: 380px;
} */

#inscriptionSection {
  min-height: 700px;
}
@media (max-width: 991px) {
  #inscriptionSection {
    min-height: 600px;
  }
}

#seccionBeneficios {
  min-height: 700px;
}
@media (max-width: 991px) {
  #seccionBeneficios {
    min-height: 500px;
  }
}

#seccionHome {
  min-height: 500px;
}
@media (max-width: 991px) {
  #seccionHome {
    min-height: 350px;
  }
}
