:root {
    /* Colors: */
    --medex-primary: #005487;
    --medex-secondary: #238DC1;
    --medex-light: #6BC4E8;
    --medex-light-2: #F0F4F7;

    --ipade-primary: #0A2240;
    --ipade-secondary: #002D74;
    --ipade-light: #ABC8E7;

    --white: #fff;
    --black: #000;
    --gray: #393939;
    --gray-light: #F2F2F2;

    --font-dm: "DM Sans", "Verdana", Arial, Helvetica, sans-serif;
    --font-signika: "Signika", "DM Sans", Arial, Helvetica, sans-serif;
    --p: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
}
/* General */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-dm);
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    background-color: var(--white);
}
.rounded {
    border-radius: 20px!important;
}
/* Background */
.bg-ipade-primary {
    background-color: var(--ipade-primary);
}
.bg-ipade-secondary {
    background-color: var(--ipade-secondary);
}
.bg-medex-primary {
    background-color: var(--medex-primary);
}
.bg-medex-secondary {
    background-color: var(--medex-secondary);
}
.bg-medex-light-2 {
    background-color: var(--medex-light-2);
}
.bg-medex-light {
    background-color: var(--medex-light);
}
.bg-graylight {
    background-color: var(--gray-light);
}
/* Colors */
.color-medex-secondary {
    color: var(--medex-secondary);
}
.color-medex-primary {
    color: var(--medex-primary);
}
.color-medex-light {
    color: var(--medex-light);
}
.color-ipade-primary {
    color: var(--ipade-primary);
}
.color-ipade-secondary {
    color: var(--ipade-secondary);
}
/* Buttons */
a {
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 24px;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.btn-medex-secondary {
    color: var(--white);
    background-color: var(--medex-secondary);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 20px;
}
.btn-medex-secondary:hover,
.btn-medex-secondary:focus,
.btn-medex-secondary:active {
    color: var(--white);
    border-color: var(--ipade-primary);
    background-color: var(--ipade-primary);
}
.btn-ipade-primary {
    color: var(--white);
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--ipade-primary);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0;
}
.btn-ipade-primary:hover,
.btn-ipade-primary:focus,
.btn-ipade-primary:active {
    color: var(--white);
    border-color: var(--ipade-secondary);
    background-color: var(--ipade-secondary);
}
/* Títulos */
h1 {
    font-family: var(--font-signika);
    /* max 45px - min 30px  */
    font-size: clamp(1.875rem, 0.8749rem + 1.6146vw, 2.8125rem);
}
h2 {
    /* max 36px - min 24px  */
    font-size: clamp(1.5rem, 0.6999rem + 1.2917vw, 2.25rem);
}
h3 {
    /* max 24px - min 20px  */
    font-size: clamp(1.25rem, 0.9833rem + 0.4306vw, 1.5rem);
}
p {
    /* font-size: clamp(0.875rem, 0.7417rem + 0.2153vw, 1rem); */
}
/* Contenedor principal */
.header-mede {
    width: 100%;
    height: 530px;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo con overlay */
.header-bg {
    background-image: url('https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/4b7d2989-507b-4799-b96b-505143997c91.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    position: absolute;

}

/* Textos */
.header-text-wrapper {
    margin-top: 120px;
    position: relative;
    z-index: 2;
}

.header-content-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 76px 40px; /* desktop por defecto */
}

/* Mobile */
@media (max-width: 768px) {
  .header-content-text {
      padding: 48px 40px;
  }
}

/* Badge */
.header-badge {
    width: 240px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 9;
    transform: translateX(-50%);
    max-width: 240px;
}


/* Logo */
.header-logo {
    width: 200px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}



.header-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.header-subtitle {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 10px;
}



/* Botón WhatsApp */
.btn-wsp-header {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 3;
}

.btn-wsp-header img {
    width: 48px;
}



/* Banner principal */
.banner-container {
    position: relative;
}

@media (max-width: 768px) {
  nav.nav-green {
    display: none !important;
  }
}






/* Fondo barra */
.mede-info-bar {
    background-color: #0F2515;
}

/* Botón verde */
.btn-brochure {
    background-color: #4C8A4D;
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

/* Botón verde hover */
.btn-brochure:hover {
    background-color: #437A44;
    color: white;
}

/* Botón blanco outlined */
.btn-apply {
    border: 2px solid white;
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

/* Hover outline */
.btn-apply:hover {
    background-color: white;
    color: #0F2515;
}

/* Íconos Bootstrap */
.mede-info-bar i {
    font-size: 1.1rem;
}






/* Fondo verde solicitado */
.nav-green {
    background-color: #e4f1e4;
    border: none;
}

/* Enlaces sin subrayado */
.nav-link {
    color: #2f6f3e !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 6px;
    position: relative;
    text-decoration: none !important; /* <--- aquí se elimina el subrayado */
}

/* Hover verde más oscuro */
.nav-link:hover {
    color: #1f5b2e !important;
    text-decoration: none !important; /* <--- asegura que no vuelve a aparecer */
}

/* Subrayado SOLO del ítem activo */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background-color: transparent;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

/* El único subrayado permitido */
.active-link::after {
    background-color: #1f5b2e;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(47,111,62, 0.9)' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsivo */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center;
        padding-top: 1rem;
    }

    /* Evita subrayado decorativo en móviles */
    .nav-link::after {
        display: none;
    }
    
}




.mede-asistir-section {
  background-color: #ffffff;
}

.text-fi-green {
  color: #1a472a; /* Color verde del texto */
}

.form-box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.jotform-container {
  min-height: 400px; /* Ajusta según necesidad */
  background-color: #fafafa;
  border-radius: 8px;
  padding: 15px;
}
.accreditation-box, .network-box {
    border-left: 4px solid #4CAF50; /* Línea verde izq */
    padding-left: 15px;
    margin-bottom: 2rem;
  }

  .icons-row img {
    height: auto;
    margin-right: 12px;
  }
.btn-ipade-green {
  background-color: #0a5f38;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin-bottom: 2rem;
}
.btn-ipade-green:hover {
  background-color: #084e2f;
  transform: translateY(-2px);
}
#form {
  font-family: "Inter", sans-serif !important;
}





.profile-stat {
  display: flex;
  align-items: center;
}

.profile-number {
  font-size: 3.2rem;      
  line-height: 1;        
  margin-right: 12px;
  font-weight: 700;
}

.profile-text p {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1;
  margin: 0;
}

.profile-text small {
  font-size: 0.9rem;
  color: #2c2e30;        
  line-height: normal;
}





.academic-program-section {
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Títulos */
h1 {
  font-size: 2.5rem;
  color: #000;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  color: #000;
  font-weight: 700;
}

h3.quarter-title {
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 1rem;
}

/* Estructura de cuartiles */
.quarter-section {
  margin-bottom: 2.5rem;
}

.quarter-section:last-child {
  margin-bottom: 0;
}

/* Lista de cursos */
.quarter-courses {
  padding-left: 0;
}

.course-item {
  padding: 0.4rem 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem;
}

.course-item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 1.2rem;
}

/* Ajustes responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3.quarter-title {
    font-size: 1.2rem;
  }
  
  .course-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .quarter-section {
    margin-bottom: 2rem;
  }
}

/* Separador visual entre años en desktop */
@media (min-width: 992px) {
  .year-section:first-child {
    padding-right: 3rem;
    border-right: 1px solid #eee;
  }
  
  .year-section:last-child {
    padding-left: 3rem;
  }
}





.program-title-box {
  background: #1d3b1b;
  padding: 20px;
  border-radius: 20px;
}

.section-year {
  color: #6aa94c;
  font-size: 28px;
}

.quarter-wrapper {
  border-left: 2px solid #000;
  padding-left: 20px;
  position: relative;
  min-height: 220px;
}

.quarter-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 18px;
}

