/* 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, #1e264ebe , #335b96), url("../../img/banners/bannerCIBJ.jpg") 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, #202c56 , #202c566b), url('https://images.unsplash.com/photo-1632616427045-ad858097efd0?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') #fff center / cover no-repeat scroll;
  border: 2px solid #fbc02d;
  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-fail);
  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-principal);
  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: 2px solid #fbc02d;
  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-terciario);
  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-terciario) solid 2px;
  background: linear-gradient(to bottom, #202c5600 , #202c5630), url('../../img/cursos/curso-unam/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;
  }
}




span, a, a:hover {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.news-section {
  padding:3rem 0;
}

.news-content {
  cursor: pointer;
  border-radius: 0 0px 20px 20px;
    padding: 20px 30px;
    background-color: var(--color-blanco);
}

.news-item {
    box-shadow: 0 0 15px #ededed;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    margin-bottom: 40px;
}

.news-item:hover {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0px 15px 15px 0px #edeaea;
    box-shadow: 0px 15px 15px 0px #edeaea;
}

.newsimg img {
    width: 100%;
    border-radius: 20px 20px 0 0 ;
}

.news_postdate {
    color: var(--color-principal);
    padding: 20px 0px;
}

.news-content h3 {
    color: #233D63;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.news_authorinfo {
    border: transparent;
    padding: 14px 0px 0px 0px;
    background: transparent;
    font-size: 14px;
}

.news_authorinfo i {
    margin-right: 6px;
}

.news_authorinfo span:last-child {
    float: right;
}

.news_authorinfo a {
    color: #666;
}

.center .news-content {
    background: linear-gradient(-120deg, #8758ff 0, #614ef9 100%);
}

.center .news-content h3,
.center .news-content p {
    color: #fff;
}

.center .news_authorinfo a,
.center .news_authorinfo i {
    color: #fff;
}

.news-slide.owl-carousel .col-lg-4 {
    max-width: 100%;
    padding: 0;
}

.news-section .owl-theme .owl-nav [class*="owl-"] {
    color: #333;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #fff;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.small-title {
  font-size: 20px;
  text-transform: capitalize;
  color: var(--color-principal);
  margin-bottom: 10px;
  margin-top: 0px;
  font-weight: 600;
}
.big-title {
    letter-spacing: 0px;
    padding-bottom: 13px;
    position: relative;
    color: #233D63;
    line-height: 50px;
    font-size: 36px;
    text-transform: capitalize;
    font-weight: 600;
}
.main-title-box {
    margin-bottom: 60px;
}

.floating-icon{
  position: absolute;
  top: 380px !important;
  right: 20px !important;
  width: 60px;
  height: auto;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
  
}

/* Animación de flotación */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
  100% { transform: translateY(0); }
}






:root {
  --primary-color: #2563eb;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --bg-light: #f9fafb;
}

.alternating-section {
  padding: 60px 20px;
  background-color: var(--bg-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.block {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Móvil primero */
  align-items: center;
  gap: 40px;
}

/* Responsive Desktop */
@media (min-width: 768px) {
  .block {
    flex-direction: row; /* Imagen y texto lado a lado */
    text-align: left;
  }
  
  /* Si quieres que se alternen en varias secciones, usa esto: */
  /* .alternating-section:nth-child(even) .block { flex-direction: row-reverse; } */
}

.text-content {
  flex: 1;
}

.badge {
  background: #dbeafe;
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
}

.text-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin: 15px 0;
}

.text-content p {
  line-height: 1.6;
  color: var(--text-light);
  font-size: 1.1rem;
}

.stats {
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
  margin: 20px 0;
  font-style: italic;
}

.promo-box {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  border: 1px dashed var(--accent-color);
}

.code {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-3px);
}

.image-container {
  flex: 1;
  width: 100%;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: scale 0.3s ease;
}

.image-container img:hover {
  scale: 1.02;
}