:root {
    --animate-delay: 0.5s;
    --pink-dark:    #ed1a4d;
    --pink-med:     #e0476d;
    --pink-light:   #eb8da4;
    --blue-dark:    #364157;
}
::selection {
    background-color: rgba(224, 71, 109, 0.5);
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: "Open Sans", sans-serif;
}
main{
    margin-top: 100px;
    /* margin-top: 60px; */
}
section{
    padding: 40px 0px;
    scroll-margin-top: 100px;
}
.video-container {
    max-width: 992px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Títulos de secciones */
.title-section-box-container {
    position: relative;
    padding-bottom: 10px;
}
.title-section-box-container::after {
    content: "";
    position: absolute;
    border-bottom: 5px solid var(--pink-med);
    bottom: -10px;
    left: 0;
    width: 70px;
}
.centrado .title-section-box-container::after {
    left: 50%;
    transform: translate(-50%, -50%);
}
.title-section-box{
    margin-bottom: 40px;
}
.title-section-box .title-section{
    font-family: "Playfair", serif;
    font-weight: 600;
    font-size: 44px;
    color: var(--blue-dark);
    position: relative;
    line-height: 34px;
}
.title-section-box .title-section .title-resaltado{
    color: var(--pink-dark);
    font-weight: 800;
}
.title-section-box .subtitle-section{
    margin-bottom: 0px;
    font-family: "Open Sans", sans-serif;
    color: #7e7e7e;
    font-size: 18px;
}


/* Barras de navegación */
header{
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1); 
    position: relative;
    z-index: 1;
}
/* supNavbar */
.top-bar {
    background: var(--pink-dark);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}
.top-bar a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    transition: ease-in-out all 0.3s;
}
.top-bar a:hover {
    color: #1f1f1f;
}
/* mainNavbar */
.navbar-expand-lg{
    padding: 10px 0;
}
.navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.custom-toggler-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.navbar-brand img{
    max-width: 150px;
    margin-left: 15px;
}
@media(max-width:992px){
    .navbar-collapse{
        padding-bottom: 20px;
    }
    .nav-item{
        border-top: 1px solid #d6d6d6;
        width: 100%;
        padding-top: 20px;
        margin: 10px auto;
        text-align: center;
    }
    .nav-item:first-child{
        border-top: none !important;
    }
}


/* BANNER - Sección de INICIO */
#inicio{
    background-image: url(../img/banner-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 0;
    min-height: 500px;
    box-shadow: inset 4px 0px 45px rgba(0, 0, 0, 0.3);
}
.banner-img{
    max-width: 500px;
}
@media (max-width: 576px) {
    .banner-img {
        max-width: 300px;
    }
}
.banner-txt-one{
    color:var(--blue-dark);
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
}
.banner-txt-two{
    color:var(--pink-med);
    font-size: 34px;
    font-weight: 600;
    line-height: 40px;
}
.banner-txt-three{
    color:var(--blue-dark);
    font-size: 28px;
    font-weight: 600;
    line-height: 30px;
}
.btn-banner{
    background-color: var(--pink-med);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 4px 30px;
    border-radius: 50px;
    transition: all ease-in-out 0.3s;
}
.btn-banner:hover{
    background-color: var(--pink-dark);
    color: #fff;
}
.banner {
    position: relative;
}
/* .banner-image-container {
    position: absolute;
    bottom: 35px;
    right: 0;
    width: 40%;
} */
.banner .banner-txt-one, 
.banner .banner-txt-two, 
.banner .banner-txt-three, 
.banner p {
    margin-bottom: 10px;
}
.banner .btn {
    margin-top: 10px;
}
@media (min-width:576px){
    .navbar-brand img{
        max-width: 180px;
        margin-left: 0px;
    }
}
@media (max-width:576px){
    .banner-txt{
        text-align: center;
    }
    .banner-txt-one{
        font-size: 28px;
        line-height: 30px;
    }
    .banner-txt-two{
        font-size: 24px;
        line-height: 30px;
        font-weight: 700;
    }
    .banner-txt-three{
        font-size: 20px;
        line-height: 28px;
    }
    .top-bar i{
        font-size: 18px;
        margin-left: 10px;
    }
    .navbar-nav .nav-link{
        font-size: 20px;
        font-weight: 600;
    }
}
@media (min-width:576px) and (max-width:768px){
    .banner-txt-one{
        font-size: 42px;
        line-height: 50px;
    }
    .banner-txt-two{
        font-size: 28px;
        line-height: 36px;
        font-weight: 700;
    }
    .banner-txt-three{
        font-size: 28px;
        line-height: 36px;
    }
}
@media (max-width:768px){
    .banner-txt{
        text-align: center;
        padding-left: 30px;
        padding-right: 30px;
    }
    .btn-banner{
        margin-top: 30px !important;
    }
}