.quarter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quarter-list li {
  font-size: 15px;
  margin-bottom: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #6aa94c;
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 3px;
}
/* Fondo verde claro de toda la sección */
.academic-bg {
  background: #f1faf3; /* tono típico del IPADE */
  border-radius: 20px;
  padding: 40px;
  position: relative; 
}

/* Caja verde oscuro del título */
.program-title-box {
  background: #0f2514;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 20px 0 20px 0;
  margin: 0; /* IMPORTANTÍSIMO: elimina separación del borde */
  position: absolute;
  top: 0;
  left: 0;
}

/* Ajuste del h1 dentro de la caja */
.program-title-box h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
/* Contenedor externo que agrega bordes blancos y centra el bloque */
.academic-wrapper {
  max-width: 1200px;      /* Ajusta el ancho del bloque */
  margin: 0 auto;         /* Centrado horizontal */
  padding: 40px 20px;     /* Bordes blancos alrededor */
  background: #ffffff;    /* Fondo blanco externo */
}

/* La caja con fondo verde claro */
.academic-bg {
  background: #f0faf3;
  border-radius: 20px;
  padding: 60px 40px 40px 40px;
  position: relative;
}

/* Caja del título */
.program-title-box {
  background: #0f2514;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 0 0 20px 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.program-title-box h1 {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
}






