/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #ffd700;
    --dark-blue: #003366;
    --light-blue: #4da6ff;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Animaciones AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.6);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

[data-aos="fade-up"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="zoom-in"].aos-animate {
    transition-duration: 0.8s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Slider Section */
.slider-section {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    background: rgba(0, 51, 102, 0.85);
    padding: 2rem 3rem;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 51, 102, 0.7);
    color: var(--white);
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 5px;
}

.slider-btn:hover {
    background-color: rgba(0, 51, 102, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.dot:hover,
.dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Secciones */
section {
    padding: 60px 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-blue);
}

/* Valores Grid */
.valores {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.valores::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.valores-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.valor-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.valor-card:hover::before {
    transform: scaleX(1);
}

.valor-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

.valor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.valor-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    opacity: 0.3;
    transform: scale(1);
    transition: all 0.4s ease;
}

.valor-card:hover .valor-icon {
    transform: rotate(360deg) scale(1.1);
}

.valor-card:hover .valor-icon::after {
    transform: scale(1.3);
    opacity: 0;
}

.valor-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.valor-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    transition: color 0.3s;
}

.valor-card:hover h3 {
    color: var(--dark-blue);
}

.valor-card p {
    text-align: center;
    line-height: 1.7;
    color: var(--text-color);
}

/* Misión Visión */
.mision-vision {
    background-color: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.mv-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 51, 102, 0.05));
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.mv-card h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

/* About Content */
.about-intro-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-color) 100%);
    padding: 80px 0;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.intro-icon svg {
    width: 50px;
    height: 50px;
    color: var(--white);
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Qué Hacemos */
.que-hacemos {
    background-color: var(--white);
    padding: 80px 0;
}

.que-hacemos h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.caracteristica-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--white) 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.caracteristica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.caracteristica-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.caracteristica-numero {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.caracteristica-card h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.caracteristica-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Misión Visión Nosotros */
.mision-vision-nosotros {
    background: var(--bg-color);
    padding: 80px 0;
}

.mision-vision-nosotros h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.mv-grid-nosotros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mv-card-nosotros {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.mv-card-nosotros:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mv-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.mv-card-nosotros h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mv-card-nosotros p {
    line-height: 1.8;
    color: var(--text-color);
}

/* Valores Nosotros */
.valores-nosotros {
    background: var(--white);
    padding: 80px 0;
}

.valores-nosotros h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.valores-grid-nosotros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.valor-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.valor-item:hover {
    background: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

.valor-icon-small {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.valor-item:hover .valor-icon-small {
    transform: rotate(360deg);
}

.valor-icon-small svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.valor-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.valor-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Filosofía */
.filosofia {
    background-color: var(--bg-color);
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.filosofia-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filosofia-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.valores-section h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.valores-list {
    list-style: none;
    padding: 0;
}

.valores-list li {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    line-height: 1.6;
}

.valores-list strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Programas */
.programas-content {
    background-color: var(--bg-color);
    padding: 60px 0;
}

/* Grid de Programas Principales */
.programas-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.programa-card-grid {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.programa-card-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.programa-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.programa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.programa-card-grid:hover .programa-image img {
    transform: scale(1.1);
}

.programa-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--dark-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.programa-content {
    padding: 2.5rem;
}

.programa-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: left;
}

.programa-intro {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.programa-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.programa-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.programa-content .btn {
    margin-top: 1rem;
}

/* Sección de Inglés */
.seccion-ingles {
    margin-top: 4rem;
}

.seccion-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.seccion-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.programas-grid-ingles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.programa-card-small {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.programa-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.programa-image-small {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.programa-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.programa-card-small:hover .programa-image-small img {
    transform: scale(1.1);
}

.programa-badge-small {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--dark-blue);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.programa-content-small {
    padding: 2rem;
}

.programa-content-small h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.duracion {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.programa-content-small p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Contacto */
.contacto-content {
    background-color: var(--white);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    margin-top: 2rem;
}

.contacto-info h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Formulario */
.contacto-form-wrapper h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contacto-form {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Error 404 */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 h2 {
    font-size: 4rem;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Slider responsive */

    .slide-content {
        padding: 1.5rem 2rem;
        bottom: 60px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-btn {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mv-grid,
    .filosofia-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Programas responsive */
    .programas-grid-main {
        grid-template-columns: 1fr;
    }

    .programas-grid-ingles {
        grid-template-columns: 1fr;
    }

    .programa-image {
        height: 250px;
    }

    .programa-content {
        padding: 2rem;
    }

    .programa-features {
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 65px;
    }

    /* Slider móvil */

    .slide-content {
        padding: 1rem 1.5rem;
        bottom: 50px;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-btn {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    /* Programas móvil */
    .programa-image {
        height: 200px;
    }

    .programa-content {
        padding: 1.5rem;
    }

    .programa-content h2 {
        font-size: 1.5rem;
    }

    .programa-image-small {
        height: 180px;
    }

    .programa-content-small {
        padding: 1.5rem;
    }

    .seccion-title {
        font-size: 2rem;
    }

    .contacto-form {
        padding: 1rem;
    }
}

/* ==================== Estilos para Modales ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 2rem;
    margin: 0;
    border-radius: 12px 12px 0 0;
    font-size: 1.8rem;
}

.modal-close {
    color: var(--white);
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    transform: rotate(90deg);
    opacity: 0.7;
}

.modal-body {
    padding: 2.5rem;
}

.modal-body h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.programa-detalle-lista {
    list-style: none;
    padding-left: 0;
}

.programa-detalle-lista li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.programa-detalle-lista li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.modal-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-cta .btn {
    min-width: 150px;
}

/* Estilos responsivos para modales */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-content h2 {
        padding: 1.5rem;
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-body h3 {
        font-size: 1.2rem;
    }

    .modal-close {
        font-size: 2rem;
    }

    .modal-cta {
        flex-direction: column;
    }

    .modal-cta .btn {
        width: 100%;
    }
}