/* SECTION INSCRIPCIÓN */
/* FORMULARIO */
.form-box{
    background-color: var(--blue-dark);
    padding: 20px;
    color: #fff;
    border-top: 5px solid var(--pink-med);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}
.form-box .title-form{
    font-size: 20px;
    margin-bottom: 20px;
}
.formulario a{
    color: var(--pink-light);
    text-decoration: none;
}
.form-select, 
.form-control,
.form-check{
    margin-bottom: 10px;
}
.form-select,
.form-select option:disabled {
    color: #6c757d;
}
.form-select:focus {
    color: #212529;
}
.form-check-input{
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--pink-med);
    border-color: var(--pink-light);
}
.form-check-input:focus {
    box-shadow: none;
    outline: none;
}
.btn-red{
    margin-top: 10px;
    width: 100%;
    background-color: var(--pink-med);
    color: #fff;
    transition: ease-in-out all 0.3s;
}
.btn-red:hover{
    background-color: var(--pink-dark);
    color: #fff;
    transform: scale(0.98);
}
#inscripcion:hover .title-form{
    animation: headShake; 
    animation-duration: 1s;
}


/* SECTION CONTACTO */
#contacto{
margin-bottom: 40px;
}


#contacto,
#contacto-ii{
    background-color: #404040;
    color: #fff;
}

.info-contacto{
    margin-top: 60px;
}
.bloque-info-contacto,
.bloque-info-contacto-ii{
    margin-bottom: 40px;
}
.bloque-info-contacto .info-contacto-titulo,
.bloque-info-contacto-ii .info-contacto-titulo{
    font-size: 18px;
    font-weight: 600;
    color: var(--pink-med);
}
.bloque-info-contacto .info-contacto-titulo i,
.bloque-info-contacto-ii .info-contacto-titulo i{
    margin-right: 12px;
}
.bloque-info-contacto p,
.bloque-info-contacto-ii p{
    margin-bottom: 0;
}
#contacto-ii .info-contacto-ii {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
#contacto-ii .bloque-info-contacto-ii {
    text-align: center;
}
@media (min-width:768px) {
    .bloque-info-contacto-ii{
        margin-bottom: 0px;
    }
}

@media (min-width:768px) and (max-width:992px){
    .bloque-info-contacto{
        margin-bottom: 0;
    }
}
@media (max-width:992px){
    .bloque-info-contacto,
    .bloque-info-contacto-ii{
       text-align: center;
    }
    
}
@media (min-width:992px){
    .info-contacto{
        margin-top: 70px;
    }
}



/* FOOTER */
.footer-social{
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 50px 0 30px;
    background-image: url("../img/pattern.png");
    background-repeat: repeat;
    background-position: center;
}
.div-footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.footer-social img{
    max-width: 70px;
    margin-bottom: 20px;
    transition: ease-in-out all 0.3s;
}
.footer-social img:hover{
    opacity: 0.7;
    transform: scale(0.93);
}
.footer-social p{
    color: #bebebe;
    font-weight: 700;
}
.metrodora{
    background-color: var(--blue-dark);
    text-align: center;
    padding: 20px;
}
.metrodora img{
    max-width: 200px;
}


/* toTop BTN */
.toTop-link{
    position: fixed;
    bottom: 20px;
    right: 25px;
}
.toTop-link img{
    max-width: 45px;
}
@keyframes shakeY {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-6px);
    }
    50% {
        transform: translateY(6px);
    }
    75% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}
.toTop-link img:hover{
    animation: shakeY 2.5s infinite;
}




/* CUSTOM LANDING CURSOS */
/* #contacto{
    margin: 40px auto 60px;
}
.banner-1, 
.banner-2, 
.banner-3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.banner-1 .icon, 
.banner-2 .icon, 
.banner-3 .icon {
    font-size: 40px; 
    color: var(--pink-med);
    margin-right: 20px; 
    margin-top: -14px;
    max-width: 60px;
}
.banner-content {
    display: flex;
    flex-direction: column;
}
.banner-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--pink-med);
    margin-bottom: 0;
}
.banner-subtitle {
    font-size: 18px;
    color: var(--blue-dark);
    margin: 0 0;
} */

#herramientas{
    padding-bottom: 80px;
}
#herramientas .card{
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
#herramientas .card:hover {
    transform: scale(1.05);
    cursor: pointer;
}
#herramientas .card-title{
    padding: 10px 40px 0;
    color: var(--pink-dark);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
}
#herramientas .card-text{
    font-size: 16px;
    padding: 10px 40px;
}
/* @media(max-width: 768px) {
    .curso .banner-1 .icon, 
    .curso .banner-2 .icon, 
    .curso .banner-3 .icon {
        display: none;
    }
} */
@media(max-width: 992px) {
    .card-herramientas{
        margin-bottom: 40px;
    }
}
@media(min-width: 992px) and (max-width: 1200px) {
    #herramientas .card-text{
        font-size: 15px;
        padding: 10px 10px;
    }
}









