/*Imports Google Fonts*/
@import url("https://fonts.googleapis.com/css2?family=Manrope&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Signika+Negative&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*Reseteo de página*/
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
}

/* Marquee */
.marquee {
    background-color: #f3eceb;
    --space: 2rem;
    align-content: center;
    overflow: hidden;
    width: 100%;
    height: 25px;
    font-family: "Manrope", sans-serif;
    letter-spacing: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.5;
    --duration: 50s;
    --gap: var(--space);
    display: flex;
    user-select: none;
    text-transform: uppercase;
}
.marquee__group {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    justify-content: space-around;
    --space: 2rem;
    min-width: 100%;
    animation: scroll var(--duration) linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - var(--gap)));
    }
}
@media (max-width: 991px) {
    .marquee {
        display: none;
    }
}

/*NavBar*/
.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    background-color: white;  
}
.navbar img {
    margin-left: 40px;
    width: 50px;
}
.collapse a {
    color: grey;
    font-family: "Manrope", sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 10px;
    font-size: 14px;
}
.collapse i {
    color: grey;
    font-size: 20px;
    margin: 7px 5px;
}
.collapse .fa-solid {
    color: #af998a;
    font-size: 19px;
    margin: 7px 40px;
}
.collapse a:hover {
    color: #af998a;
}
.collapse i:hover {
    color: #af998a;
}
.collapse .fa-solid:hover {
    color: grey;
    cursor: pointer;
}
nav .collapse {
    text-align: center;
}
@media only screen and (max-width: 1097px) and (min-width: 992px) {
    .navbar img {
        display: none;
    }
}

/* Headers */
.header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
    box-shadow: 0 3px 7px rgba(0,0,0,0.1);
}
.header-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}
@media (max-width: 450px) {
    .header-image {
        height: 310px;
        object-fit: cover;
    }
}

/* Beneficios */
.benefits-section {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 50px auto;
    width: 75%;
    padding: 40px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);    
    background: linear-gradient(135deg, rgba(186, 167, 157, 1) 0%, rgba(210, 190, 180, 1) 100%);
    color: #fcfcfc;
    font-family: 'Source Sans Pro', sans-serif;
}
.benefits-section h2 {
    color: #ffffff;
    font-weight: bold;
    font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.benefits-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color:#f3eceb;
    border-radius: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}
