/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/* Caja de Reseteo*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*** Seccion Infromativa de cursos ***/


.section {
    height: 10vh;
  }
  
  .icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  
  .header {
    display: flex;
    align-items: center;
    padding-top: 5rem;
    background: linear-gradient(to bottom, #014ec0 , #f9f9f95b), url("../../img/cursos/curso-buap/banner.png") no-repeat center center fixed;
    background-attachment: fixed; 
    background-size: cover; 
    -moz-background-size: cover; 
    -webkit-background-size: cover; 
    background-repeat: no-repeat; 
    background-position: top center;
  }
  @media (max-width: 43.75em) {
    .header {
      text-align: center;
    }
  }
  .header .container__preparacion {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
  }
  .header__top {
    display: flex;
    align-items: center;
  }
  @media (max-width: 43.75em) {
    .header__top {
      flex-direction: column-reverse;
    }
  }
  .header__top .icon {
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.625em;
  }
  .header__logo {
    width: 200px;
    margin-right: 2em;
    border-radius: 5px;
  }
  @media (max-width: 43.75em) {
    .header__logo {
      margin: 1.25em 0 0;
    }
  }
  
  .header__title__small, .header__link, .header__blurb {
    color: #fff;
    font-size: 1rem !important;
    margin: 3rem auto;
    left: 0;
  }
  .header__title {
    margin: 0 0 0.3611111111em;
    font-weight: normal;
    font-size: 3rem;
  }
  .header__title__small {
    display: block;
    font-size: 1.5rem;
  }
  .header__title__strong {
    font-weight: bold;
    color: white;
    font-size: 2rem;
  }
  .header__link {
    display: inline-flex;
    align-items: center;
    transition: 0.25s;
  }
  .header__link:hover, .header__link:focus {
    color: white;
    text-decoration: none;
  }
  .header__link:active {
    color: rgba(255, 255, 255, 0.4);
    transition: 0s;
  }
  .header__blurb {
    margin: 2rem ;
    font-size: 1.5rem;
    line-height: 1.5;
  }
  .header__tiles {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: -62px;
    background: #E4E4E4;
    box-shadow: inset 0 0 0 1px white, 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  .header__tile {
    flex: 1;
    height: 100%;
    position: relative;
    padding: 2em 1em;
    font-size: 1.25em;
    white-space: nowrap;
    color: #555;
    border: 1px solid transparent;
  }
  @media (max-width: 62em) {
    .header__tile {
      flex-basis: 50%;
    }
  }
  @media (max-width: 30em) {
    .header__tile {
      flex-basis: 100%;
    }
  }
  .header__tile::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: white;
    transition: 0.3s;
  }
  .header__tile > span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
  }
  .header__tile:hover, .header__tile:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
  }
  .header__tile:hover > span, .header__tile:focus > span {
    z-index: 1;
  }
  .header__tile:hover .icon, .header__tile:focus .icon {
    color: currentColor;
  }
  @media (min-width: 49.4375em) {
    .header__tile:hover::before, .header__tile:focus::before {
      z-index: 1;
      transform: scale(1.15);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    }
    .header__tile:active::before {
      transition: 0.1s;
      transform: scale(1.2);
    }
  }
  .header__tile .icon {
    width: 42px;
    height: 42px;
    margin-right: 0.75em;
    color: #ccc;
    transition: 0.3s;
  }

  /** Testimonial **/
  



  /*** Testimonials ***/
  .heading {
    position: relative;
}
.testimonials {
    background: url("https://images.unsplash.com/photo-1643671918145-b96f00897f56?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 130px 0 150px;
    color: #ffffff;
    position: relative;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
}
.testimonials:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
    border-radius: 20px;
}
.testimonials .heading h2 {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
}

.testimonials .heading h2 span {
    color:  var(--color-terciario);
}

.testimonials p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #d1e5e7;
    margin: 20px 0;
    padding: 0;
}

/* Image */
.testimonials .carousel-inner .carousel-item .team {
    width: 100px;
    height: 100px;
    border: 2px solid  var(--color-terciario);
    border-radius: 100%;
    padding: 5px;
    margin: 50px 0 15px;
}

.testimonials .carousel-inner .carousel-item h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.testimonials .carousel-inner .carousel-item h4 {
    font-size: 14px;
    font-weight: 300;
    color: #e2e1e1;
    margin-bottom: 20px;
}

.testimonials .carousel-indicators {
    bottom: -30px;
}

