.nosotros-section {
    padding: 2rem 2rem;
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: dimgrey;
}

.nosotros-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #f97316;
}

.nosotros-contenido {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.nosotros-texto {
    flex: 1 1 50%;
}

.nosotros-texto h3 {
    margin-top: 1.5rem;
    font-size: 2.5rem;
    color: #f97316;
}

.nosotros-texto p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.2rem;
}

.nosotros-imagen {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.nosotros-imagen img {
    max-width: 100%;
    border-radius: 1rem;
}

.icono-titulo-centrado {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2rem 0 1rem;
}

.icono-titulo-centrado h3 {
    font-size: 1.8rem;
    margin-top: 0.8rem;
}

.icono-animado {
    font-size: 3rem;
    color: #f97316;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto suave al pasar el cursor */
.icono-animado:hover {
    transform: scale(1.1) rotate(3deg);
    color: #ea580c;
}

.linea-divisora {
    border: none;
    border-top: 2px solid #f97316; /* Naranja suave */
    width: 60%;
    margin: 2.5rem auto;
    opacity: 0.8;
}

/* carrusel */

.resultados-section {
    text-align: center;
    padding: 4rem 2rem;
    color: #1f2937;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

.titulo-resultados {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f97316;
}

.descripcion-resultados {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-fade {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(249, 115, 22, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #ea580c;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    margin-top: 1rem;
}

.carousel-indicators .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #cbd5e0;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.carousel-indicators .dot.active {
    background-color: #f97316;
}
/* responsive */

@media (max-width: 768px) {
    .nosotros-contenido {
        flex-direction: column;
        text-align: center;
    }

    .nosotros-texto,
    .nosotros-imagen {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .carousel-fade {
        height: 250px;
    }
}