.benefits-text {
    width: 45%;
}
.benefits-section ul {
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgb(106, 87, 80);
    text-align: center;
    margin-top: 50px;
}
.benefits-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.testimonials {
    width: 45%;
    color: rgb(106, 87, 80);
}
.testimonial {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.testimonial p {
    font-size: 1rem;
    font-style: italic;
    margin: 0 0 10px;
}
.testimonial span {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: rgb(106, 87, 80);
    text-align: right;
}
@media (max-width: 768px) {
    .benefits-section {
        width: 90%;
        padding: 20px;
    }
    .benefits-section h2 {
        font-size: 1.5rem;
    }
    .benefits-content {
        flex-direction: column;
        text-align: center;
    }
    .benefits-text, .testimonials {
        width: 100%;
        margin-bottom: 20px;
    }
    .benefits-section ul {
        font-size: 1rem;
        margin-right: 25px;
    }
}

/* Sección de Llamada a la Acción (CTA) */
.cta-section {
    background-color: #f3eceb;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(203, 179, 179, 0.3);
    margin: 50px auto;
    font-family: 'Source Sans Pro', sans-serif;
}
.cta-section h2 {
    color: rgb(106, 87, 80);
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #8c7c6f;
    line-height: 1.6;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgb(106, 87, 80);
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background-color: #8c7c6f;
    transform: scale(1.05);
    color: white;   
}
@media (max-width: 768px) {
    .cta-section {
        width: 90%;
        padding: 30px 20px;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Sobre nosotros */
.header-content{
    background-color: rgb(106, 87, 80);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.header-content h2 {
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    font-size: 1.7rem;
}
.header-content p {
    color: rgb(255, 255, 255); 
    font-size: 1.1rem;
}
.header-content {
    text-align: center;
    color: rgb(8, 8, 8);
    padding: 25px 20px; /* Reduce el padding horizontal */    
}
.header-content p {
    padding: 0 20px; /* Reduce el padding horizontal */
}
.docentes {
    padding: 50px 0;
    background-color: #f3eceb;
    position: relative;
    margin-top: -15px;
}
.nuestrosDocentes-content {
    text-align: center;    
}
.nuestrosDocentes-content h2 {
    font-size: 2.5rem;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.docente-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Añadido espacio entre elementos */
}
.docente {
    flex-basis: calc(33.33% - 20px);
    overflow: hidden;
    border: 1px solid #ccc;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f9f9f9; /* Asegurarse de que el fondo sea consistente */
    border-radius: 25px;
}
.docente:hover {
    transform: scale(1.05);
}
.docente img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    vertical-align: middle; /* Asegurarse de que la imagen esté alineada al medio */
}
.docente-info {
    padding: 20px;
    flex-grow: 1; /* Permitir que crezca para llenar el espacio */
}
.docente-info h3 {
    text-align: center;
    margin-top: 20px;
    font-size: 1.5rem;
}
.docente-info p {
    font-size: 1.1rem;
}
h3 {
    text-align: center;
    margin: 20px auto;
    font-size: 2rem;
    text-transform: uppercase;
}
.preguntas-container {
    background: url("https://raw.githubusercontent.com/melirossi/courses-responsive-website/master/Images/fondo.jpg") no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
}
.PreguntasAcordeon {
    margin: 0 auto;
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.PreguntasAcordeon li {
    list-style: none;
    margin-bottom: 10px;
    background-color: #f3eceb;
    padding: 10px;
    border-radius: 4px;
}
.PreguntasAcordeon li label {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #000;
}
.PreguntasAcordeon li label span {
    transform: rotate(90deg);
    font-size: 22px;
    color: #323337;
}
.PreguntasAcordeon label + input[type="radio"] {
    display: none;
}
.PreguntasAcordeon li .content {
    padding: 0 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}
.PreguntasAcordeon label + input[type="radio"]:checked + .content {
    max-height: 400px;
}
.map-container {
    display: flex;
    gap: 20px; /* Espacio entre los mapas */
    padding: 20px;
    background: rgb(106, 87, 80);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.map-container h4 {
    color: white;
    text-align: center;
}
.map-wrapper {
    flex: 1; /* Para que ocupen el mismo ancho */
}
iframe {
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
    .docente {
        flex-basis: calc(50% - 20px);
    }
}
@media screen and (max-width: 480px) {
    .docente {
        flex-basis: 100%;
    }
}
@media (max-width: 600px) {
    .PreguntasAcordeon {
        width: 95%;
        padding: 15px;
    }

    .PreguntasAcordeon li label {
        font-size: 16px;
    }

    .PreguntasAcordeon li .content {
        font-size: 14px;
    }
}
@media (max-width: 900px) {
    .map-container {
        flex-direction: column; /* Cambiar a columna para dispositivos pequeños */
        align-items: center;
    }

    .map-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Cursos */
#cards-section {
    margin-top: 15px; 
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    justify-content: center;
    padding: 0 20px;
}
#cards-section .card .text-container {
    padding: 6px 28px;
    text-align: center;
}
#cards-section .card {
    background: #FFFFFF;
    transition: all 0.3s ease-in;
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 0.40);
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    margin: 20px 15px;
}
#cards-section .card:hover {
    box-shadow: 0px 9px 18px rgba(0, 0, 0, 0.50);
    transition: all 0.3s ease-in;
    height: fit-content;
    margin-top: 0px;
    cursor: pointer;
}
#cards-section .card .image-container {
    text-align: center;
    padding: 20px;
}
#cards-section .card .image-container img {
    transition: all 0.5s ease-in;
    height: 150px;
    width: 150px;
    border-radius: 150px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 99;
}
#cards-section .card h6 {
    margin-top: 2px;
    text-transform: uppercase;
}
#cards-section .card p {
    font-size: 17px;
    color: rgb(70, 69, 69);
    margin: 6px 0px 0px;
    line-height: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
}
#cards-section .card span {
    font-size: 17px;
    color: rgb(106, 87, 80);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}
#cards-section .datos p {
    font-size: 17px;
    color: rgb(106, 87, 80);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}
