body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

#main-header {
    background: linear-gradient(135deg, #2a7ae2 0%, #1e5bb8 100%);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link.active, .nav-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}

#home-content, #category-content, #contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
}

.features-section {
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2a7ae2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.programs-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h3 {
    color: #2a7ae2;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.category-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.program-category {
    margin-bottom: 4rem;
}

.program-category h3 {
    color: #2a7ae2;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #2a7ae2;
    padding-bottom: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #2a7ae2;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-title {
    color: #2a7ae2;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.master {
    background: #e3f2fd;
    color: #1976d2;
}

.badge.curso {
    background: #f3e5f5;
    color: #7b1fa2;
}

.badge.duration {
    background: #e8f5e8;
    color: #388e3c;
}

.badge.season {
    background: #fff3e0;
    color: #f57c00;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info h3 {
    color: #2a7ae2;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
}

#contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2a7ae2;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.btn-enviar {
    background: linear-gradient(135deg, #2a7ae2 0%, #1e5bb8 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 122, 226, 0.4);
}

#main-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    #home-content, #category-content, #contact-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid, .programs-grid, .product-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .program-category h3 {
        font-size: 1.5rem;
    }
}

/* Estilos para la página de detalle del programa */
#program-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.program-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.program-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.program-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.program-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge.online {
    background: #e8f5e8;
    color: #388e3c;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.program-section {
    margin-bottom: 3rem;
}

.program-section h2 {
    color: #2a7ae2;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #2a7ae2;
    padding-bottom: 0.5rem;
}

.program-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a7ae2;
}

.module-item h3 {
    color: #2a7ae2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.module-item p {
    color: #666;
    margin: 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.teacher-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.teacher-card h3 {
    color: #2a7ae2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.teacher-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.teacher-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card, .cta-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-card h3, .cta-card h3 {
    color: #2a7ae2;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-item {
    margin-bottom: 1rem;
    color: #666;
}

.info-item strong {
    color: #333;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-form input {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.quick-form input:focus {
    outline: none;
    border-color: #2a7ae2;
}

/* Estilos para los enlaces de programas */
.program-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.program-link:hover {
    transform: translateY(-2px);
}

.product-card:hover .program-link {
    text-decoration: none;
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .programs-section h2, .category-section h2, .contact-section h2 {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .program-header h1 {
        font-size: 2rem;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la segunda página de detalle del programa */
#program-detail-content-2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.program-hero-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-info {
    background: rgba(255,255,255,1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.info-value.price {
    color: #ffd700;
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.program-content-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-card h2 {
    color: #2a7ae2;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #2a7ae2;
    padding-bottom: 0.5rem;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.learning-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.learning-item:hover {
    transform: translateY(-5px);
}

.learning-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.learning-item h3 {
    color: #2a7ae2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.learning-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-marker {
    background: #2a7ae2;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: #2a7ae2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-duration {
    background: #e8f5e8;
    color: #388e3c;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.expert-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expert-card h3 {
    color: #2a7ae2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.expert-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.expert-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.career-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2a7ae2;
    transition: transform 0.3s ease;
}

.career-item:hover {
    transform: translateY(-5px);
}

.career-item h3 {
    color: #2a7ae2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.career-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-sidebar {
    position: sticky;
    top: 2rem;
}

.contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-card h3 {
    color: #2a7ae2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-form-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-2 input,
.contact-form-2 textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form-2 input:focus,
.contact-form-2 textarea:focus {
    outline: none;
    border-color: #2a7ae2;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .program-content-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        align-self: center;
    }
} 