@charset "UTF-8";
html {
  box-sizing: border-box;
  font-size: 14px;
}

* {
  border: none;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

html, body {
  min-height: 100%;
  height: 100%;
}

@media (max-width: 420px) {
  body {
    height: auto;
  }
}

@media (max-width: 600px) {
  #home-formulas .MathJax, 
  #home-formulas .MathJax_Display,
  #home-formulas .mjx-container {
    font-size: 0.7rem !important;
    line-height: 1.1 !important;
  }
}



:root {
  --primary: #295F88;
  --text-color: #213547;
  --background-color: #f9f9f9;
  --secondary-background-color: #e7e7e7;
  --navbar-background-color: rgba(0, 0, 0);
  --navbar-box-shadow-color: rgba(0, 0, 0, 0.5);
  --btn-link-color: #295F88;
  --box-shadow-color: rgb(255, 255, 255, 0.7);
  --box-hover-border-color: rgba(255, 255, 255, 0.25);
  --container-padding: 15%;
}

[data-theme=dark] {
  --text-color: #f9f9f9;
  --background-color: #242424;
  --secondary-background-color: #3f3f3f;
  --navbar-background-color: #121212;
  --navbar-box-shadow-color: rgba(140, 140, 140, 0.25);
  --btn-link-color: #6ba9d8;
  --box-shadow-color: rgb(255, 255, 255, 0.7);
  --box-hover-border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 420px) {
  :root {
    --container-padding: 25px;
  }
}

nav {
  position: sticky;
  height: 115px;
  top: 0;
  z-index: 100;
}

.nav-top {
  height: 65px;
  padding: 15px;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
}
.nav-top .nav-logo {
  position: absolute;
  top: 20px;
  right: 10px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.nav-bottom {
  height: 50px;
  padding-right: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--navbar-background-color);
  box-shadow: 0 2px 5px var(--navbar-box-shadow-color);
  font-weight: 700;
  font-size: 18px;
}
.nav-bottom ul {
  display: flex;
}
.nav-bottom ul li {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-bottom ul li a {
  height: 50px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.25s ease-in-out;
}

.nav-bottom ul li a:hover {
    background: radial-gradient(circle,#ffffff 0%,#000000 50%);
    transition: 0.25s ease-in-out; 
}

.nav-bottom .toogle-dark-mode {
  height: 40px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #D9D9D9;
  border-radius: 30px;
}
.nav-bottom .toogle-dark-mode div {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.nav-bottom .toogle-dark-mode div:hover {
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.7);
}
.nav-bottom .toogle-dark-mode img {
  filter: brightness(0);
}
.nav-bottom .toogle-dark-mode .selected {
  background-color: var(--primary);
}
.nav-bottom .toogle-dark-mode .selected img {
  filter: none;
}

@media (max-width: 420px) {
  nav {
    position: sticky;
    height: 65px;
    top: 0;
    z-index: 100;
  }
  .nav-top {
    padding: 0 10px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 20px;
    box-shadow: 0 2px 5px var(--navbar-box-shadow-color);
  }
  .nav-top .nav-logo {
    width: 45px;
    margin-right: 10px;
    position: static;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  }
  .nav-top .menu-button {
    width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
  }
  .nav-bottom {
    visibility: hidden;
    opacity: 0;
    height: auto;
    flex-direction: column;
    padding-right: 0;
    transition: all 0.25s ease;
  }
  .nav-bottom ul {
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
  }
  .nav-bottom ul li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.25);
  }
  .nav-bottom ul li a {
    width: 100%;
  }
  .nav-bottom .toogle-dark-mode {
    margin: 15px 0;
  }
  .nav-bottom.visible {
    visibility: visible;
    opacity: 1;
  }
}
.footer {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  background-color: var(--primary);
  color: white;
}
.footer a {
  text-decoration: none;
}
.footer .footer-logo {
  width: 45px;
}
.footer > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.footer > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.footer > div:last-child a {
  margin-left: 10px;
  color: white;
}
.footer > div img {
  margin-bottom: 10px;
}