#cards-section .card h6 {
    font-size: 22px;
    font-weight: 900;
    color: rgb(106, 87, 80);
    line-height: 25px;
    font-family: 'Dosis', sans-serif;
}
.image-container:after {
    position: absolute;
    content: "";
    opacity: 0.7;
}
#cards-section .card:hover .image-container:after {
    transition: all 0.5s ease-in;
    width: 120%;
    top: -90px;
    height: 210px;
    border-radius: 50%;
    background-color: rgb(186,167,157);
    z-index: 1;
    left: -10%;
}
.card button {
    margin-top: 20px;
    color: rgb(106, 87, 80);
    background-color: rgb(226, 211, 202);
    font-weight: bold;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Dosis', sans-serif;
    margin-bottom: 30px;
}
.card .btn:hover {
    transform: translateY(-0.25em);
    color: rgb(255, 255, 255);
    background-color: rgb(106, 87, 80);
}

/* Formulario */
.container-form {
    margin: 30px auto;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(186, 167, 157, 1) 0%, rgba(210, 190, 180, 1) 100%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    font-family: 'Dosis', sans-serif;
}
.container-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(70, 69, 69);
    font-size: 2rem; 
}
form {
    display: grid;
    gap: 15px;
    justify-items: center;
}
form label {
    font-weight: bold;
    color: #423B38;
}
.container-form input[type="text"],
.container-form input[type="email"],
.container-form input[type="tel"],
.container-form input[type="date"],
.container-form input[type="file"],
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    width: 700px;
}
input[type="submit"] {
    margin-top: 15px;
    background-color: rgb(106, 87, 80);
    color: white;
    padding: 12px;
    width: 50%;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Añadido transform */
    text-transform: uppercase;
}
input[type="submit"]:hover {
    transform: translateY(-0.25em);
    font-weight: bold;
}
.checkbox-container {
    display: flex;
    align-items: center;
}
.checkbox-container input {
    margin-right: 10px;
}
.checkbox-container label {
    margin: 0;
}
.checkbox-container a {
    color: rgb(106, 87, 80);
    text-decoration: none;
}
.checkbox-container a:hover {
    text-decoration: underline;
}
#preview-container {
    display: flex;
    justify-content: center;
}
#foto-preview {
    display: none;
    max-width: 100px;
    margin-top: 10px;
}
@media (max-width: 820px) {
    .container-form input[type="text"],
    .container-form input[type="email"],
    .container-form input[type="tel"],
    .container-form input[type="date"],
    .container-form input[type="file"],
    select {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #f3eceb;
    padding: 40px 0;
    text-align: center;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
.footer-section {
    flex: 1;
    margin-bottom: 20px;
    margin-right: 20px; /* Ajustamos el margen derecho para dejar más espacio entre las secciones */
    text-align: left;
}
.footer-logo {
    width: 230px;
    height: auto;
    margin-top: -35px;
}
.footer-heading {
    color: #423B38;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer-list {
    list-style: none;
    padding: 0;
}
.footer-list li {
    margin-bottom: 10px;
}
.footer-list a {
    color: rgb(70, 69, 69);
    text-decoration: none;
}
.footer-list a:hover {
    font-weight: bold;
}
.footer-text {
    color: rgb(70, 69, 69);
    font-size: 1rem;
}
.newsletter-form {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.footer-input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #FFFFFF;
    color: rgb(70, 69, 69);
    flex: 1;
    margin-right: 10px;
}
.footer-button {
    background-color: rgb(106, 87, 80);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #FFFFFF;
    padding: 10px 15px;
}
.footer-button:hover {
    background-color: #8c7c6f;
}
.footer-button i {
    color: #FFFFFF;
}
.footer-author {
    text-align: center;
    padding: 10px 0;
    color: rgb(70, 69, 69);
    font-size: 0.9rem;
}
.footer-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
    padding-top: 10px;
    font-size: 0.9em;
    text-align: center;
    text-transform: uppercase;
    background-color: #FBFCFC; 
    color: grey;
    margin: 10px 0px -50px;
    letter-spacing: 0.15em;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-section {
        text-align: center;
    }
}

/* Login */
.bg-image-vertical {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
}
.logo {
    height: 35px;
}
span, h3 {
    letter-spacing: 5px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: "Manrope", sans-serif;
    vertical-align: bottom;
    font-weight: bold;
}
label {
    font-size: 15px;
    font-family: "Manrope", sans-serif;
    letter-spacing: 2px;
    margin-top: 5px;
}
form .button-login {
    background-color: #f3eceb;    
    border-radius: 4px;
}
form .button-login button, a {
    text-transform: uppercase;
}
.button-login button:hover, a:hover {
    transform: translateY(-0.25em);
    font-weight: bold;
}













