@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "poppins", sans-serif;
  position: relative;
}

.title-panel {
  line-height: 10rem;
  margin-top: -2.3em;

  font-family: "Baloo Tamma 2";
  font-size: 4rem;
  font-weight: 1000;

  font-style: normal;
  position: absolute;
  color: #044144;
}

.description-panel {
  font-family: "Lato";
  text-align: justify;
  font-style: normal;
  font-weight: normal;
  line-height: 2.4rem;
  margin-bottom: -5rem;
  font-size: 2rem;
  position: relative;
}

.button-panel {
  font-family: "Baloo Tamma 2", cursive;
  margin-bottom: 4rem;
}

.btn_registrar_panel {
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.4rem 2.8rem;
  background-color: #7c83fd;
  color: #ffffff;
  transition: all 0.3s ease;
}

.btn_registrar_panel:hover {
  background-color: transparent;
  color: #7c83fd;
  border: 1px solid #7c83fd;
}



.video-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 20px;
}

.title-video {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 2.6rem;
  font-family: "Baloo Tamma 2", cursive;
  color: #7c83fd;
}

.text-title-video {
  font-family: "Baloo Tamma 2", cursive;
  font-size: 1.3rem;
  font-weight: 500;
}

.cards-video {
  border: 2px solid transparent;
  box-shadow: 0px 4px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.text-cards-video {
  font-weight: bold;
  font-size: 16px;
}


.container-questions {
  background-color: #ffffff;
  margin: -1 auto !important;
  max-width: 100%;
  padding: 0.1rem 0 4rem 0;
}

.mision {
  background: linear-gradient(180deg,
      rgb(140, 221, 219) 0%,
      rgb(140, 221, 219) 100%,
      rgb(140, 221, 219) 100%);
  min-width: 100%;
}

.container-questions .row .col-md-12 {
  margin: 0 auto;
  text-align: center;
}

.container-questions .col-md-12 {
  max-width: 924px;
}

.container-questions .card-body {
  padding: 1em .5em;
}

.accordion {
  width: 90%;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.accordion .card {
  text-align: justify;
  background: #26C4C3;
  color: #0c0d0e;
  font-size: 14px;
  /*border-radius: 9px !important;*/
}

.card-questions-box {
  border: 2px solid transparent;
  box-shadow: 0px 4px 2px 2px rgba(0, 0, 0, 0.1);
  border-radius: 8px !important;
}

.accordion .card .card-header {
  background: #26C4C3;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.accordion .card .card-header .card-text {
  font-weight: 500;
  font-size: clamp(0.8rem, 2vw, 1.3rem);
  text-align: left;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}

.card-text i {
  float: right;
  color: #FFF;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.card-questions-header {
  border-radius: 8px !important;
}

.testimonial {
  font-size: large;
  perspective-origin: 50% 50%;
  perspective: 550em;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  counter-reset: bubble 0;
  overflow: hidden;
  margin: 0;
  /*background: #0af;*/
  min-height: 800px;
  flex-grow: 1;
  transform: translateX(0) translateY(0) !important;
  cursor: auto !important;
  color: #ffff;
}

.testimonial .testimonials {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  height: 100%;
  transform: translateZ(calc(var(--distance) * -1));
  transition: transform ease-in-out 1s;
  transform-style: preserve-3d;
}

.testimonial .arrow-left,
.testimonial .arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #0af;
  z-index: 2;
  background: white;
  padding: 5px;
}

.testimonial .arrow-left {
  left: 0px;
}

.testimonial .arrow-right {
  right: 0px;
}

.testimonial .navigation {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  cursor: pointer;
}

.testimonial .navigation .nav-dot {
  padding: 3px;
  background: #0af;
  border: 1px solid white;
  border-radius: 50%;
}

.testimonial .navigation .focused {
  background: #0af;
  ;
}

.chat-bubble {
  padding: 2em;
  width: min(400px, calc(120vw - 40px));
  box-sizing: border-box;
  height: 600px;
  background-color: rgb(86, 199, 185);
  border-radius: 3em;
  position: absolute;
  transform: translateX(-50%) rotateY(var(--rotation)) translateZ(var(--distance));
  transition: filter 1s ease;
  backface-visibility: hidden;
  pointer-events: none;
  filter: blur(3px);
}


.chat-bubble.focused {
  pointer-events: auto;
  filter: blur(0px);
}

.chat-bubble i {
  margin-top: -50px;
  display: flex;
  font-size: 70px;
  color: #000000;
  margin-bottom: 0.5em;
  justify-content: center;
}

.chat-bubble .person {
  display: grid;
  /*grid-template: auto auto/auto 1fr;*/
  text-align: center;
  grid-column-gap: 0.4em;
  margin-bottom: 1em;
  margin-top: 2em;
}

.chat-bubble .person .img {
  grid-row: 1/-1;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: auto;
}

.chat-bubble .person .name {
  font-weight: bold;
  align-self: end;
}

.chat-bubble .person .role {
  align-self: start;
}

.chat-bubble .content {
  text-align: left;
  white-space: pre-wrap;
  position: relative;
  max-height: 500px;
  height: 65%;
  padding: 5px 3px;

  overflow-y: auto;
  color: #000000;
  background-color: rgb(86, 199, 185);
}

/*Scroll en contenido testimonios*/
.chat-bubble .content::-webkit-scrollbar {
  width: 7px;
  background-color: #F5F5F5;
  border-radius: 5px;

}

.chat-bubble .content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;

  border-radius: 5px;
}