@media (max-width: 420px) {
  .footer {
    padding: 35px 10px;
    flex-direction: column;
  }
  .footer > div:first-child {
    margin-bottom: 35px;
    align-items: center;
    text-align: center;
  }
  .footer > div:first-child span {
    max-width: 250px;
  }
  .footer > div:last-child {
    align-items: center;
    text-align: center;
  }
  .footer > div:last-child .footer-links > a {
    margin-right: 10px;
    white-space: pre;
  }
}

:root {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color-scheme: light dark;
  color: var(--text-color);
  background-color: var(--background-color);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html {
  scroll-behavior: smooth;
}

.ws-separator {
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #235983 0%, #AADCF5 47.4%, #235983 100%);
}

a {
  text-decoration: none;
}

.btn {
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  border-radius: 5px;
  font-family: var(--main-font-familiy);
  cursor: pointer;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
  border: none;
}

.btn:hover {
  box-shadow: 0px 0px 7px var(--box-shadow-color);
  border: 1px solid var(--box-hover-border-color);
}

.btn-primary {
  min-width: 150px;
  background-color: var(--primary);
  color: white;
}

.btn-secondary {
  min-width: 150px;
  background-color: #454545;
  color: white;
}

.btn-link {
  color: var(--btn-link-color);
}

input {
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  outline: none;
}

.buttons-container {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-container {
  min-height: calc(100vh - 80px - 50px);
  padding: 20px var(--container-padding);
}

@media (max-width: 420px) {
  .main-container h1 {
    text-align: center;
    font-size: 24px;     /* Tamaño ideal en celular */
  }

  .main-container {
    padding: 10px;
  }

  .boton, .hex, .card {
    width: 100%;         /* Se ajusta al ancho del móvil */
  }
}


/* características de la imágen del contenedor 1 */
.home-main-section {
  height: calc(100vh - 80px - 50px);
  padding: 20px var(--container-padding);
  background: url("/Imagenes/0_inicio/fondo_01.png");
  background-size: contain;
  background-position: bottom;
}


/* contenedor 1 */
.home-main-section > div {
  max-width: 1000px;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center;        /* centra verticalmente */
  padding-bottom: 20px;
  position: relative;
  display: flex;
  z-index: 10;
  gap: 20px; 
}


.home-main-section .header-main {
  height: 100%;
  display: flex;
  color: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.home-main-section .header-main header {
  display: flex; 
  text-align: center;
  font-size: 20px;
  justify-content: center;
  width: 100%;
}

/* elmento 1 */
.home-main-section .header-main header h1 {
  height: 40px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(255, 255, 255, 0.33);
  border-radius: 40px;
  font-size: 20px;
}


.home-main-section .header-main .header-buttons {
  max-width: 200px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.home-main-section .header-main .header-buttons .btn {
  justify-content: flex-start;
}

.home-main-section .header-card {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f9f9f9;
}

/* elemento 2 */
/* PC y tablets */
.home-main-section .header-card> div {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  box-shadow: 0px 0px 12px var(--box-shadow-color);
  border-radius: 40px;
}

/* Celulares */
@media (max-width: 420px) {
  .home-main-section .header-card > div {
    padding: 10px;
  }
}


.home-main-section .header-card #home-formulas {
  font-size: 12px;
}

[data-theme=dark] .home-main-section::after {
  opacity: 0.5;
}



/* tarjetas de cursos */
.home-programs {
  padding: 20px var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}


.home-programs .card {
  width: 380px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  transition: box-shadow 0.25s ease;
}

.home-programs .card-curso-7 {
    background: url("/Imagenes/0_inicio/Flyer_curso_07.jpg");
    background-size: cover;
}
.home-programs .card-curso-6 {
    background: url("/Imagenes/0_inicio/Flyer_curso_06.jpg");
    background-size: cover;
}
.home-programs .card-curso-5 {
    background: url("/Imagenes/0_inicio/Flyer_curso_05.jpg");
    background-size: cover;
}
.home-programs .card-curso-4 {
    background: url("/Imagenes/0_inicio/Flyer_curso_04.jpg");
    background-size: cover;
}
.home-programs .card-curso-3 {
    background: url("/Imagenes/0_inicio/Flyer_curso_03.jpg");
    background-size: cover;
}
.home-programs .card-curso-2 {
    background: url("/Imagenes/0_inicio/Flyer_curso_02.jpg");
    background-size: cover;
}
.home-programs .card-curso-1 {
    background: url("/Imagenes/0_inicio/Flyer_curso_01.jpg");
    background-size: cover;
}

.home-programs .card .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: var(--primary);
  border-radius: 10px 10px 0px 0px;
  font-size: 20px;
}
.home-programs .card .card-description {
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0px 0px 10px 10px;
  font-style: italic;
}
.home-programs .card:hover {
  box-shadow: 0px 0px 7px var(--box-shadow-color);
}

@media (max-width: 420px) {
  .home-main-section {
    height: auto;
    background-image: url("/Imagenes/0_inicio/fondo_01.png");
  }
  .home-main-section::after {
    display: none;
  }
  .home-main-section > div {
    flex-direction: column;
  }
  .home-main-section .header-main header {
    text-align: center;
    font-size: 20px;
  }
  .home-main-section .header-main header h1 {
    padding: 10px 20px;
    min-width: 100px;
    height: auto;
    line-height: 1.2;
  }
  .home-main-section .header-main .header-description {
    max-width: 300px;
  }
  .home-main-section .header-main .header-buttons {
    max-width: 100%;
    margin-bottom: 50px;
  }
  .home-main-section .header-main .header-buttons .btn-primary {
    min-width: 130px;
  }
  .home-programs .card {
    max-width: 100%;
  }
  [data-theme=dark] .home-main-section {
    background-image: url("/Imagenes/0_inicio/fondo_01.png");
  }
}
.program-page {
  margin-bottom: 50px;
}
.program-page header {
  margin-bottom: 35px;
}
.program-page .program-image {
  max-width: 100%;
  border: 1px solid #3C3744;
  filter: drop-shadow(0px 4px 4px rgba(1, 131, 253, 0.3));
  border-radius: 10px;
  margin-bottom: 35px;
}
.program-page p {
  margin-bottom: 35px;
}

@media (max-width: 420px) {
  .program-page .program-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .program-page .buttons-container {
    justify-content: center;
  }
  .program-page .buttons-container .btn {
    flex-grow: 1;
  }
}
.page-cursos .list-item {
  display: flex;
  flex-direction: row;
  padding: 50px 0;
  border-top: solid 0.52px rgba(126, 126, 126, 0.5);
}
.page-cursos .list-item .item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page-cursos .list-item .item-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: bold;
}
.page-cursos .list-item .item-picture {
  min-width: 250px;
  height: 150px;
  margin-right: 15px;
  background: url("./sample-course-89ae04f5.jpg");
  background-size: cover;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 10px;
  transition: box-shadow 0.25s ease;
}
.page-cursos .list-item .item-picture:hover {
  box-shadow: 0px 0px 7px var(--box-shadow-color);
}

@media (max-width: 420px) {
  .page-cursos .list-item {
    display: flex;
    flex-direction: column;
  }
  .page-cursos .list-item .item-info {
    align-items: center;
    text-align: center;
  }
  .page-cursos .list-item .item-picture {
    min-width: 150px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-cursos .list-item .buttons-container {
    justify-content: center;
  }
}
.about-page {
  min-height: calc(100vh - 80px - 65px);
  padding: 25px var(--container-padding);
}
.about-page header {
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}
.about-page article {
  margin-bottom: 70px;
}
.about-page .about-info {
  margin-bottom: 25px;
}
.about-page .about-cards-container {
  display: flex;
  gap: 25px;
}
.about-page .about-cards-container .about-card {
  margin: 25px 0;
  padding: 25px 15px;
  color: white;
  background-color: var(--primary);
  border: 5px solid #FFFFFF;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 420px) {
  .about-page .about-info {
    padding: 0 25px;
  }
  .about-page .about-cards-container {
    flex-direction: column;
  }
}
.contact-page {
  min-height: calc(100vh - 80px - 65px);
}
.contact-page header {
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}
.contact-page .contact-section {
  margin-bottom: 70px;
}
.contact-page .social-icons {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contact-page .map-section {
  padding: 50px 0;
  background-color: var(--secondary-background-color);
  text-align: center;
}
.contact-page .map-section .map-container {
  padding: 15px var(--container-padding);
}
.contact-page .map-section .map-container iframe {
  width: 100%;
}

.certificados-page .options-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}
.certificados-page .options-container > div {
  max-width: 300px;
}
.certificados-page .options-container .btn {
  font-weight: bold;
}
.certificados-page .options-container .card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
  box-shadow: 0px 0px 2px var(--box-shadow-color);
  border-radius: 10px;
}

#certificates-qr-scanner {
  max-width: 100%;
}

