html {
    scroll-behavior: smooth;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #888975ad ;
    padding-top: 60px;
}

/* Estilos para la barra de navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0; /* Reducido ligeramente */
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 12px 0; /* Ajustado para reducir el tamaño */
}

.navbar ul li {
    margin: 0 18px; /* Espaciado entre elementos */
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem; /* Ligeramente más pequeño */
    padding: 11px 16px; /* Ajuste menor del espaciado */
    transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
    background-color: #28a745;
    border-radius: 5px;
}

/*SECCION HERO */
.hero {
    background-image: url('images/abuelo.jpeg'); /* Reemplaza con el nombre de tu imagen */
    background-size: cover;
    background-position: center;
    height: 800px; /* Altura de la imagen de fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-bottom: 70px;
}

.hero-content {
    max-width: 850px;
    padding: 30px 20px 40px 20px;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo semitransparente para mejorar la legibilidad */
    border-radius: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    padding: 1.2rem;
    text-align: center; /* Centra el texto */
}

.cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
}

/* Estilos generales */
.problema-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.problema-card {
    display: flex;
    background-color: #d3d3d3;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px; /* Aumentado el tamaño máximo de la tarjeta */
    overflow: hidden;
}

.problema-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.problema-imagen-container {
    flex: 1;
    max-width: 450px; /* Aumentada la anchura de la imagen */
    padding-left: 20px; /* Añadido espacio a la izquierda de la imagen */
    padding-right: 30px; /* Añadido espacio a la derecha de la imagen */
    text-align: center;
}

.problema-imagen {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.problema-texto-container {
    flex: 2;
    padding: 30px;
    color: #555;
}

.problema-card-body {
    padding: 20px;
}

.problema-titulo {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

.problema-descripcion {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.problema-btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.problema-btn:hover {
    background-color: #0056b3;
}

/* Asegura que la sección ocupe todo el ancho */
@media (max-width: 768px) {
    .problema-card {
        flex-direction: column;
    }

    .problema-imagen-container {
        max-width: 100%;
        padding-left: 0; /* Quitar el espacio a la izquierda en pantallas pequeñas */
    }

    .problema-texto-container {
        padding: 20px;
    }
}

.problema-section {
    width: 100%;
    padding-bottom: 80px;
    padding-top: 110px; 
    background-color: #ddcdcd38; 
}



/* Contenedor principal con flexbox */
.solucion-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px; /* Limita el ancho máximo para mantener una buena estructura */
}

/* Estilo de la tarjeta */
.solucion-card {
    flex: 1;
    padding: 20px;
    background-color: #FFFFFF;  /* Blanco, que recuerda a la pureza de la naturaleza */
    border-radius: 15px;  /* Bordes suaves y redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);  /* Sombra suave para darle profundidad */
    border: 2px solid #8C7D6E;  /* Borde de color terracota, evocando la naturaleza */
    background-image: url('images/texture.png');  /* Textura ligera que evoca la naturaleza */
    background-size: cover;
}

/* Título de la card */
.solucion-card h2 {
    font-size: 32px;
    color: #2C3E50;  /* Color oscuro para contraste */
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Estilo para los beneficios */
.solucion-beneficios {
    list-style-type: none;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
}

.solucion-beneficios li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.solucion-beneficios i {
    color: #007BFF;
    margin-right: 10px;
    font-size: 22px;
}

/* Estilo de la imagen */
.solucion-imagen {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.solucion-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Sombra suave para la imagen */
    border: 2px solid #8C7D6E;  /* Borde de color terracota para la imagen */
}

/* Estilo para pantallas pequeñas */
@media (max-width: 768px) {
    .solucion-contenedor {
        flex-direction: column;
        text-align: center;
    }

    .solucion-card {
        margin-bottom: 30px;
    }

    .solucion-imagen {
        max-width: 100%;
    }
}


/* SOLUCION */
.solucion-section {
    width: 100%;  /* Ocupa todo el ancho de la página */
 padding-top: 100px;
 background-color: #ddcdcd38; 
    padding-bottom: 100px;
    
}
/* Estilo de la sección de cursos */
.cursos-section {
    width: 100%; 
    background-color: #ddcdcd38; 
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #3C3A36;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contenedor del carrusel */
.carousel-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 20px;
}

.curso-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-image: url('images/leaf-pattern.jpg'); /* Textura animalista */
    background-size: cover;
}

 
 /* Estilo de la sección de cursos */
.cursos-section {
    width: 100%;
    padding: 60px 0;
    background-color: #ddcdcd38; 
    text-align: center;
}

.section-title {
    font-size: 38px;
    color: #3C3A36;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Contenedor del carrusel */
.carousel-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* Tarjeta de curso */
.curso-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-image: url('images/leaf-pattern.jpg'); 
    background-size: cover;
}

.curso-card:hover {
    transform: scale(1.05);
}

/* Imagen del curso */
.curso-imagen {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 4px solid #8C7D6E;
}

/* Información del curso */
.curso-info {
    padding: 20px;
    color: #3C3A36;
    text-align: left;
}

.curso-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: #6D4F2D;
    margin-bottom: 12px;
}

.curso-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #4A3D35;
    margin: 8px 0;
}

