/* --- CONFIGURACIÓN GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    /* Dejamos espacio para las barras laterales fijas */
    padding-left: 60px; 
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- BARRAS LATERALES FIJAS --- */
.sidebar-left {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 60px;
    background-color: #003366; /* Azul oscuro de la marca */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

.sidebar-left .sidebar-box {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-left .search i {
    font-size: 24px;
}

.sidebar-left .pagos,
.sidebar-left .inscribete {
    /* Escribir texto verticalmente */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.sidebar-right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px 0 0 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
}

.sidebar-right a {
    color: #003366;
    font-size: 20px;
    margin: 12px 0;
    transition: color 0.3s;
}

.sidebar-right a:hover {
    color: #0055a4; /* Un azul más claro */
}


/* --- ENCABEZADO SUPERIOR --- */
.top-header {
    background-color: #003366; /* Azul oscuro */
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: flex-end; /* Alineado a la derecha */
}

.top-nav ul {
    display: flex;
}

.top-nav li {
    margin-left: 20px;
    font-size: 12px;
}

/* --- ENCABEZADO PRINCIPAL --- */
.main-header {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #eee;
}

.main-header .logo img {
    height: 50px; /* Ajusta según tu logo */
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
}

.main-nav li.active a {
    color: #003366;
    border-bottom: 3px solid #003366;
    padding-bottom: 3px;
}

.main-nav a:hover {
    color: #003366;
}

.user-icon a {
    font-size: 20px;
    color: #003366;
}

/* --- SECCIÓN PRINCIPAL (HERO) --- */
.hero-section {
    width: 100%;
    height: 75vh; /* 75% de la altura de la ventana */
    /* Reemplaza esta URL con la imagen de fondo que desees */
    background-image: url('https://img.freepik.com/foto-gratis/estudiantes-que-usan-tabletas-digitales-estudiar-biblioteca_23-2149221198.jpg?w=1380');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end; /* Alinea el contenido (tarjetas) abajo */
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

/* --- TARJETAS DE ACCESO --- */
.access-cards {
    display: flex;
    gap: 20px; /* Espacio entre tarjetas */
}

.card {
    background-color: rgba(255, 255, 255, 0.9); /* Blanco semi-transparente */
    border-radius: 20px;
    width: 160px;
    height: 160px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px); /* Efecto "vidrio esmerilado" */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #003366;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    margin: 0;
}

.card strong {
    font-size: 16px;
}

/* --- SECCIÓN DE BANNER --- */
.banner-section {
    width: 100%;
    padding: 0;
    background-color: #f0f0f0;
}

.banner-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- BARRA DE INFORMACIÓN --- */
.info-bar {
    width: 100%;
    background-color: #e8e8e8;
    padding: 20px 0;
}

.info-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.info-bar-content p {
    font-size: 18px;
    color: #333;
    margin: 0;
    flex: 1;
}

.btn-pulsa {
    background-color: #003366;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.3s;
    white-space: nowrap;
}

.btn-pulsa:hover {
    background-color: #004488;
    transform: translateY(-2px);
}

.btn-pulsa i {
    font-size: 16px;
}

/* --- SECCIÓN PERFIL ACADÉMICO --- */
.perfil-academico {
    width: 100%;
    padding: 80px 0;
    background-color: white;
}

.perfil-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.perfil-text {
    flex: 1;
}

.perfil-subtitle {
    color: #d4a574;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.perfil-title {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.perfil-description {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.perfil-description strong {
    color: #1a1a1a;
    font-weight: 700;
}

.btn-nuestro-equipo {
    background-color: #d4a574;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-nuestro-equipo:hover {
    background-color: #c09563;
    transform: translateY(-2px);
}

.perfil-image {
    flex: 0 0 550px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.perfil-stats-card {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
    margin-bottom: 40px;
}

.stats-icon {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.stats-icon i {
    color: #d4a574;
    font-size: 18px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.perfil-photo-wrapper {
    position: relative;
    flex: 1;
}

.perfil-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.perfil-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #1a1a1a;
    color: #d4a574;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.perfil-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 0 0 20px 20px;
}

.perfil-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.perfil-info p {
    font-size: 13px;
    margin: 0;
    color: #d4a574;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .perfil-container {
        flex-direction: column;
    }
    
    .perfil-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

/* --- SECCIÓN PORTAFOLIO DE CURSOS --- */
.portafolio-cursos {
    width: 100%;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.portafolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portafolio-title {
    color: #003366;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.portafolio-subtitle {
    color: #666;
    font-size: 18px;
}

.portafolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portafolio-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.portafolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portafolio-icon {
    width: 70px;
    height: 70px;
    background-color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.portafolio-card h3 {
    color: #003366;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portafolio-link {
    color: #003366;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.portafolio-link:hover {
    color: #0055a4;
}

.portafolio-link i {
    font-size: 12px;
}

/* Responsive para portafolio */
@media (max-width: 1024px) {
    .portafolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portafolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .portafolio-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SECCIÓN CONTACTO Y TESTIMONIOS --- */
.contacto-testimonios {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
    position: relative;
    overflow: hidden;
}

.contacto-testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contacto-image {
    flex: 0 0 400px;
}

.contacto-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contacto-content {
    flex: 1;
    color: white;
}

.contacto-cta {
    margin-bottom: 60px;
}

.contacto-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.asesoria-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background-color: white;
    color: #003366;
    border-color: white;
}

.tab-btn i {
    font-size: 18px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.precio-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.precio-etiqueta {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-weight: 600;
}

.precio-valor {
    font-size: 48px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.precio-descripcion {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.btn-contacto {
    background-color: #d4a574;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-contacto:hover {
    background-color: #c09563;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.btn-contacto i {
    font-size: 14px;
}

.testimonios h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.testimonio-slider {
    position: relative;
}

.testimonio-item {
    opacity: 0;
    display: none;
    transition: opacity 0.5s;
}

.testimonio-item.active {
    opacity: 1;
    display: block;
}

.testimonio-texto {
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.testimonio-autor {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.testimonio-dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #d4a574;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Responsive contacto */
@media (max-width: 768px) {
    .contacto-container {
        flex-direction: column;
    }
    
    .contacto-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
    }
    
    .contacto-cta h2 {
        font-size: 24px;
    }
}

/* --- SECCIÓN DE NOTICIAS --- */
.noticias-section {
    width: 100%;
    padding: 80px 0;
    background-color: white;
}

.noticias-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.noticias-header {
    text-align: center;
    margin-bottom: 60px;
}

.noticias-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
}

.noticias-header p {
    font-size: 18px;
    color: #666;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.noticia-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.noticia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.noticia-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.noticia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.noticia-card:hover .noticia-image img {
    transform: scale(1.1);
}

.noticia-categoria {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #d4a574;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-content {
    padding: 25px;
}

.noticia-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.noticia-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.noticia-meta i {
    font-size: 12px;
}

.noticia-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
    line-height: 1.4;
}

.noticia-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

.noticia-link {
    color: #003366;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, gap 0.3s;
}

.noticia-link:hover {
    color: #d4a574;
    gap: 12px;
}

.noticia-link i {
    font-size: 12px;
}

.noticias-footer {
    text-align: center;
}

.btn-ver-mas {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-ver-mas:hover {
    background-color: #004488;
    transform: translateY(-2px);
}

.btn-ver-mas i {
    margin-left: 8px;
}

/* Responsive noticias */
@media (max-width: 1024px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    
    .noticias-header h2 {
        font-size: 28px;
    }
}

/* --- FOOTER --- */
.main-footer {
    width: 100%;
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: white;
}

.footer-top {
    padding: 60px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #d4a574;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #d4a574;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #d4a574;
    padding-left: 5px;
}

.footer-links i {
    font-size: 10px;
    color: #d4a574;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact i {
    color: #d4a574;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #d4a574;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* --- PÁGINA DE DETALLE DEL CURSO --- */

/* Hero del Curso */
.curso-hero {
    width: 100%;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curso-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.75);
}

.curso-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.curso-titulo {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.btn-inscribirse {
    display: inline-block;
    background-color: #d4a574;
    color: white;
    padding: 15px 45px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-inscribirse:hover {
    background-color: #c09563;
    transform: translateY(-2px);
}

/* Contenedor general del curso */
.curso-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Descripción del Curso */
.curso-descripcion {
    padding: 60px 0 40px;
    background-color: #fff;
}

.curso-descripcion h2 {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 25px;
}

.curso-descripcion p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Características del Curso (dentro de plan) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-box {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.feature-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Plan de Estudios */
.curso-plan {
    padding: 50px 0;
    background-color: #fff;
}

.curso-plan h2 {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
    text-align: center;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.plan-module {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.module-header {
    background: #003366;
    color: white;
    padding: 18px 25px;
}

.module-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-content {
    padding: 25px;
    background-color: #f9f9f9;
}

.module-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
}

.module-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-content li {
    padding: 6px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 0;
}

/* Imagen del Curso */
.curso-imagen {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 5px;
}

/* A quién va dirigido */
.curso-dirigido {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.dirigido-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.dirigido-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Sección de Inscripción */
.curso-inscripcion {
    padding: 60px 0;
    background: #fff;
}

.inscripcion-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.inscripcion-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #003366;
}

.inscripcion-box p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
}

.inscripcion-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-accion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-inscribir {
    background-color: #d4a574;
    color: white;
}

.btn-inscribir:hover {
    background-color: #c09563;
    transform: translateY(-2px);
}

.btn-contacto {
    background-color: #003366;
    color: white;
}

.btn-contacto:hover {
    background-color: #004488;
    transform: translateY(-2px);
}

/* Responsive para página de curso */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .curso-hero {
        height: 400px;
    }
    
    .curso-titulo {
        font-size: 32px;
    }
    
    .curso-container {
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .inscripcion-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-accion {
        width: 100%;
        max-width: 300px;
    }
}