.student-page .list-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 25px;
}
.student-page .item-card {
  min-width: 200px;
  flex-grow: 1;
  padding: 25px;
  display: flex;
  gap: 15px;
  box-shadow: 0px 0px 4px var(--box-shadow-color);
  border-radius: 5px;
}
.student-page .item-card .item-card-info {
  display: flex;
  gap: 20px;
}
.student-page .item-card .img-curso {
  max-width: 150px;
  border-radius: 10px;
}

@media (max-width: 420px) {
  .student-page .item-card {
    flex-direction: column;
  }
  .student-page .item-card .item-card-info {
    display: flex;
    flex-direction: column;
  }
  .student-page .item-card .img-curso {
    max-width: 100%;
  }
}
.curso-hec-ras {
  background-image: url("./sample-program-image-49e28cf0.jpg") !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}

.text-justify {
  text-align: justify !important;
}

.text-primary {
  color: var(--primary) !important;
}

[data-theme=dark] .text-primary {
  color: #f9f9f9 !important;
}

.text-italic {
  font-style: italic !important;
}

.hidden {
  display: none !important;
}

.hidden-sm {
  display: none !important;
}

@media (max-width: 420px) {
  .hidden-sm {
    display: block !important;
  }
}
.hidden-xs {
  display: flex !important;
}

