/* iso45001-styles.css */
/* Estilos generales */
.course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.animated-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--order) * 0.1s);
}

/* Portada del curso */
/* Portada del curso - Estilo base */
.course-cover {
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Portada del curso - Estilo base */
.course-cover {
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Colores específicos para cada curso */
.iso45001-cover {
    background: linear-gradient(135deg, #b63414 0%, #bb530dee 100%);
    box-shadow: 0 10px 30px rgba(182, 52, 20, 0.3);
}

.iso14001-cover {
    background: linear-gradient(135deg, #1a7a3a 0%, #2ecc71 100%);
    box-shadow: 0 10px 30px rgba(26, 122, 58, 0.3);
}

.iso9001-cover {
    background: linear-gradient(135deg, #1a5276 0%, #3498db 100%);
    box-shadow: 0 10px 30px rgba(26, 82, 118, 0.3);
}

.integrado-cover {
    background: linear-gradient(135deg, #6f6c70 0%, #a397a8 100%);
    box-shadow: 0 10px 30px rgba(108, 52, 131, 0.3);
}

.cover-content {
    position: relative;
    z-index: 2;
}

.institutions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.course-cover h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.course-cover h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: white;
}

.cover-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.consulting-motto {
    display: flex;
    flex-direction: column;
    font-style: italic;
    margin-top: 2rem;
}

.consulting-motto span:first-child {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Secciones del curso */
.course-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.course-section h3 {
    color: #013871;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f4f9;
    position: relative;
}

.course-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #013871;
}

/* Listas con estilo */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #013871;
    font-weight: bold;
}

.nested-list {
    list-style: none;
    padding-left: 0;
}

.nested-list > li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.nested-list > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #013871;
    font-weight: bold;
    font-size: 1.2rem;
}

.nested-list ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.nested-list ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.nested-list ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #2c5282;
}

/* Caja destacada */
.highlight-box {
    background: linear-gradient(to right, #f0f7ff 0%, #ffffff 100%);
    border-left: 4px solid #013871;
    padding: 1.5rem;
    border-radius: 6px;
    animation: pulse 3s infinite ease-in-out;
}

.highlight-box h3 {
    margin-top: 0;
    color: #013871;
    border-bottom: none;
}

.highlight-box h3::after {
    display: none;
}

/* Tarjetas de detalles */
.course-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid transparent;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 3px solid #013871;
}

.detail-icon {
    font-size: 2rem;
    color: #013871;
    margin-bottom: 1rem;
}

.detail-card h4 {
    color: #013871;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Información de contacto */
.contact-info {
    background: linear-gradient(135deg, #013871 0%, #2c5282 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info h3 {
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-top: 0;
}

.contact-info h3::after {
    background: white;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.email-link, .website-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.email-link:hover, .website-link:hover {
    color: #a3d0fd;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .course-cover h1 {
        font-size: 2rem;
    }
    
    .course-cover h2 {
        font-size: 1.4rem;
    }
    
    .course-details {
        grid-template-columns: 1fr;
    }
    
    .institutions {
        flex-direction: column;
        gap: 1rem;
    }
}