/* CUSTOM LANDING WEBINAR */
.icon-pink,
.icon-blue{
    font-size: 20px;
    color: #fff;
    padding: 5px 9px;
    border-radius: 50%;
    margin-right: 16px;
}
.icon-pink {
    background-color: var(--pink-med);
}
.icon-blue {
    background-color: var(--blue-dark);
}
.subsection-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.subsection-list p {
    display: flex;
    align-items: flex-start;
    margin: 0;
}
.subsection-list i {
    color: var(--pink-med);
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
    margin-right: 10px;
    margin-top: 4px;
}
.subsection-list span {
    line-height: 1.9;
}
#inscripcion .subsection{
    margin-bottom: 40px;
}
@media(max-width:992px){
    .form-box{
        margin-top: 0px;
    }
}
#inscripcion .subsection .title{
    color: var(--pink-med);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
#ponentes{
    box-shadow: inset 0 5px 100px rgba(0, 0, 0, 0.1);
    padding-bottom: 80px;
}
.card-ponente {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 0;
    cursor: pointer;
}
.card-ponente:hover .ponente-img {
    transform: scale(1.05);
}

@media (max-width:992px){
    .ponente-texto {
        margin-bottom: 10px;
    }
    .form-box{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .ponente-texto {
        padding: 0 40px;
    }
}
@media (min-width:768px){
    .ponente-texto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 80px;
    }
    .card-ponente{
        min-height: 400px;
    }
}
@media (min-width:992px){
    .ponente-texto {
        padding: 0 40px;
    }
}


.ponente-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: ease-in-out all 0.4s;
}
.ponente-info h3 {
    font-size: 18px;
    margin: 20px 0 20px;
    color: var(--pink-med);
    font-weight: 700;
}
.ponente-info p {
    margin: 0;
}
.ponente-info hr {
    width: 80px;
    height: 4px;
    background-color: var(--pink-med);
    border: none;
    margin: 0px auto 20px;
    opacity: 1;
}



/* Columnas dinámicas Ponentes */
#ponentes .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32.5%, 1fr));
    gap: 30px 10px;
}
#ponentes .ponente-item {
    grid-column: span 1; 
}
#ponentes .row > .ponente-item:nth-child(1):only-child {
    grid-template-columns: 1fr;
}
#ponentes .row > .ponente-item:nth-child(2):nth-last-child(2) {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
    #ponentes .row {
        grid-template-columns: 1fr;
    }
}



#bloque-info-html h1,
#bloque-info-html h2,
#bloque-info-html h3,
#bloque-info-html h4,
#bloque-info-html h5,
#bloque-info-html h6{
    color: var(--pink-med);
}
#bloque-info-html h1::after,
#bloque-info-html h2::after,
#bloque-info-html h3::after,
#bloque-info-html h4::after,
#bloque-info-html h5::after,
#bloque-info-html h6::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--pink-med); 
    margin-top: 6px;
    border-radius: 2px;
}



#bloque-info-html ul {
    list-style: none;
    padding-left: 0;
}
#bloque-info-html ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
}
#bloque-info-html ul li::before {
    content: "\f26e";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pink-med);
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
}


#bloque-info-html ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
}
#bloque-info-html ol li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 10px;
    counter-increment: custom-counter;
}
#bloque-info-html ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: var(--pink-med);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
}

#bloque-info-html a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

#bloque-info-html a:hover,
#bloque-info-html a:focus {
    color: #1d4ed8; 
    text-decoration: none;
}


#cta-back .btn-banner{
    margin-top: 0px !important;
}

.video-container{
    margin-top: 20px;
}


/* Estilos personalizados para el mensaje bonito */
.confirmation-message {
  padding: 40px; /* Más padding para un aspecto más amplio */
  border-radius: 12px; /* Esquinas más redondeadas */
  box-shadow: 0 8px 16px rgba(0,0,0,.15); /* Sombra más pronunciada */
  background-color: #e6ffed; /* Un verde claro de fondo */
  border: 1px solid #c3e6cb; /* Borde sutil */
}
.confirmation-message .bi { /* Estilos para el icono de Bootstrap Icons */
  font-size: 6rem; /* Icono más grande */
  color: #28a745; /* Verde Bootstrap 'success' */
  margin-bottom: 25px; /* Espacio debajo del icono */
}
.confirmation-message h2 {
  color: #1a5e20; /* Verde más oscuro para el título */
  margin-bottom: 15px;
}
.confirmation-message p {
  color: #4a4a4a; /* Gris oscuro para el texto */
  font-size: 1.15rem; /* Texto un poco más grande */
}
.confirmation-message hr {
  border-top: 2px solid #b2dfb2; /* Línea divisoria más visible */
  margin-top: 25px;
  margin-bottom: 20px;
}
.confirmation-message small {
  color: #6c757d; /* Gris para texto pequeño */
}