/* Sección general */
.intl-section {
  background: #f1faf3;
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 1200px; 
  margin: 0 auto; 
}

/* Título verde */
.intl-title {
  color: #3f873f;
  font-weight: 800;
  font-size: 48px;
}

/* Texto */
.intl-desc {
  font-size: 19px;
  margin-bottom: 20px;
}

.intl-link {
  color: #3f873f;
  font-weight: bold;
  text-decoration: underline;
}

/* Videos */
.video-card {
  background: #0c2c1f;
  border-radius: 14px;
  padding: 10px 10px 5px;
  overflow: hidden;
  text-align: left;
  border-bottom: 31px solid #cbe7cb;
}

.video-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 10px;
}

.video-text {
  color: #ffffff;  
  font-size: 15px;
  font-weight: 600;
  padding: 0 12px;
  margin-bottom: 5px;
}

.video-name {
  font-size: 12px;
  padding: 0 12px;
  color: #fff;
}

/* Grid de personas */
.student-tag {
  background: #cbe7cb;
  border-radius: 30px;
  padding: 10px 15px 10px 50px;
  position: relative;
  font-size: 10px;
  color: #3f873f;
}
.student-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}
.js-video-trigger:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}


.student-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.participants-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.row-top, .row-bottom {
  display: flex;
  flex-wrap: nowrap;
  animation-duration: 22s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* fila superior: derecha → izquierda */
.row-top {
  animation-name: moveLeft;
}

/* fila inferior: izquierda → derecha */
.row-bottom {
  animation-name: moveRight;
}

@keyframes moveLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes moveRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}









.international-map-section {
  max-width: 1100px;
  margin: 0 auto;
}

.map-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.continent-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 15px;
  color: #102d13;
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.continent-tag .continent-icon {
  display: block;
  width: 16px;  /* Ajusta aquí si quieres más pequeño */
  margin: 4px auto 0; /* separa texto e icono */
}

.btn-map {
  display: inline-block;
  background: #1e5322;
  color: white;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
}

.btn-map:hover {
  background: #19441d;
  color: white;
}








.events-section {
  background: #11301A;
  border-radius: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Título */
.events-title {
  font-weight: 700;
  color: #E0F5E0;
}

/* Cards */
.event-card {
  background: #E7F4E6;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  min-height: 215px;
}

.event-title {
  color: #1A6C36;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Info list */
.event-info {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #1A3C2A;
}

.event-info li {
  margin-bottom: 6px;
  font-size: 15px;
}

/* Iconos */
.event-info i {
  margin-right: 6px;
  font-size: 15px;
}

/* Share icon bottom right */
.event-share {
  position: absolute;
  bottom: 14px;
  right: 14px;
  cursor: pointer;
}

/* Botón */
.events-btn {
  background: #32A552;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
}
.events-btn:hover {
  opacity: 0.9;
}










.boost-career-section {
  max-width: 1280px;
  margin: 0 auto;
  background: #E7F4E6;
  border-radius: 28px;
  padding: 70px 40px;
}

.boost-title {
  color: #1C6C36;
  font-weight: 700;
  font-size: 42px;
}

.boost-text {
  font-size: 17px;
  line-height: 1.55;
  color: #1E1E1E;
}

.boost-video img {
  border-radius: 22px;
  width: 100%;
}

/* LINEA */
.boost-divider {
  width: 60%;
  height: 3px;
  background: #31a555;
  margin: 0 auto;
}

/* TEXTO CENTRAL */
.boost-description {
  font-size: 20px;
  max-width: 80%;
  margin: 0 auto;
  color: #1E1E1E;
}

/* 3 columnas */
.boost-subtitle {
  font-weight: 700;
  font-size: 24px;
  color: #32A552;
  margin-bottom: 10px;
}

.boost-subinfo {
  color: #1E1E1E;
}

/* Dots */
.boost-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #1E1E1E;
  border-radius: 50%;
  margin: 0 4px;
  opacity: 0.4;
}
.boost-dots span:first-child {
  opacity: 1;
}






/* Section Salary Increase */
.salary-title {
  font-size: 42px;
  color: #1C6C36;
  font-weight: 700;
}

.salary-number {
  font-size: 50px;
  font-weight: 700;
  color: #3E9F51;
  margin-bottom: 10px;
}

.salary-subtext {
  font-size: 18px;
  color: #222;
  line-height: 20px;
}
.salary-item {
  text-align: left;
}

.fullwidth-image-section {
  padding: 0;
  margin: 0;
}

.fullwidth-image {
  width: 100%;
  height: auto;
  display: block;
}
.protect-img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}
.scholarship-section {
  width: 100%;
  padding: 0;
  padding-top: 40px;
  margin: 0;
  text-align: center; /* opcional */
}

