* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header y Navegación */
header {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4af37;
}

.logo-text p {
    font-size: 0.8rem;
    color: #b8860b;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #d4af37;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.language-switcher button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s;
}

.language-switcher button.active {
    color: #d4af37;
}

.language-switcher button:hover {
    color: #d4af37;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero img {
    height: 200px;
    width: auto;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.cta-button {
    display: inline-block;
    background: #d4af37;
    color: #1a1a3e;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #ffd700;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Secciones */
section {
    padding: 4rem 0;
    background: #fff;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section h2 {
    color: #1a1a3e;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 1rem;
}

section h3 {
    color: #2d1b4e;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Grid de Características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.feature-card h4 {
    color: #1a1a3e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Tabla del Programa */
.program-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.program-table thead {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    color: #fff;
}

.program-table th,
.program-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.program-table tbody tr:hover {
    background: #f5f5f5;
}

/* Formulario de Contacto */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a1a3e;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 3rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-date {
    color: #d4af37;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    color: #1a1a3e;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-card a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.blog-card a:hover {
    color: #ffd700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 100%);
    color: #fff;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: #b8860b;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Hidden para idiomas */
.hidden {
    display: none;
}

