@font-face {
  font-family: 'Montserrat';
  src: url('../webfonts/Montserrat-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

/* Estilos generales */
:root {
    --primary-color: #6610f2;
    --secondary-color: #ff0099;
    --dark-color: #000000;
    --light-color: #ffffff;
    --yellow-color: #ffff00;
    --orange-color: #ff9900;
}
html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Montserrat','Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
a{
    color:#000;
    text-decoration: none;
}
a:hover{
    color:var(--secondary-color);
}

.text-primary{
    color: var(--primary-color) !important;
}
.accordion .card{
    border-left:none;
    border-right:none;
}
.accordion .card-header{
    background-color:#fff;
}
.btn-new{
    border-radius:10px !important;
}
.badge {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 15px;
    display: inline-block;
}

.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #d80080;
    border-color: #d80080;
}

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-size: 12px;
    padding: 8px 15px;
}

.btn-secondary:hover {
    background-color: #5a0cd6;
    border-color: #5a0cd6;
}

/* Navegaci¨Žn */
.navbar {
    background-color: var(--dark-color);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--light-color);
    margin: 0 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-toggler {
    border-color: var(--light-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.tab-content{
    color:black !important;
}
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6 {
  font-weight: normal !important;
}
.tab-content h2{
    font-size:1.75rem !important;
}
.tab-content h3{
    font-size:1.5rem !important;
}
.course-description h2{
    margin-top:20px !important;
    margin-bottom:20px !important;
}
.course-description h3{
    margin-top:10px !important;
    margin-bottom:10px !important;
}
.accordion-button{
    border:none;
}
/* Hero Section con Banner de Fondo */
.hero-section {
    position: relative;
    color: var(--light-color);
    padding: 120px 0;
    background-color: var(--dark-color);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section span{
    color:#9880ff;
}

.hero-banner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-banner.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #54379b;
    line-height: 1.1;
}

.hero-section h1:last-line {
    color: var(--light-color);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Nosotros Section */
.nosotros-section {
    background: linear-gradient(to right, rgb(75, 8, 179), rgb(125, 72, 207));
    color: var(--light-color);
    padding: 80px 0;
    text-align: right;
}
.nosotros-section .badge{
    background-color : #491699;
}

.highlight-trapezoid {
    display: inline-block;
    position: relative;
    color: white;
    padding: 0.2rem 1rem;
    background: #ea33aa;
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 2rem;
}

.underline-effect {
    display: inline-block;
    position: relative;
}

.underline-effect::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ea33aa;
    margin: 0.3rem 0 0 auto; /* left-align the underline */
}

/* Carrusel mejorado */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 30%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

.nosotros-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.nosotros-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Cursos Section */
.cursos-section {
    background-image: url('../img/seccion-cursos.jpg');
    color: var(--dark-color);
    padding: 80px 0;
}

.cursos-section .badge{
    background-color:#c98600;
}

.cursos-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.cursos-section .container>p {
    color:#3800a5;
}

.cursos-section h2 span {
    background-color: #4a00bf;
    color: var(--light-color);
    padding: 0 15px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Estilos mejorados para las tarjetas de cursos */
.curso-card {
    background-color: var(--dark-color);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.curso-card:hover {
    transform: translateY(-10px);
}

.curso-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.curso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.curso-card:hover .curso-image img {
    transform: scale(1.05);
}

.curso-badge {
    position: absolute;
    top: 10px;       /* en lugar de bottom */
    left: 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.curso-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--light-color);
    background-color: #4a09bd;
}

.curso-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.curso-content p {
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.9rem;
    opacity: 0.8;
}

.curso-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
}
.curso-footer a{
    background-color: #9c5af5;
}

.curso-free {
    color: #ff66b2; /* rosa */
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.curso-free i {
    color: #ff66b2;
    font-size: 8px;
}

.curso-footer .btn {
    width: 100%;
    border-radius: 8px;
}

/* TikTok Section */
.tiktok-section {
    background: linear-gradient(to right, rgb(227, 45, 147), rgb(247, 104, 182));
    color: var(--light-color);
    padding: 80px 0px 0px 0px;
}

.tiktok-section .badge{
    background-color:#b7217e;
}

.tiktok-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.tiktok-section h2 span {
    background-color: #f2b844;
    color: #fff;
    padding: 0 15px;
    display: inline-block;
}

/* Estilos mejorados para el testimonial */
/*.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
*/
.testimonial .img-testimonial {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* si deseas bordes redondeados */
}

.testimonial-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-color);
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--yellow-color);
    margin-top: 10px;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--light-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-content {
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--yellow-color);
    margin-bottom: 10px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
}