.scholarship-image {
  width: 90%;        /* hace que no ocupe todo el ancho */
  max-width: 1200px; /* límite máximo: ajustable */
  object-fit: cover;
  display: block;
  margin: 0 auto;    /* centra la imagen */
}







.scholarships-section {
  background: #fff;
  color: #13332C;
}

.section-title {
  font-size: 2.5rem;
}

.sch-box {
  background: #E4F3E0;
  padding: 10px 20px;
  border-radius: 12px 12px 0 0;
  display: inline-flex;
}

.sch-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2F6A3D;
}

.sch-icon {
  width: 32px;
  height: 32px;
}

.sch-list {
  padding-left: 20px;
  margin-bottom: 0;
}
.inline-list {
  display: flex;
  gap: 20px;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.inline-list li {
  white-space: nowrap;
}
.inline-bullet-list {
  display: flex;
  gap: 30px;
  padding-left: 20px;   /* mantiene sangría */
  margin: 0;
}

.inline-bullet-list li {
  list-style: disc;         /* asegura el bullet */
  list-style-position: inside;
  white-space: nowrap;
}








.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: -1rem -.5rem 0 0;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: var(--medex-secondary);
    opacity: 1;
}
/* Track */
::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: var(--white);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--ipade-primary);
    border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
::-moz-selection {
    background-color: var(--ipade-primary);
    color: var(--white);
}
::selection {
    background-color: var(--ipade-primary);
    color: var(--white);
}
/* Navbar */
.navbar {
    position: relative;
    padding: 21px 0;
    width: 100%;
    z-index: 5;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.navbar-brand {
    margin: 0;
}
.navbar-brand img {
    max-width: 215px;
    width: 100%;
    height: auto;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.button-whatsapp {
    font-family: var(--font-signika);
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    font-weight: bold;
    color: var(--white);
    background-color: #25D366;
    text-decoration: none;
    padding: 0 0 0 13px;
}
.button-whatsapp i {
    font-size: 1.25rem;
    margin-right: 13px;
}
.button-whatsapp span {
    display: inline-block;
    color: var(--gray);
    padding: 13px;
    background-color: var(--gray-light);
}
.button-whatsapp:hover {
    color: var(--white);
}
.banner-principal {
  background-color: #f4ffe8;
}

.text-ipade-green {
  color: #3f873f;
}

.btn-ipade-green {
  background-color: #3f873f;
  color: #fff;
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.btn-ipade-green:hover {
  background-color: #234a33;
  color: #fff;
}
/* Línea inferior izquierda */
.bottom-accent-line {
  display: block;
  width: 580px;
  height: 10px;
  background-color: #162518;
}

.evento-section {
  position: relative;
  padding-bottom: 0rem;
}

/* === Responsividad === */
@media (max-width: 991px) {
  .bottom-accent-line {
    width: 220px;
  }
}

@media (max-width: 575px) {
  .bottom-accent-line {
    width: 180px; 
    height: 4px; 
  }
}


.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
/* === Fuente global === */
body, h1, h2, h3, p, a, strong, button {
  font-family: 'Signika', sans-serif;
}
.mede-participan-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32;
}

.stat-line {
  width: 3px;
  height: 40px;
  background-color: #43A047;
  border-radius: 2px;
  margin-top: 4px;
}

.mede-participan-section h2 {
  line-height: 1.3;
}

.mede-participan-section h3 {
  font-size: 2rem;
}

.mede-participan-section p.small {
  font-size: 0.9rem;
  color: #333;
}
.mede-asistir-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32;
}

.mede-asistir-section ul li {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.mede-asistir-section .form-box {
  background-color: #fafafa;
}

.mede-asistir-section .form-box h3 {
  font-size: 1.5rem;
}
@media (max-width: 1199px) {
  #JotFormIFrame-251874000787662 {
    min-height: 600px !important;
  }
}
@media (max-width: 991px) {
  #JotFormIFrame-251874000787662 {
    min-height: 300px !important;
  }
}
@media (max-width: 769px) {
  #JotFormIFrame-251874000787662 {
    min-height: 560px !important;
  }
}
.mede-asistir-section .jotform-placeholder {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
}
.mede-experiencias-section {
  font-family: 'Signika', sans-serif;
}