.chat-bubble .content::-webkit-scrollbar-thumb {
  background-color: #000000;
  /*border: 2px solid #555555;*/

  border-radius: 5px;
}

/*modificacion*/
.titulo_tes {
  margin-top: 2em;
  margin-bottom: 5px;
  font-family: 'Baloo Tamma 2';
  color: #0E6C71;
  font-size: 3.2em;
}

.comillas {
  text-align: center;

  margin-top: -80px;
  margin-bottom: -20px;
}

#form {
  width: 250px;
  margin: 0 auto;
  height: 50px;
}

#form p {
  text-align: center;
}

#form label {
  font-size: 20px;
}

input[type="radio"] {
  display: none;
}

label {
  color: grey;
}

.clasificacion {
  direction: rtl;
  unicode-bidi: bidi-override;
  text-align: center;
}

label:hover,
label:hover~label {
  color: orange;
}

input[type="radio"]:checked~label {
  color: orange;
}

.logo-imge {
  height: 100px;
  color: #0e6c71;
  display: inline-block;
}

.chat-bubble .content:w .truncated::after {
  content: "";
  position: absolute;
  height: 3em;
  width: 3em;
  background-image: black;
  top: 0;
  left: 0;
}



/*NEW STYLES*/
.content-container {
  width: min(100%, 1860px) !important;
  margin: 0 auto;
  place-items: center;
}

/*COLORES*/
.color-turquesa {
  color: #26C4C3;
}

.bg-turquesa {
  background: #26C4C3;
}

.color-white {
  color: #FFFFFF;
}

.color-blue {
  color: #245065;
}

/*SECTION 1: HERO*/
.section-1 {
  min-height: 80vh;
  width: 100%;
  position: relative;
  background: url('../img/hero-nosotros-mobile.webp') no-repeat center center;
  background-size: cover;
  object-fit: cover;
  place-items: center;
  place-content: center;
}

.section-1::before,
.section-4::before {
  background: #2B647F;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.section-1__content {
  height: auto;
  place-items: center;
  position: relative;
}

.section-1__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}


.subtitle {
  font-size: clamp(2.2rem, 6vw, 4rem) !important;
  text-align: center;
}

div:has(.hero-letters-below) {
  place-items: center;
  padding: clamp(1rem, 2vw, 3rem);
}

.hero-letters-below {
  font-size: clamp(12px, 1.8vw, 22px) !important;
  padding: 0;
  width: min(100%, 55ch);
}

/* SECTION 2: OBJETIVO, MISION Y VISION */
.section-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, auto);
  padding: 0 1em;
  width: min(100%, 1440px) !important;
  gap: 3em;
  margin: 5em auto;
  position: relative;
  grid-template-areas:
    "objetivo objetivo"
    "mision mision"
    "imagen1 imagen2"
    "vision vision"
    "imagen3 imagen3"
    "valores valores";
}

.section-2__item,
.section-2 .container-img img {
  border-radius: 25px;
  position: relative;
}

.container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center center;
}

.section-2__card {
  background-color: #26C4C3;
  width: min(100%, 806px);
  padding: min(2.5rem, 10vw) min(2.5rem, 5vw);
  place-content: center;
}


.section-2__objetivo {
  grid-area: objetivo;
}

.section-2__mision {
  grid-area: mision;
}

.section-2__imagen-1 {
  grid-area: imagen1;
}

.section-2__imagen-2 {
  grid-area: imagen2;
}