.testimonials .carousel-indicators li {
    background-color: #b8b7b7;
    border-radius: 50px !important;
    height: 18px;
    width: 18px;
}

.testimonials .carousel-indicators .active {
    background-color: var(--color-terciario);
}

.testimonials .control span {
    cursor: pointer;
}

.testimonials .icon {
    height: 40px;
    width: 40px;
    background-size: 100%, 100%;
    border-radius: 50%;
    font-size: 30px;
    background-image: none;
    color: #ffffff;
}






/*** Info cursos ***/

.subtitulo {
  font-size: 1.2em;
  margin-top: 10px;
}

.contenedor__mas__info{
  display: flex;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 20px;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  background: linear-gradient(to bottom, #195707 , #18570790), url('https://www.comunicacionsocial.uam.mx/boletinesuam/453-20.jpg') #fff center / cover no-repeat scroll;
  border: 3px solid var(--color-uam);
  border-radius: 20px;
  justify-content: space-evenly;
}



h2 {
  color: var(--color-terciario);
  margin-bottom: 15px;
}

.contenedor__mas__info ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.contenedor__mas__info li{
  color: var(--color-letras-contenido) !important;
  padding: 7px;
}
.pregunta {
  background-color: var(--color-uam);
  padding: 20px;
  border-left: 5px solid var(--color-terciario);
  border-right: 5px solid var(--color-terciario);
  border-radius: 50px;
  color: var(--color-blanco);
  transition: ease-in .2s;
}
.pregunta:hover {
  cursor: pointer;
  transition: ease-in .2s;
  transform: scale(1.1);
  background-color: var(--color-terciario);
  padding: 20px;
  border-left: 5px solid var(--color-uam);
  border-right: 5px solid var(--color-principal);
  border-radius: 50px;
  color: var(--color-blanco);
}


/* Responsive */
@media (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }

  section {
    flex: 1 1 100%;
  }
}




.banner__oferta {
  background-color: #fffde7;
  border: 3px solid var(--color-uam);
  border-radius: 10px;
  max-width: 1100px;
  width: 95%;
  margin: 40px auto;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background: linear-gradient(to bottom, #202c56 , #202c566b), url('../../img/cursos/curso-unam/banner02.png') #fff center / cover no-repeat scroll;
}

.contenido {
  text-align: center;
}

h2 {
  font-size: 1.8em;
  color: var(--color-letras-contenido);
  margin-bottom: 20px;
}

.codigo {
  background-color: var(--color-uam);
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: bold;
}

.precios {
  margin: 15px 0;
  font-size: 1.5em;
}

.precio-original {
  text-decoration: line-through;
  color: var(--color-fail);
  font-weight: 700;
  margin-right: 10px;
}

.precio-descuento {
  color: var(--color-exito);
  font-weight: bold;
}

.descripcion {
  font-size: 1.1em;
  margin: 20px 0;
  color: var(--color-blanco);
}

.boton {
  display: inline-block;
  background-color: var(--color-terciario);
  color: var(--color-letras-contenido);
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.boton:hover {
  background-color: var(--color-principal);
  color: var(--color-letras-contenido);
}

/* Responsive */
@media (max-width: 600px) {
  h2 {
    font-size: 1.4em;
  }

  .precios {
    font-size: 1.2em;
  }

  .descripcion {
    font-size: 1em;
  }

  .boton {
    width: 100%;
    padding: 14px;
  }
}



/* Grid cursos */
:root {
  --color-acento: #1885c2;
  --color-fondo: #f9f9f9;
  --color-texto: #333;
  --color-tarjeta: #ffffff;
}

.container__cursos {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

.section__cursos {
  margin-bottom: 2rem;
}

.section__cursos h2 {
  color: var(--color-acento);
  margin-bottom: 0.5rem;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card__cursos__preparacion {
  background-color: var(--color-tarjeta);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  flex: 1 1 250px;
  transition:  ease-in .2s;
  border: var(--color-uam) solid 3px;
  background: linear-gradient(to bottom, #202c5600 , #202c5630), url('../../img/cursos/curso-ipn/03.png') #fff center / cover no-repeat scroll;
}


.card__cursos__preparacion:hover {
  transform:scale(1.05);
  cursor: pointer;
  transition:  ease-in .2s;
}

.card__cursos__preparacion h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--color-acento);
}

@media (max-width: 600px) {
  .card__cursos__preparacion {
    background-color: var(--color-tarjeta);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 1rem;
    flex: 1 1 50px;
  }
  .grid {
    flex-direction: column;
  }
}