.text-fi-green {
  color: #2E7D32; 
}

.quote-icon {
  font-size: 2rem;
  vertical-align: middle;
}

.testimonial-card {
  background-color: #EAF5EA;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-text {
  flex: 1;
}

.testimonial-card img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}
.mede-agenda-section {
  font-family: 'Signika', sans-serif;
}

.agenda-box {
  background-color: #0D2818; 
  border-radius: 1.5rem;
}

.bg-fi-green {
  background-color: #3f873f; 
}

.bg-light-green {
  background-color: #d4f5d4;
  color: #000;
}

.btn-light-green {
  background-color: #3f873f;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-light-green:hover {
  background-color: #4CAF50;
  color: #fff;
}
.agenda-item {
  border-radius: 8px 8px 0px 0px;
  padding: 8px 10px 5px 10px;
}

.agenda-item p {
  color: #000;
}
.info-item {
    border-left: solid 2px #4CAF50;
    padding: 5px 10px 5px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
}
/* Footer */

.footer {
    padding: clamp(2.3125rem, 1.7791rem + 0.8611vw, 2.8125rem) 0;
}

footer ul li {
    background-color: transparent;
}

footer ul li a:hover {
    color: var(--ipade-light) !important;
}

footer .p {
    font-size: var(--p);
}

footer .p a {
    text-decoration: none;
}
footer a {
  color: #fff !important;
  text-decoration: none;
}

footer a:hover {
  color: #d4f5d4 !important; 
}

/* Íconos Font Awesome */
footer i {
  color: #fff !important;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer i:hover {
  color: #d4f5d4 !important;
}
/* Form */
.form-label {
    font-weight: bold;
    background-color: transparent;
}
.form-select,
.form-control {
    padding: .5rem .75rem;
    border: 0;
    border-radius: 0;
    box-shadow: 0px 3px 6px #00000029;
}
::placeholder {
    color: #9A9A9A;
    font-style: italic;
    opacity: 1;
}
::-ms-input-placeholder {
    font-style: italic;
    color: #9A9A9A;
}
.enlace-aviso {
    font-size: 12px;
    color: var(--gray);
}

/* Section - Header */

.banner-principal h3 {
    display: inline-block;
    font-family: var(--font-signika);
    padding: 0px 23px;
}
.banner-principal p {
    font-size: 24px;
}
.banner-principal ul {
    font-size: 20px;
    text-align: center;
    gap: 1rem;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 20px;
    max-width: 650px;
}
.banner-principal li {
    flex: 1 0 auto;
    font-family: var(--font-signika);
    list-style: none;
}



#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #4CAF50;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: 0 6px 16px rgba(42, 77, 9, 0.2);
}

#backToTop:hover {
  background: #015321;
}

.international-experience {
  padding: 80px 20px;
  text-align: center;
}

.international-experience h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e6b3a;
}

.international-experience h2 span {
  color: #1e6b3a;
}

.subtitle {
  max-width: 720px;
  margin: 15px auto 50px;
  color: #333;
}

.map-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.world-map {
  width: 100%;
  height: auto;
}

