

:root {
    --primary-color: #614edb;
    --secondary-color: #6c757d; 
    --text-dark: #212529;
    --bg-light: #f8f9fa; 
    --card-bg: #ffffff;
    --success-color: #28a745;
}


header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

nav {
    height: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    font-size: 15pt;
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.btn_inscrip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15pt;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn_inscrip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}




body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;    
    width: 100%;
    overflow-x: hidden;
}

.container {
    margin-top: 10%;
    justify-self: center;
    max-width: 1200px;
    padding: 20px;
}

/* Encabezado Principal */
.course-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.course-header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 5px;
}

.modalidad_curso {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* Objetivos y Sección Informativa */
.info-box {
    background-color: #e9f5ff; /* Tono más claro del azul */
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 6px;
}

.info-box h2 {
    color: var(--text-dark);
    margin-top: 0;
    font-size: 1.5em;
}

/* Estructura de Módulos (Grid) */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Estilo de la Tarjeta (Card) de Módulo */
.module-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-color); /* Toque de color similar a los cursos */
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.module-card h3 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-top: 0;
    display: flex;
    align-items: center;
}

.module-card h3 span {
    font-size: 1.8em;
    margin-right: 10px;
    color: var(--primary-color);
}

.module-card p.summary {
    font-size: 0.9em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    flex-grow: 1; /* Permite que el contenido se extienda */
}

.card-content h4 {
    color: var(--primary-color);
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ced4da;
    padding-bottom: 5px;
}

.card-content ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.95em;
}

.card-content ul li {
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
}

.card-content ul li::before {
    content: '✓'; /* Icono de check */
    color: var(--success-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 5px;
}

/* Proyecto Integrador (Estilo destacado) */
.project-card {
    grid-column: 1 / -1; /* Ocupa todo el ancho */
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: white;
}

.project-card p {
    font-size: 1.1em;
    opacity: 0.9;
}