.testimonial-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.icon-heart, .icon-comment {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-tag {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background-color: var(--yellow-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Beneficios Section */
.beneficios-section {
    background-image: url('../img/fondo-beneficios.jpg');
    color: var(--light-color);
    padding: 80px 0;
}

.beneficios-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.beneficios-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ffcf36;
}

.beneficio-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-10px);
}

.beneficio-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--yellow-color);
}
.beneficio-icon img.icono-img {
    width: 65px;       
    height: 65px;
    object-fit: contain;
}

.beneficio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.breadcrumb {
    background-color: transparent !important;
}

/* Talleres Section - Con overlay en la imagen */
.talleres-section {
    background-image: url('../img/seccion-cursos.jpg');
    color: var(--dark-color);
    padding: 80px 0;
}

.talleres-section .badge {
    background-color: #c98600;
    color: var(--light-color);
}

.talleres-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--light-color);
}

.talleres-section h2 span {
    background-color:#4a00bf;
    display: inline-block;
}

.talleres-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #4a00bf;
}

.talleres-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.talleres-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.talleres-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talleres-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(102, 16, 242, 0.8) 50%, #4b1aa3);
    padding: 40px 20px 20px;
    color: var(--light-color);
}

.evento-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.evento-fecha {
    background: linear-gradient(to right, #e4dbff, #b7a3ff);
    color: var(--light-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 80px;
}

.evento-fecha .dia {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #4a00bf;
}

.evento-fecha .mes {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color:#4a00bf;
}

.evento-info h4 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--light-color);
    font-weight: 700;
}

/* Blog Section - Con fondo degradado */
.blog-section {
    background: linear-gradient(to right, rgb(227, 45, 147), rgb(247, 104, 182));
    color: var(--light-color);
    padding: 80px 0;
}
.blog-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #f2b844;
}
.blog-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    position:relative;
}

.blog-description {
    font-size: 1.1rem;
    margin-bottom: 50px;
    text-align: center;
}

.blog-card {
 
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.blog-content h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f2b844;
}

.blog-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgb(92 44 171 / 80%) 50%, #7d55bd);
    padding: 40px 20px 20px;
    color: var(--light-color);
}

.contact-page{
    background-image: url('../img/fondo-contactanos.jpg');
}

.contact-page input,
.contact-page textarea {
    background-color:#54379b!important ;
    color:#fff!important;
}

.contact-page label{
    color:#7032C3;
    font-weight:600;
}

.contact-page .form-section{
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 15px;
    color:#fff;
    background-color:#2c036d;
}

.form-section h2{
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    position:relative;
}

.form-section h2::after{
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e32d93;
    margin: auto;
}
/* Footer */
.footer-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer p{
    color:#817f7f !important;
}
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: right;
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1, 
    .nosotros-content h2, 
    .cursos-section h2, 
    .tiktok-section h2, 
    .beneficios-section h2,
    .talleres-section h2,
    .blog-section h2 {
        font-size: 2.5rem;
    }
    
    .hero-banner {
        background-position: 70% center;
    }
    
    .nosotros-content {
        margin-top: 30px;
    }
    
    .testimonial-container {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-profile {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .testimonial-quote {
        padding-left: 0;
    }
    
    .testimonial-quote i {
        position: static;
        margin-bottom: 10px;
    }
    
    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-copyright {
        text-align: left;
        margin-top: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .hero-section h1, 
    .nosotros-content h2, 
    .cursos-section h2, 
    .tiktok-section h2, 
    .beneficios-section h2,
    .talleres-section h2,
    .blog-section h2 {
        font-size: 2rem;
    }
    
    .hero-banner {
        background-position: 80% center;
        opacity: 0.7;
    }
    
    .curso-card {
        margin-bottom: 20px;
        height: 350px;
    }
    
    .beneficio-card {
        margin-bottom: 20px;
    }
    
    .carousel-slides {
        height: 300px;
    }
    
    .evento-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .talleres-image {
        height: 300px;
    }
}