.section-2__vision {
  grid-area: vision;
}

.section-2__imagen-3 {
  grid-area: imagen3;
}

.section-2__valores {
  grid-area: valores;
}

.subtitle-2 {
  color: #0e0e0e;
  position: absolute;
  top: -2em;
  background-color: #FFF;
  border: 2px solid #26C4C3;
  border-radius: 25px;
  padding: 1em 2em;
  font-size: clamp(14px, 1.5vw, 20px);
}

.section-2__paragraph {
  font-size: clamp(12px, 1.5vw, 16px);
}

/*SECTION 3: CONOCE LOS BENEFICIOS (SOLO DESKTOP)*/
.section-3 {
  display: none;
}

/*SECTION 4: ACCEDA A PROFESIONALES*/
.section-4 {
  min-height: 30vh;
  width: 100%;
  position: relative;
  background: url('../img/acceda-nosotros-mobile.png') no-repeat center center;
  background-size: cover;
  object-fit: cover;  
  padding: 10em 0;
}

.section-4__content {
  position: relative; 
  width: 50%; 
  left: 0; 
  text-align: left;
  padding-left: clamp(20px, 2vw, 30px);
}

/*SECTION 5: UNASE A UNA COMUNIDAD*/
.section-5 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "text1"
    "text2";
  padding: 3em 2em;
  gap: 1.5em;
}


.section-5__item {
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
  gap: 2em;
}

.section-5__text1 {
  grid-area: text1;
}

.section-5__text2 {
  grid-area: text2;
}

.section-5__image1,
.section-5__image2 {
  display: none;
}

.section-5__paragraph {
  font-size: clamp(12px, 1.5vw, 20px);
  width: min(100%, 50ch);
  font-weight: 600;
}

/*SECTION 6: PREGUNTAS FRECUENTES*/

.section-6 {
  display: flex;
  gap: 1em;
  flex-direction: column;
  width: min(100%, 1440px);
  margin: 3em auto;
}

.section-6__subtitle {
  font-size: clamp(1.4rem, 2vw, 4rem);
}

/*VIDEO*/
#video{
  width:100%; 
  height:500px;
  border-radius: 10px;
}

#player{
  border-radius: 10px;
}

.error-link{
  color:#fff;
  text-decoration: underline;
}

/*MEDIA QUERY*/
@media (min-width: 768px) {
  .section-1 {
    background: url('../img/hero-nosotros-desktop.webp') no-repeat center center;
    background-size: cover;
    object-fit: cover;
  }

  .section-2 {
    gap: 2.5em;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
      "objetivo objetivo objetivo objetivo mision mision mision mision"
      "imagen1 imagen1 vision vision vision vision imagen2 imagen2"
      "imagen3 imagen3 imagen3 imagen3 valores valores valores valores";
  }

  .section-2__card {
    background-color: #26C4C3;
    width: min(100%, 806px);
    padding: min(2rem, 10vw) min(2rem, 5vw);
    height: clamp(250px, 20vh, 320px);
    place-content: center;
  }

  .section-3 {
    background-color: #26C4C3;
    display: flex;
    text-align: center;
    padding: 3em 0;
  }

  .section-3__subtitle {
    font-size: clamp(44px, 5vw, 72px) !important;
  }

  .section-3__paragraph {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: bold;
  }

  .section-3__video-container {
    width:clamp(680px, 80%, 880px);
    margin: 0 auto;
    position: relative;
  }

  video {
    border-radius: 25px;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3.5rem;
    transform: translate(-50%, -65%);
    background: none;
    width: 80px;
    height: 80px;
    padding-left: .2em;
    border: none;
    cursor: pointer;
    z-index: 1;
    color: #fff;
    border-radius: 50%;
    background-color: #26C4C3;
  }

  .section-4 {
    background: url('../img/acceda-nosotros-desktop.png') no-repeat center center;
    background-size: cover;
    object-fit: cover;
    min-height: 80vh;
    align-content: center;
  }

  .section-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: (2, 1fr);
    grid-template-areas:
      "text1 image1"
      "image2 text2";
  }

  .section-5__image1 {
    grid-area: image1;
  }

  .section-5__image1 {
    grid-area: image2;
  }

  .section-5__image1,
  .section-5__image2 {
    display: block;
  }
}

@media (max-width: 768px) {
  .section-1 {
    min-height: 50vh;
  }

  .section-4__content {
    width: 100%;
    padding: 15px;
  }

  .accordion {
    width: 100%;
  }

}