/* Pins */
.map-pin {
  position: absolute;
  width: 20px;
  height: 42px;
  background-image: url("https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/fa8b9f16-ee3f-49d4-b7e4-4b490367d485.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transform: translate(-50%, -100%);
  padding: 0;
}
.map-pin::before {
  content: attr(data-region);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0px 0px;
  border-radius: 1px;
  white-space: nowrap;
  pointer-events: none;
}
.modal-lg {
  max-width: 900px;
}

.region-title {
  color: #1e6b3a;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.country h4 {
  color: #6bbf3a;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.country ul {
  padding-left: 18px;
  margin: 0;
}

.country li {
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 768px) {
  .countries-grid {
    grid-template-columns: 1fr;
  }
}

#mapModal .modal-content {
        max-width: 1100px; 
        width: 90vw;
        }
        .countries-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;

        max-height: 70vh;       
        overflow-y: auto;    
        padding-right: 10px;
        }
        .country h4 {
        font-weight: 700;
        margin-bottom: 8px;
        }

        .country ul {
        padding-left: 18px;
        margin-bottom: 0;
        }

        .country li {
        font-size: 0.9rem;
        line-height: 1.35;
        }
        #videoModal .modal-dialog {
        max-width: 900vw;   /* ocupa bien la pantalla */
        }
        #videoModal .modal-content {
        margin: 0 auto;
        }
        @media (max-width: 767px) {
        #videoModal .modal-dialog {
            max-width: 100vw;
            margin: 0;
        }
        }


/* Flechita del label */
.map-pin::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(30, 107, 58, 0.9);
}

.map-pin::after {
  
  display: none;
}
.map-pin:hover {
  transform: translate(-50%, -100%) scale(1.1);
}


/* Pin positions (ajustables) */
.pin-north-america { top: 53%; left: 15%; }
.pin-south-america { top: 74%; left: 27%; }
.pin-europe        { top: 33%; left: 53%; }
.pin-africa        { top: 58%; left: 53%; }
.pin-asia          { top: 41%; left: 72%; }
.pin-oceania       { top: 82%; left: 89%; }



/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 15px;
  max-width: 700px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  text-align: left;
}