.curso-info p strong {
    color: #8C7D6E;
    font-weight: 700;
}

/* Lista de contenido */
.curso-contenido {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.curso-contenido li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.curso-contenido li::before {
    content: '✔';
    color: #2C6E49;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

/* Duración y precios */
.curso-info .precio {
    font-size: 18px;
    font-weight: 700;
    color: #6D4F2D;
    margin: 10px 0;
}

.curso-info .duracion {
    font-size: 17px;
    font-weight: 600;
    color: #3C3A36;
    margin-bottom: 10px;
}

/* Beneficios destacados */
.beneficios {
    background: #F7E9D7;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #4A3D35;
    margin-top: 15px;
    text-align: center;
}

/* Estilos generales de la sección de testimonios */
.testimonios {
    width: 100%;
    background-color: #ddcdcd38; 
    padding: 60px 20px;
    text-align: center;
}

/* Título de la sección */
.testimonios-titulo {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

/* Contenedor de testimonios */
.contenedor-testimonios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Tarjetas de testimonio */
.testimonio-card {
    background: #fff;
    width: 400px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden; /* Evita que las imágenes sobresalgan */
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Imagen de usuario */
.testimonio-imagen-perfil {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    display: block;
    margin: 0 auto; /* Centrar la imagen */
}

/* Texto del testimonio */
.testimonio-texto {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 10px;
}

/* Nombre del usuario */
.testimonio-cita {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

/* Estilos generales de la sección */
.inscripcion {
    background: linear-gradient(to right, #c2a557, #efcbb7);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    border-radius: 15px;
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Título con animación */
.inscripcion-titulo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-in-out;
}

/* Descripción con estilo moderno */
.inscripcion-descripcion {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Formulario */
.formulario-inscripcion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Campos del formulario */
.campo {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Etiquetas de los campos */
.campo label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Estilos de los inputs y select */
input, select {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    transition: all 0.3s ease-in-out;
}

input:focus, select:focus {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Checkbox */
.campo input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

/* Botón de inscripción */
.boton-inscripcion {
    background: #214f49;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.boton-inscripcion:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .inscripcion {
        max-width: 90%;
    }
}


/* Estilos generales del footer */
.footer {
    background: linear-gradient(to right, #2C3E50, #34495E);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: 50px;
}

/* Contenedor flexible */
.footer-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

/* Estilos de la sección del logo */
.footer-logo h2 {
    font-size: 26px;
    font-weight: bold;
}

.footer-logo p {
    font-size: 16px;
    max-width: 300px;
    margin: 10px auto;
}

/* Estilos de enlaces rápidos */
.footer-enlaces h3,
.footer-redes h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-enlaces ul {
    list-style: none;
    padding: 0;
}

.footer-enlaces ul li {
    margin: 5px 0;
}

.footer-enlaces ul li a {
    text-decoration: none;
    color: #FFD700;
    transition: color 0.3s ease-in-out;
}

.footer-enlaces ul li a:hover {
    color: #FF5733;
}

/* Redes sociales */
.redes-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.redes-icons a {
    font-size: 24px;
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
}

.redes-icons a:hover {
    color: #FF5733;
    transform: scale(1.1);
}

/* Derechos de autor */
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .footer-contenedor {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo p {
        max-width: 100%;
    }
}
