/* General */
body {
    overflow-x: hidden;
}

/* Fuentes personalizadas */

/* Carousel */
.carousel-caption,
.floating-elements,
.plataforma-contenedor,
.plataforma {
    position: absolute;
    top: 2%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.plataforma-contenedor{
    top: 0%;
    position:static;
    background-color: rgba(15, 163, 177,0.8);
}

.plataforma-contenedor-escuela{
    top: 0%;
    position:static;
    background-color: white;
}

.plataforma{
    position: relative;
    width: 100%;
    height: 470px;
    bottom: 50%;
    padding: 40px;
    box-sizing: border-box;
    align-content: normal;
}

.carousel-caption {
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-text-normal,
.carousel-text-bold,
.texto-normal-titulo {
    font-family: peridot-pe-variable;
    font-size: 5rem;
    border-radius: 8px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.texto-normal-titulo{
    font-family: peridot-pe-variable;
    font-size: 2.1rem;
    border-radius: 8px;
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 950;
}

.texto-normal-titulo-negro{
    font-family: peridot-pe-variable;
    font-size: 2.1rem;
    border-radius: 8px;
    color: black;
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 950;
}

.carousel-text-normal {
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 500;
}

.carousel-text-bold {
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 950;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.footer-texto{
    padding: 20px;
    color: black;
    text-align: center;
    font-size: 1.5rem;
}

/* Redes sociales */
.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 35px;
    padding: 10px;
}

.social-icons a {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Icono contenedor */
.icono-default {
  width: 40px;
  height: 40px;
  background-image: url('./img/haciendoBarrioLogo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}

/* Botón flotante */
.boton-flotante {
    width: 200px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: oklch(0% 0 0);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.boton-texto-normal{
    font-family: peridot-pe-variable;
    font-size: 1.5rem;
    border-radius: 8px;
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 950;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.boton-flotante:hover {
    transform: translateX(-50%) scale(1.1);
}

.contenedor {
    position: relative;
    width: 100%;
    text-align: center;
}

.contenedor img {
    width: 100%;
    height: auto;
}

.carousel-caption-custom {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 1rem;
      display: flex;
      justify-content: center;
      gap: 1rem;
      z-index: 10;
    }

.floating-elements-registro {
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.floating-elements-logo {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.imagen-logo-horizontal {
    width: 20%;
    height: auto;
}

.imagen-logo,
.imagen-logo-plataforma {
    width: 28%;
    height: auto;
}

.imagen-logo-plataforma{
    cursor: pointer;
    transition: transform 0.2s ease;
}

.imagen-logo-plataforma:hover {
    transform: scale(1.05);
}

.imagen-logo-plataforma{
    width: 16%;
}

.texto-normal{
    font-family: peridot-pe-variable;
    font-size: 1.5rem;
    border-radius: 8px;
    font-variation-settings: "ital" 0, "wdth" 125, "wght" 500;
    color: black;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Media Queries */

/* Tablets y pantallas medianas */
@media (max-width: 1280px) {

}

/* Tablets y pantallas medianas */
@media (max-width: 1080px) {

}

/* Móviles */
@media (max-width: 825px) {
    .carousel-caption,
    .floating-elements {
        position: absolute;
        top: 1%;
    }

    /* Logo */
    .floating-elements-logo {
        top: 11%;
    }

    .imagen-logo {
        width: 40%;
    }

    .texto-normal-titulo{
        font-size: 1.7rem;
        border-radius: 7px;
    }

    .texto-normal-titulo-negro{
        font-size: 1.7rem;
        border-radius: 7px;
    }

    .imagen-logo-horizontal {
        width: 40%;
        height: auto;
    }
    
    /* Redes sociales */
    .social-icons {
        width: 100%;
        gap: 15px;
        padding: 8px;
    }

    .social-icons a {
        font-size: 2.5rem;
    }

    .texto-normal{
        font-size: 1.5rem;
        border-radius: 4px;
    }
    
    /* Botón flotante */
    .boton-flotante {
        width: 180px;
        height: 85px;
    }

    .boton-texto-normal{
        font-size: 1.2rem;
        border-radius: 4px;
    }

    .floating-elements-registro {
        position: absolute;
        bottom: 18%;
    }
}

@media (max-width: 600px) {

}

@media (max-width: 375px) {

    .carousel-caption,
    .floating-elements {
        position: absolute;
        top: 0%;
    }

    /* Logo */
    .floating-elements-logo {
        top: 11%;
    }

    .imagen-logo {
        width: 40%;
    }

    .imagen-logo-horizontal {
        width: 40%;
        height: auto;
    }
    
    .imagen-logo-plataforma{
        width: 12%;
    }

    /* Redes sociales */
    .social-icons {
        width: 100%;
        gap: 15px;
        padding: 8px;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .texto-normal{
        font-size: 1rem;
        border-radius: 4px;
    }
    
    .texto-normal-titulo{
        font-size: 1rem;
        border-radius: 4px;
    }

    .texto-normal-titulo-negro{
        font-size: 1rem;
        border-radius: 4px;
    }

    /* Botón flotante */
    .boton-flotante {
        width: 150px;
        height: 50px;
    }

    .boton-texto-normal{
        font-size: .8rem;
        border-radius: 4px;
    }

    .floating-elements-registro {
        position: absolute;
        bottom: 15%;
    }
}





/* ----------------------------------------------- */

/* --- Sección de Testimonios --- */
.testimonials-section-flex {
    
    /* Mantenemos el padding vertical, pero el horizontal de 20px evita que el contenido toque el borde */
    padding: 60px 20px; 
    
    text-align: center;
    
    /* *** CLAVE DEL CAMBIO: *** */
    /* Eliminamos 'max-width' y 'margin' para que la sección ocupe el 100% del ancho */
    width: 100%; 
    
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 25px; 
}

.testimonials-section-flex h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 40px;
    flex-basis: 100%; 
}

/* --- Tarjetas de Testimonio (<article>) --- */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    padding-top: 65px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    min-width: 280px; 
    max-width: 320px;
    
    display: flex;
    flex-direction: column;

    text-align: left;
    position: relative;

    text-shadow: none !important; 
    color: #333333;
}

/* (El resto de estilos para .testimonial-card::before, .quote-text, y .author-info sigue igual) */
.testimonial-card::before {
    content: '“';
    font-family: 'Merriweather', serif;
    position: absolute;
    top: 5px;
    left: 25px;
    font-size: 6rem;
    color: #f0f0f0;
    z-index: 1;
    line-height: 1;
}

.quote-text {
    font-size: 0.95em;
    color: #000000;
    margin: 0;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: #222;
    margin: 0;
}

.author-title {
    font-size: 0.9em;
    color: #222;
    margin: 0;
}