@media (max-width: 420px) {
  .hidden-xs {
    display: none !important;
  }
}
/**************************\
  Basic Modal Styles
\**************************/
.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: var(--background-color);
  margin-top: 100px;
  padding: 30px;
  max-width: 500px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "✕";
  color: #7f7f7f;
  cursor: pointer;
  margin-left: 15px;
}

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.modal__btn {
  font-size: 0.875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: var(--primary);
  color: #fff;
  margin-right: 5px;
}

/**************************\
    Demo Animation Style
  \**************************/
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden=false] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=false] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}



/**************************\
    BOTONES HEXAGONALES
\**************************/
/* CONTENEDOR GENERAL */
.hex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

/* FILAS */
.hex-row {
    display: flex;
    justify-content: center;
    margin: -10px;
    gap: 5px;
}


/* HEXÁGONO VERTICAL */
.hex {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 1);
    color: black;
    font-weight: bold;
    font-size: 12px;  
    line-height: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    display: flex;

   clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );

    transition: 0.25s;
}

.hex:hover {
    transform: scale(1.07);
    background: radial-gradient(circle,#ff00ff 10%,#000000 80%);
    transition: 0.25s ease-in-out;
}

.mi-foto {
    width: 90px;
    height: 105px;
    object-fit: cover;
    border-radius: 20px;

    /* Difuminado en los bordes */
    -webkit-mask-image: radial-gradient(circle, white 50%, transparent 100%);
    mask-image: radial-gradient(circle, white 50%, transparent 100%);
}



