/* ============================================
   VARIABLES Y COLORES
   ============================================ */
:root {
    --primary-color: #0056B3;      /* Azul profesional */
    --secondary-color: #FF8C42;    /* Naranja vibrante */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ============================================
   ESTILOS GLOBALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.header {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav {
    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.language-selector {
    display: flex;
    gap: 8px;
    background-color: var(--light-color);
    padding: 8px;
    border-radius: 8px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #999;
    transition: var(--transition);
    border-radius: 4px;
}

.lang-btn.active {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-content {
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #003d82;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e67e2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-light:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   SECCIONES
   ============================================ */
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

section {
    padding: 80px 0;
}

/* ============================================
   SECCIÓN MISIÓN
   ============================================ */
.mission {
    background-color: var(--light-color);
}

.mission-content {
    display: block;
}

.mission-item {
    display: block;
}

.mission-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

.mission-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* ============================================
   SECCIÓN SERVICIOS
   ============================================ */
.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.15);
}

.service-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   SECCIÓN PROGRAMAS
   ============================================ */
.programs {
    background-color: var(--light-color);
}

.programs-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.program-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
}

.program-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-basic {
    border-left-color: #0056B3;
}

.program-intermediate {
    border-left-color: #FF8C42;
}

.program-advanced {
    border-left-color: #28a745;
}

.program-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.program-header i {
    font-size: 40px;
    color: var(--secondary-color);
}

.program-basic .program-header i {
    color: #0056B3;
}

.program-intermediate .program-header i {
    color: #FF8C42;
}

.program-advanced .program-header i {
    color: #28a745;
}

.program-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-item ul {
    list-style: none;
    margin-bottom: 20px;
}

.program-item li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.program-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   SECCIÓN TESTIMONIOS
   ============================================ */
.testimonials {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #999;
    font-size: 13px;
}

/* ============================================
   SECCIÓN CTA
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECCIÓN CONTACTO
   ============================================ */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 30px;
    grid-column: 1 / -1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    min-width: 30px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .nav.active {
        display: block;
    }

    .mission-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .nav-list {
        gap: 10px;
    }

    .header-content {
        gap: 10px;
    }

    .service-card,
    .testimonial-card {
        padding: 20px;
    }

    .mission-text h3,
    .program-item h3 {
        font-size: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