.modal-content h3 {
  margin-top: 0;
  color: #1e6b3a;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}


.caso-section .subtitulo {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}

.caso-section .titulo {
  color: #1f8b4c; /* Verde */
}

.caso-imagen {
  max-width: 480px;
  margin: auto;
}
.imagenes-caso {
  position: relative;
  display: flex;
  gap: 20px;
}

.img-caso {
  max-width: 440px;
  height: auto;
}

.img-1 {
  margin-top: 40px;
}

.img-2 {
  margin-top: -40px;
}

@media (max-width: 768px) {
  .imagenes-caso {
    flex-direction: column;
    align-items: center;
  }
  .img-1, .img-2 {
    margin: 0;
  }
}


@media (max-width: 768px) {
  .caso-section {
    text-align: center;
  }
  .caso-imagen {
    margin-top: 2rem;
  }
}
.custom-img {
  max-width: 240px;
}

.img-1 {
  margin-top: 30px;
}

.img-2 {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .col-lg-6.d-flex img {
    margin: 10px auto !important;
    display: block;
  }
}


/* Section - Información */
.informacion {
    padding: clamp(3.125rem, -0.2086rem + 5.3821vw, 6.25rem) 0;
}
.informacion h3.titular {
    font-family: var(--font-signika);
    font-size: clamp(1.5rem, 1.2333rem + 0.4306vw, 1.75rem);
    max-width: 460px;
    width: 100%;
}
.informacion h3:not(.titular) {
    line-height: double;
    position: relative;
    display: inline-block;
    font-family: var(--font-signika);
}
.informacion h3:not(.titular)::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
.informacion p {
    font-size: clamp(1rem, 0.8667rem + 0.2153vw, 1.125rem);
    max-width: 460px;
    width: 100%;
}
.informacion ul {
    padding: 0;
}
.informacion li {
    list-style-type: none;
}
.informacion li li {
    list-style-type: disc;
}
.informacion li li::marker {
    color: var(--medex-light);
}
.informacion li:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}
.informacion li ul {
    padding: .5rem 0 .5rem 1.5rem;
}
.informacion li li:not(:last-child) {
    border-bottom: 0;
    margin-bottom: 0;
}
.informacion li p {
    font-size: 1rem;
    margin: 0;
}
.informacion .bg-graylight {
    background-color: #FAFAFA;
    padding: 35px 1rem;
}
.informacion .bg-graylight h2 {
    font-family: var(--font-signika);
    max-width: 400px;
    width: 100%;
}
.informacion .bg-graylight form {
    display: block;
    margin: 0 auto;
    /* max-width: 350px; */
    width: 100%;
}
.informacion .img-modal img {
    max-width: 549px;
    width: 100%;
}
/* Section - Panelistas */
.panelistas {
    padding: 0 0 50px;
}
.panelistas.only {
    padding-bottom: 100px;
}
.panelistas h2 {
    font-family: var(--font-signika);
}
.panelistas .bg-white {
    padding: 1rem;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 15px;
    height: 100%;
}
.panelista-img {
    position: relative;
    display: block;
    margin-bottom: 35px;
}
.panelista-img img {
    display: block;
    position: relative;
    max-width: 270px;
    width: 100%;
    z-index: 2;
}
.panelista-img::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto 0 auto auto;
    height: 150px;
    width: 100%;
    border-radius: 20px;
    background-color: var(--medex-secondary);
}
.panelistas h6 {
    position: relative;
    display: inline-block;
    font-family: var(--font-signika);
}
.panelistas h6::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
/* Section - Videos */
.videos {
    padding: 0 0 100px;
}
.videos img {
    display: block;
    width: 100%;
}
.mejor-imba h3 {
    font-family: var(--font-signika);

}
.mejor-imba h3::before {
    display: none;
}
.mejor-imba img {
    display: block;
    max-width: 400px;
    width: 100%;
}
.informacion .mejor-imba {
    margin-top: 50px;
}
/* Section - Gracias */
.gracias {
    color: #0c0c0c;
    min-height: 71.5vmin;
    height: auto;
    padding: clamp(6.25rem, -3.7507rem + 16.1464vw, 15.625rem) 0;
}
.gracias h1 {
    font-family: var(--font-signika);
}
.gracias h3 {
    position: relative;
}
.gracias h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -10px;
    width: 150px;
    height: 2px;
    background-color: var(--medex-secondary);
}
.gracias .font-signika {
    font-family: var(--font-signika);
}
.btn-ipade-secondary {
    font-family: var(--font-signika);
    color: var(--white);
    border-color: var(--ipade-secondary);
    background-color: var(--ipade-secondary);
    border-radius: 3px;
}
.btn-ipade-secondary:hover,
.btn-ipade-secondary:focus,
.btn-ipade-secondary:active {
    color: var(--white);
    border-color: var(--ipade-primary);
    background-color: var(--ipade-primary);
}
.btn-ipade-secondary.only-border {
    font-family: var(--font-signika);
    color: var(--ipade-secondary);
    border-color: var(--ipade-secondary);
    background-color: transparent;
    border-radius: 3px;
}
.btn-ipade-secondary.only-border:hover,
.btn-ipade-secondary.only-border:focus,
.btn-ipade-secondary.only-border:active {
    color: var(--ipade-primary);
    border-color: var(--ipade-primary);
    background-color: transparent;
}

/* Responsive */
@media only screen and (min-width:1366px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 90%;
    }
}
@media only screen and (max-width:991px) {
    /* General */
    .row > .col-12 {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
    .navbar {
        padding-left: .5rem;
    }
    .navbar-brand img {
        max-width: 125px;
    }
    .navbar-toggler {
        border: 0;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }
    .button-whatsapp {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        height: 42px;
        width: 42px;
    }
    #nav .button-whatsapp,
    .button-whatsapp span {
        display: none;
    }
    .fixed-navbar .button-whatsapp {
        height: 42px;
        width: 42px;
    }
    /* Body */
    .banner-principal p {
        display: none;
    }
    .banner-caja {
        position: relative;
        padding: 1rem;
        /*background-color: rgba(35, 140, 193, 0.5);*/
        transform: translateY(40px);
    }
    .banner-principal ul {
        font-size: 18px;
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .informacion {
        padding-top: 100px;
    }
    .informacion .bg-graylight form {
        max-width: inherit;
    }


    
    
}