* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Barra superior negra */
.top-banner {
    background: #000000;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
}

.top-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-text {
    font-weight: 500;
}

/* Segunda barra - Preguntas frecuentes y Ayuda */
.secondary-banner {
    background: #f8f9fa;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.secondary-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
}

.secondary-links {
    display: flex;
    gap: 20px;
}

.secondary-links a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
}

.secondary-links a:hover {
    color: #333;
}

/* Barra de navegación principal */
.main-nav {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: block;
}

.logo img {
    height: 20px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #2A1770 ;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #55B7F7
    ;
}

.login-btn {
    background: #2A1770;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #333;
}

/* Sección Hero */
.hero-section {
    height: 80vh;
	background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./img/celeo1.png');
	background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Ocultar CONTACTO en mobile */
@media (max-width: 768px) {
	.nav-menu .nav-contact {
		display: none;
	}
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25D366;
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.whatsapp-float svg {
	width: 28px;
	height: 28px;
	fill: #fff;
}

@media (max-width: 768px) {
	.whatsapp-float {
		width: 52px;
		height: 52px;
		right: 16px;
		bottom: 16px;
	}
	.whatsapp-float svg {
		width: 24px;
		height: 24px;
	}
}
.hero-content {
    max-width: 1200px;
    margin:0 5rem;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-btn {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background: white;
    color: #333;
}

/* Indicadores de slider */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* Responsive */
@media (max-width: 768px) {
    .secondary-banner-content {
        justify-content: center;
    }

    .secondary-links {
        gap: 15px;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section {
        height: 60vh;
    }
}

/* Segunda sección - Info */
.info-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.info-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.info-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.info-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive para la sección info */
@media (max-width: 768px) {
    .info-section {
        padding: 60px 0;
    }
    
    .info-title {
        font-size: 28px;
    }
    
    .info-subtitle {
        font-size: 14px;
    }
}

/* Tercera sección - Acerca de AMAIP */
.about-section {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('./img/celeo7.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.about-text {
    flex: 1;
    color: white;
}

.about-title {
    font-size: 48px;
    font-weight: bold;
    color: #55B7F7;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-subtitle {
    font-size: 16px;
    color: white;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.about-video {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.play-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.play-btn svg {
    margin-left: 4px;
}

/* Responsive para la sección about */
@media (max-width: 768px) {
    .about-section {
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .about-subtitle {
        font-size: 14px;
    }
    
    .about-video {
        justify-content: center;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
}

/* Cuarta sección - Elige tu experiencia */
.experience-section {
    background: #ffffff;
    padding: 30px 0;
    margin-top: 5rem;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.experience-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.experience-text {
    flex: 1;
    max-width: 600px;
}

.experience-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
}

.experience-subtitle {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.experience-action {
    flex-shrink: 0;
}

.experience-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    white-space: nowrap;
}

.experience-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive para la sección experience */
@media (max-width: 768px) {
    .experience-section {
        padding: 60px 0;
    }
    
    .experience-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .experience-title {
        font-size: 28px;
    }
    
    .experience-subtitle {
        font-size: 14px;
    }
}

/* Quinta sección - Cards de servicios */
.services-section {
    padding: 80px 0;
    background: white;
    padding-top: 10px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.92));
    z-index: 1;
}

.corporativo-card {
    background-image: url('./img/celeo2.png');
}

.capacitate-card {
    background-image: url('./img/celeo6.png');
}

.services-section .masterclass-card {
    background-image: url('./img/celeo5.png');
}

/* Asegurar que todas las service cards tengan el contenido abajo */
.services-section .service-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
}

/* Específico para la card de MasterClass en services - debe sobrescribir el .masterclass-card global */
.services-section .service-card.masterclass-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    background-image: url('./img/celeo5.png') !important;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
    width: 100%;
}

.card-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-description {
    font-size: 16px;
    color: white;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.card-btn {
    background: transparent;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s;
}

.card-btn:hover {
    background: white;
    color: #000;
}

/* Responsive para la sección services */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .card-description {
        font-size: 14px;
    }
}

/* Sexta sección - Cómo cambiará AMAIP tu vida */
.life-change-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.life-change-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.life-change-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.life-change-left {
    flex: 1;
    max-width: 500px;
}

.life-change-title {
    font-size: 40px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin-bottom: 30px;
}

.life-change-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.life-change-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.life-change-right {
    flex: 1;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    font-style: italic !important;
    font-weight: 700;
}

.benefit-item::before {
    content: '•';
    color: #000 !important;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.6;
}

/* Responsive para la sección life-change */
@media (max-width: 768px) {
    .life-change-section {
        padding: 60px 0;
    }
    
    .life-change-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .life-change-title {
        font-size: 28px;
    }
    
    .benefit-item {
        font-size: 14px;
        text-align: left;
        font-style: italic !important;
        font-weight: 500;
    }
}

/* Séptima sección - Certificado Oficial */
.certificate-section {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./img/celeo8.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.certificate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.certificate-content {
    max-width: 600px;
    color: white;
}

.certificate-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.certificate-subtitle {
    font-size: 16px;
    color: white;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* Responsive para la sección certificate */
@media (max-width: 768px) {
    .certificate-section {
        height: 300px;
    }
    
    .certificate-title {
        font-size: 36px;
    }
    
    .certificate-subtitle {
        font-size: 14px;
    }
}

/* Octava sección - Plataforma sólida */
.platform-section {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.platform-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.platform-content {
    max-width: 800px;
    margin: 0 auto;
}

.platform-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.platform-subtitle {
    font-size: 16px;
    color: #0c0c0c;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.platform-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.platform-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive para la sección platform */
@media (max-width: 768px) {
    .platform-section {
        padding: 60px 0;
    }
    
    .platform-title {
        font-size: 28px;
    }
    
    .platform-subtitle {
        font-size: 14px;
    }
}

/* Novena sección - Video */
.video-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./img/img-video.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive para la sección video */
@media (max-width: 768px) {
    .video-section {
        height: 300px;
    }
    
    .video-play-btn svg {
        width: 50px;
        height: 50px;
    }
}

/* Footer */
.main-footer {
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header del footer */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 30px;
}

.footer-logo img {
    height: 9rem;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgb(0, 0, 0);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #000000;
    transform: translateY(-2px);
}

.footer-cta-btn {
    background: white;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Contenido principal del footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    flex: 1;
    max-width: 800px;
}

.footer-main-cta {
    flex-shrink: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgb(0, 0, 0);
}

/* Copyright */
.footer-bottom {
    padding-top: 30px;
    text-align: right;
}

.footer-copyright {
    color: #000000;
    font-size: 13px;
    margin: 0;
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .footer-actions {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-main-cta {
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* MasterClass Hero Section */
.masterclass-hero-section {
    height: 50vh;
    background: url('./img/img-masterclass.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.masterclass-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.masterclass-hero-text {
    color: white;
    max-width: 450px;
    margin-left: 0;
}

.masterclass-hero-title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.masterclass-hero-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    line-height: 1.4;
    max-width: 300px;
}

/* Responsive para MasterClass Hero */
@media (max-width: 768px) {
    .masterclass-hero-section {
        height: 40vh;
    }
    
    .masterclass-hero-title {
        font-size: 22px;
        white-space: normal;
    }
    
    .masterclass-hero-subtitle {
        font-size: 10px;
        max-width: 250px;
    }
    
    .masterclass-hero-text {
        max-width: 100%;
    }
}

/* MasterClass Description Section */
.masterclass-description-section {
    background: white;
    padding: 80px 0;
}

.masterclass-description-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.masterclass-description-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.masterclass-description-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #000;
}

.masterclass-description-text {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    font-weight: 400;
}

/* Responsive para MasterClass Description */
@media (max-width: 768px) {
    .masterclass-description-section {
        padding: 60px 0;
    }
    
    .masterclass-description-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .masterclass-description-text {
        font-size: 16px;
    }
    
    .masterclass-description-content {
        max-width: 100%;
    }
}

/* MasterClass Video Section */
.masterclass-video-section {
    background: #ffffff;
    padding: 80px 0;
}

.masterclass-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.masterclass-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.masterclass-video-preview {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('./img/senior.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.masterclass-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.masterclass-play-btn:hover {
    transform: scale(1.1);
}

.masterclass-play-btn svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.masterclass-video-player {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

/* Responsive para MasterClass Video */
@media (max-width: 768px) {
    .masterclass-video-section {
        padding: 60px 0;
    }
    
    .masterclass-video-wrapper {
        border-radius: 15px;
    }
    
    .masterclass-video-preview {
        height: 300px;
    }
    
    .masterclass-video-player {
        height: 300px;
        border-radius: 12px;
    }
    
    .masterclass-play-btn svg {
        width: 60px;
        height: 60px;
    }
}

/* MasterClass Description Alternative Section (Left Aligned) */
.masterclass-description-alt-section {
    background: white;
    padding: 80px 0;
}

.masterclass-description-alt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.masterclass-description-alt-content {
    text-align: left;
    max-width: 700px;
}

.masterclass-description-alt-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #000;
}

.masterclass-description-alt-text {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    font-weight: 400;
}

/* Responsive para MasterClass Description Alternative */
@media (max-width: 768px) {
    .masterclass-description-alt-section {
        padding: 60px 0;
    }
    
    .masterclass-description-alt-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .masterclass-description-alt-text {
        font-size: 16px;
    }
    
    .masterclass-description-alt-content {
        max-width: 100%;
    }
}

/* Courses Carousel Section */
.courses-carousel-section {
    background: white;
    padding: 60px 0;
}

.courses-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header con buscador y filtros */
.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.courses-search-filters {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px 12px 40px;
    font-size: 14px;
    color: #666;
    width: 250px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #007bff;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #666;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    position: relative;
}

.filter-btn:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.filter-badge {
    background: #007bff;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navegación del carousel */
.carousel-navigation {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.nav-arrow:hover:not(:disabled) {
    border-color: #007bff;
    color: #007bff;
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Carousel wrapper */
.courses-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.courses-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* Course Cards */
.course-card {
    min-width: 300px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
    z-index: 1;
}

.course-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.course-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 8px;
}

.course-details {
    margin-bottom: 12px;
}

.course-hours {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.course-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-price {
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-text {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-align: center;
}

.watch-trailer-btn {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    width: 100%;
}

.watch-trailer-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}



/* Responsive */
@media (max-width: 768px) {
    .courses-carousel-section {
        padding: 40px 0;
    }
    
    .courses-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .courses-search-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .carousel-navigation {
        justify-content: center;
    }
    
    .course-card {
        min-width: 280px;
        height: 350px;
    }
    
    .course-title {
        font-size: 18px;
    }
    
    .price-text {
        font-size: 11px;
    }
    
    .watch-trailer-btn {
        padding: 10px 14px;
        font-size: 11px;
    }
}

/* What You Get Section */
.what-you-get-section {
    background: #ffffff;
    padding: 10px 0;
}

.what-you-get-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.what-you-get-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.what-you-get-left {
    flex: 1;
    max-width: 500px;
}

.what-you-get-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #000;
}

.what-you-get-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
}

.what-you-get-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.benefits-list-alt {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 62px;
}

.benefit-item-alt {
    font-size: 12px;
    color: #333;
    margin-bottom: 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.2;
}

.benefit-item-alt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
}

/* Responsive para What You Get */
@media (max-width: 768px) {
    .what-you-get-section {
        padding: 60px 0;
    }
    
    .what-you-get-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .what-you-get-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .what-you-get-subtitle {
        font-size: 13px;
    }
    
    .benefits-list-alt {
        height: 54px;
    }
    
    .benefit-item-alt {
        font-size: 11px;
        margin-bottom: 0;
        padding-left: 14px;
    }
    
    .benefit-item-alt::before {
        width: 3px;
        height: 3px;
        top: 3px;
    }
}

/* Sección MasterClass Training Cards */
.masterclass-training-section {
    background: #fff;
    padding: 80px 0;
    padding-bottom: 0;
}

.masterclass-training-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.masterclass-training-grid {
    display: flex;
    gap: 20px;
    height: 320px;
}

.masterclass-card {
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card Izquierda - 35% con imagen de fondo */
.masterclass-card.left-image-card {
    flex: 0 0 35%;
    background: url('./img/img-capacitaciones.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 0;
}

/* Card Derecha - 65% con fondo gris */
.masterclass-card.right-content-card {
    flex: 0 0 65%;
    background: #f8f9fa;
    color: #000;
    justify-content: flex-start;
    padding: 40px;
}

.masterclass-card-content {
    z-index: 2;
    position: relative;
    padding: 0;
}

.masterclass-card.left-image-card .masterclass-card-content {
    padding: 40px 0 0 40px;
}

.masterclass-card.right-content-card .masterclass-card-content {
    padding: 0;
}

.masterclass-title-white {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0;
    line-height: 1.3;
    max-width: 280px;
}

.masterclass-title-black {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.3;
    max-width: 450px;
}

.masterclass-description {
    font-size: 16px;
    color: #000000;
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
}

/* Responsive para MasterClass Training Cards */
@media (max-width: 968px) {
    .masterclass-training-grid {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .masterclass-card.left-image-card,
    .masterclass-card.right-content-card {
        flex: none;
        height: 250px;
    }
    
    .masterclass-card.right-content-card {
        padding: 30px;
    }
    
    .masterclass-card-content {
        padding: 0;
    }
    
    .masterclass-card.left-image-card .masterclass-card-content {
        padding: 30px 0 0 30px;
    }
    
    .masterclass-card.right-content-card .masterclass-card-content {
        padding: 0;
    }
    
    .masterclass-title-white {
        font-size: 18px;
    }
    
    .masterclass-title-black {
        font-size: 24px;
    }
    
    .masterclass-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .masterclass-training-section {
        padding: 60px 0;
    }
    
    .masterclass-card.left-image-card,
    .masterclass-card.right-content-card {
        height: 200px;
    }
    
    .masterclass-card.right-content-card {
        padding: 25px;
    }
    
    .masterclass-card-content {
        padding: 0;
    }
    
    .masterclass-card.left-image-card .masterclass-card-content {
        padding: 25px 0 0 25px;
    }
    
    .masterclass-card.right-content-card .masterclass-card-content {
        padding: 0;
    }
    
    .masterclass-title-white {
        font-size: 16px;
    }
    
    .masterclass-title-black {
        font-size: 20px;
    }
    
    .masterclass-description {
        font-size: 13px;
    }
}

/* Sección MasterClass Cards Invertidas */
.masterclass-inverted-section {
    background: #fff;
    padding: 80px 0;
    padding-top: 20px;
}

.masterclass-inverted-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.masterclass-inverted-grid {
    display: flex;
    gap: 20px;
    height: 320px;
}

.masterclass-inverted-card {
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card Izquierda - 65% con textos */
.masterclass-inverted-card.left-content-card {
    flex: 0 0 65%;
    background: #f8f9fa;
    color: #000;
    justify-content: flex-start;
    padding: 40px;
}

/* Card Derecha - 35% con imagen de fondo */
.masterclass-inverted-card.right-image-card {
    flex: 0 0 35%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%), 
                url('./img/diploma.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 0;
    justify-content: flex-end;
}

.masterclass-inverted-card-content {
    z-index: 2;
    position: relative;
    padding: 0;
}

.masterclass-inverted-card.left-content-card .masterclass-inverted-card-content {
    padding: 0;
}

.masterclass-inverted-card.right-image-card .masterclass-inverted-card-content {
    padding: 0 40px 40px 40px;
}

.masterclass-inverted-title-black {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.3;
    max-width: 400px;
}

.masterclass-inverted-title-white {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0;
    line-height: 1.3;
    max-width: 280px;
}

.masterclass-inverted-description {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
}

/* Responsive para MasterClass Cards Invertidas */
@media (max-width: 968px) {
    .masterclass-inverted-grid {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .masterclass-inverted-card.left-content-card,
    .masterclass-inverted-card.right-image-card {
        flex: none;
        height: 250px;
    }
    
    .masterclass-inverted-card.left-content-card {
        padding: 30px;
    }
    
    .masterclass-inverted-card-content {
        padding: 0;
    }
    
    .masterclass-inverted-card.left-content-card .masterclass-inverted-card-content {
        padding: 0;
    }
    
    .masterclass-inverted-card.right-image-card .masterclass-inverted-card-content {
        padding: 0 30px 30px 30px;
    }
    
    .masterclass-inverted-title-black {
        font-size: 24px;
    }
    
    .masterclass-inverted-title-white {
        font-size: 18px;
    }
    
    .masterclass-inverted-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .masterclass-inverted-section {
        padding: 60px 0;
    }
    
    .masterclass-inverted-card.left-content-card,
    .masterclass-inverted-card.right-image-card {
        height: 200px;
    }
    
    .masterclass-inverted-card.left-content-card {
        padding: 25px;
    }
    
    .masterclass-inverted-card-content {
        padding: 0;
    }
    
    .masterclass-inverted-card.left-content-card .masterclass-inverted-card-content {
        padding: 0;
    }
    
    .masterclass-inverted-card.right-image-card .masterclass-inverted-card-content {
        padding: 0 25px 25px 25px;
    }
    
    .masterclass-inverted-title-black {
        font-size: 20px;
    }
    
    .masterclass-inverted-title-white {
        font-size: 16px;
    }
    
    .masterclass-inverted-description {
        font-size: 13px;
    }
}

/* Sección Cards Estáticas */
.static-courses-section {
    background: #fff;
    padding: 60px 0;
}

.static-courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.static-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.static-course-card {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.static-course-card:hover {
    transform: translateY(-5px);
}

.static-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8));
    z-index: 1;
}

.static-course-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.static-course-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 8px;
}

.static-course-details {
    margin-bottom: 12px;
}

.static-course-hours {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.static-course-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.static-course-price {
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-price-text {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-align: center;
}

.static-watch-trailer-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    width: 100%;
}

.static-watch-trailer-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}



/* Responsive para Static Cards */
@media (max-width: 1024px) {
    .static-courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .static-courses-section {
        padding: 40px 0;
    }
    
    .static-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .static-course-card {
        height: 350px;
    }
    
    .static-course-title {
        font-size: 18px;
    }
    
    .static-price-text {
        font-size: 11px;
    }
    
    .static-watch-trailer-btn {
        padding: 10px 14px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .static-courses-grid {
        grid-template-columns: 1fr;
    }
    
    .static-course-card {
        height: 320px;
    }
}

/* Sección FAQ Acordeón */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #666;
}

.faq-question span {
    flex: 1;
    margin-right: 20px;
}

.faq-icon {
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px 0;
    }
    
    .faq-question span {
        margin-right: 15px;
    }
    
    .faq-answer p {
        font-size: 13px;
        padding-bottom: 16px;
    }
}

/* Sección Sé parte de AMAIP */
.join-amaip-section {
    padding: 80px 0;
    background: #fff;
}

.join-amaip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.join-amaip-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.join-amaip-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.join-amaip-subtitle {
    font-size: 18px;
    line-height: 1.4;
    color: #000000;
    margin: 0;
}

/* Responsive para Join AMAIP */
@media (max-width: 768px) {
    .join-amaip-section {
        padding: 60px 0;
    }
    
    .join-amaip-title {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .join-amaip-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .join-amaip-section {
        padding: 50px 0;
    }
    
    .join-amaip-title {
        font-size: 28px;
        margin-bottom: 14px;
    }
    
    .join-amaip-subtitle {
        font-size: 14px;
    }
}

/* Sección Planes de Suscripción */
.subscription-plans-section {
    padding: 80px 0;
    background: #ffffff;
}

.subscription-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cards superiores con imágenes */
.plans-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.plan-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.gold-plan {
    background-image: url('./img/suscripcion-left.png');
}

.free-plan {
    background-image: url('./img/suscripcion-right.png');
}

.plan-label {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Contenido inferior separado */
.plans-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-details {
    background:#ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.plan-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    display: block;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex: 1;
}

.plan-benefits li {
    font-size: 14px;
    color: #000000;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.plan-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.plan-btn {
    background: transparent;
    border: 2px solid #5855ff;
    color: #5855ff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.plan-btn:hover {
    background: #5855ff;
    color: white;
    transform: translateY(-2px);
}

.gold-btn {
    border-color: #5855ff;
    color: #5855ff;
}

.free-btn {
    border-color: #5855ff;
    color: #5855ff;
}

/* Responsive Planes */
@media (max-width: 768px) {
    .subscription-plans-section {
        padding: 60px 0;
    }
    
    .plans-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin-bottom: 40px;
    }
    
    .plans-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 30px;
        height: 150px;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .plan-benefits li {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .subscription-plans-section {
        padding: 50px 0;
    }
    
    .plans-cards-grid {
        margin-bottom: 30px;
    }
    
    .plan-card {
        padding: 25px;
        height: 120px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .plan-benefits li {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .plan-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Sección Contacto */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

/* Formulario */
.contact-form-wrapper {
    max-width: 400px;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5855ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.character-count {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

.contact-submit-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

/* Imagen derecha */
.contact-image-wrapper {
    height: 100%;
    min-height: 500px;
}

.contact-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-image: url('./img/img-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive Contacto */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
    
    .contact-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-image-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .contact-submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .contact-image-wrapper {
        min-height: 250px;
    }
}

/* Course Detail Hero Section */
.course-detail-hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./img/suscription-main.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.course-detail-container {
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.course-play-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.course-content {
    position: absolute;
    bottom: 60px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.course-info {
    flex: 1;
    max-width: 600px;
    color: white;
}

.course-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.course-description {
    font-size: 14px;
    color: white;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 500px;
}

.course-price-card {
    background: rgba(255, 255, 255, 0);
    border-radius: 8px;
    padding: 20px;
    min-width: 280px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    /* backdrop-filter: blur(10px); */
    border: 1px solid #ffffff;
}

.sale-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fire-icon {
    font-size: 14px;
}

.price-info {
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: right;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-align: left;
    line-height: 1;
}

.final-price {
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    text-align: right;
}

.buy-btn {
    width: 100%;
    background: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Responsive para Course Detail */
@media (max-width: 768px) {
    .course-detail-hero {
        height: 100vh;
    }
    
    .course-content {
        flex-direction: column;
        gap: 20px;
        bottom: 40px;
        align-items: stretch;
    }
    
    .course-title {
        font-size: 32px;
    }
    
    .course-description {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .course-price-card {
        min-width: auto;
        width: 100%;
    }
    
    .course-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .course-play-btn svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .course-detail-container {
        padding: 0 15px;
    }
    
    .course-content {
        bottom: 20px;
        left: 15px;
        right: 15px;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-description {
        font-size: 11px;
    }
    
    .price-amount {
        font-size: 28px;
    }
}

/* Course Detail Info Section */
.course-detail-info {
    background: #ffffff;
    padding: 60px 0;
}

.course-detail-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
}

/* Sidebar izquierdo */
.course-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.course-navigation {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ddd;
}

.course-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-nav-list li {
    border-bottom: none;
}

.course-nav-list li:last-child {
    border-bottom: none;
}

.nav-link {
    display: block;
    padding: 8px 0 16px 2rem;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link.active {
    color: #000000;
    font-weight: 600;
}

/* Tarjeta de precio del sidebar */
.sidebar-price-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

.discount-label {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px 0;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-price {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1;
}

.sidebar-final-price {
    font-size: 12px;
    color: #666;
    margin: 0 0 16px 0;
}

.payment-methods-link {
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.payment-methods-link:hover {
    text-decoration: underline;
}

.sidebar-buy-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-buy-btn:hover {
    background: #0056b3;
}

/* Contenido principal */
.course-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Wrapper para secciones de contenido */
.content-section-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    background: #ffffff;
}

/* Acerca de esta Capacitación */
.course-about-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.course-about-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.course-details-info {
    display: flex;
    gap: 60px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-value {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

/* Instructor */
.course-instructor {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.instructor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
}

.instructor-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}



.classes-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.classes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.class-item {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.class-number {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.class-title {
    font-size: 14px;
    color: #333;
    margin-left: 8px;
}

/* Responsive para Course Detail Info */
@media (max-width: 968px) {
    .course-detail-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .course-sidebar {
        order: 2;
    }
    
    .course-main-content {
        order: 1;
    }
    
    .course-details-info {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .course-detail-info {
        padding: 40px 0;
    }
    
    .course-detail-info-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .course-details-info {
        gap: 30px;
    }
    
    .instructor-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .instructor-avatar {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .course-details-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar-price {
        font-size: 28px;
    }
    
    .course-about-title {
        font-size: 20px;
    }
}

/* Payment Section */
.payment-section {
    margin: 0;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.payment-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.sale-badge-small {
    background: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fire-icon-small {
    font-size: 12px;
}

.payment-details {
    margin-bottom: 24px;
}

.payment-discount {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
}

.discount-text {
    color: #28a745;
    font-weight: 600;
}

.payment-price {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px 0;
    line-height: 1;
}

.payment-final-price {
    font-size: 14px;
    color: #999;
    margin: 0 0 20px 0;
}

.payment-methods {
    margin-top: 20px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    min-width: 60px;
    height: 40px;
}

.payment-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive para Payment Section */
@media (max-width: 768px) {
    .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .payment-icons {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .payment-price {
        font-size: 28px;
    }
}

/* Reviews Section */
.reviews-section {
    margin: 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.reviews-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.reviews-navigation {
    display: flex;
    gap: 8px;
}

.review-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.review-nav-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.review-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reviews-carousel-container {
    overflow: hidden;
    width: 100%;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    width: 100%;
}

.review-card {
    flex: 0 0 calc(50% - 10px);
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.review-video-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.review-video-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.review-play-btn:hover {
    background: white;
    transform: scale(1.05);
}

.review-content {
    padding: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.review-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.review-text {
    font-size: 12px;
    color: #000000;
    line-height: 1.4;
    margin: 0;
}

/* Responsive para Reviews */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .review-card {
        flex: 0 0 100%;
    }
    
    .review-video-container {
        height: 150px;
    }
    
    .review-play-btn {
        width: 50px;
        height: 50px;
    }
    
    .review-play-btn svg {
        width: 30px;
        height: 30px;
    }
}

/* Schedule Section */
.schedule-section {
    margin: 0;
}

.schedule-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 24px 0;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
}

/* Calendar Styles */
.calendar-container {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.calendar-nav-btn:hover {
    color: #007bff;
}

.calendar-month-year {
    text-align: center;
}

.calendar-month {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 4px 0;
}

.calendar-year {
    font-size: 14px;
    color: #666;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}

.weekday {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    position: relative;
    padding: 12px 4px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background-color: #f8f9fa;
}

.calendar-day.current-day {
    background-color: #007bff;
    color: white;
}

.calendar-day.prev-month,
.calendar-day.next-month {
    color: #ccc;
}

.calendar-day.has-events {
    color: #007bff;
    font-weight: 600;
}

.event-dots {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.event-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #007bff;
}

/* Events List */
.events-list {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.event-time-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-time-indicator.green {
    background-color: #28a745;
}

.event-time-indicator.blue {
    background-color: #007bff;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin: 0 0 4px 0;
}

.event-type {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive para Schedule */
@media (max-width: 768px) {
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .calendar-container {
        padding: 16px;
    }
    
    .calendar-days {
        gap: 2px;
    }
    
    .calendar-day {
        padding: 8px 2px;
        min-height: 36px;
        font-size: 12px;
    }
    
    .events-list {
        padding: 16px;
    }
    
    .event-item {
        gap: 12px;
    }
}

/* Certificate Section */
.certificate-section {
    margin: 0;
}

.certificate-title {
    font-size: 50px;
    font-weight: 600;
    color: #55B7F7;
    margin: 0 0 24px 0;
   
    padding-bottom: 16px;
}

.certificate-image-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.certificate-image-bg {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 32px;
}

.certificate-text-overlay {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 40px;
}

.certificate-left-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
    flex: 0 0 auto;
    max-width: 250px;
}

.certificate-right-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    max-width: 400px;
}

/* Responsive para Certificate */
@media (max-width: 768px) {
    .certificate-image-bg {
        height: 250px;
        padding: 24px;
    }
    
    .certificate-text-overlay {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .certificate-left-title {
        font-size: 24px;
        max-width: 100%;
    }
    
    .certificate-right-text {
        max-width: 100%;
    }
}

/* Related Courses Section */
.related-courses {
    padding: 80px 0;
    background: #f8f9fa;
}

.related-courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.related-courses-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.related-courses-link {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-courses-link:hover {
    color: #007bff;
}

.related-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-course-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-course-image {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.related-course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.related-course-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.related-course-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.related-course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.related-course-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.related-course-btn svg {
    width: 14px;
    height: 14px;
}

/* Responsive para Related Courses */
@media (max-width: 1024px) {
    .related-courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-courses {
        padding: 60px 0;
    }
    
    .related-courses-container {
        padding: 0 16px;
    }
    
    .related-courses-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .related-courses-title {
        font-size: 20px;
    }
    
    .related-courses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .related-course-image {
        height: 360px;
    }
    
    .related-course-overlay {
        padding: 16px;
    }
    
    .related-course-title {
        font-size: 16px;
    }
}

/* Navegación smooth scroll */
html {
    scroll-behavior: smooth;
}

.content-section-wrapper {
    scroll-margin-top: 20px;
}

.nav-link.active {
    background-color: #f8f9fa;
    color: #007bff !important;
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Asegurar que el sidebar sea visible */
.course-detail-info-container {
    position: relative;
}

/* Responsive para sidebar sticky */
@media (max-width: 768px) {
    .course-sidebar {
        position: relative;
        top: auto;
    }
}