.hero-container {
    display: flex;
    flex-direction: column;
    min-height: 80vh !important;
    max-height: 80vh !important;
    width: 100%;
    padding: 0;
    position: relative;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
    min-height: 80vh !important;
    max-height: 80vh !important;
}

.carousel-item img {
    object-fit: cover;
}

.hero-container .copy {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: fit-content;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copy-text {
    color: var(--blanco);
    font-size: 2rem;
    width: 35%;
    padding: 0.5rem 1rem;
    text-align: center;
}

/* QUIENES SOMOS */
.section-quienes {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.container-quienes {
    display: flex;
    width: 70%;
    max-height: 1000px;
    overflow: hidden;
}

.quienes-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.quienes-left img {
    height: auto;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    object-fit: contain;
}


.nav-pills {
    justify-content: end;
}

#pills-mision-tab {
    border-top-left-radius: 1rem;
}

#pills-valores-tab {
    border-top-right-radius: 1rem;
}

.tab-item {
    display: inline-block;
}

.tab-item:last-child .tab-button {
    margin-right: 0; /* El último botón no necesita margen derecho */
}

.tab-item:not(:last-child) .tab-button {
    border-right: 0;
}

.tab-button {
    background-color: var(--gris);
    border: 2px solid var(--dark-blue);
    border-bottom: 0;
    color: var(--dark-blue);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.tab-button.active {
    background-color: var(--dark-blue);
    color: white;
}

.tab-content {
    border-radius: 1rem;
    border-top-right-radius: 0;
    border: 2px solid var(--dark-blue);
    background-color: var(--gris);
}

.tab-pane img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    box-sizing: border-box;
    border-bottom-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
}

/* PRODUCTOS */
.productos-row .col-lg-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.card {
    border-radius: 16px;
    width: 350px;
    height: auto;
    min-height: 450px;
    max-height: 450px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: fit-content !important;
}

.card-title{
    margin: 0;
    font-size: 1.2rem;
}

.overlay {
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    margin: 0;
}

.card:hover .overlay {
    transform: translateY(0);
}

.ver-mas-container{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blanco);
    border-radius: 50%;
    height: 52px;
    width: 52px;
}


.ver-mas-container:hover{
    border: 2px solid var(--principal);
    color: var(--principal) !important;
}

.ver-mas-container i{
    padding: 0.2rem;
}

.ver-mas {
    display: none;
}

.card:hover .ver-mas {
    display: inline-block;
}

/* SOCIOS */

.socios-images {
  max-height: 200px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}


/* CLIENTES */
.cliente{
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    max-height: 250px;
    min-height: 250px;
    overflow: hidden;
}

#cementera {
    background-image: url('/imagenes/index/factory.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}

#calera {
    background-image: url('/imagenes/index/caleras.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}

#biogas {
    background-image: url('/imagenes/index/gas.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}

#ceramica {
    background-image: url('/imagenes/index/ceramica.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}

#aceria {
    background-image: url('/imagenes/index/acerias.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
}

.cliente img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
}

.cliente-titulo{
    position: absolute;
    bottom: 0;
    left: 0;
}

@media screen and (max-width: 1599.5px) {
    .copy-text {
        font-size: 1.5rem;
    }

    .container-quienes {
        width: 85%;
    }
}

@media screen and (max-width: 1199.5px) {
}

@media screen and (max-width: 991.5px) {
    .copy-text {
        font-size: 1.5rem;
        width: 60%;
    }

    .container-quienes {
        max-height: fit-content;
    }
}

@media screen and (max-width: 767.5px) {
    .copy-text {
        width: 80%;
        font-size: 1.2rem;
    }

    .container-quienes {
        width: 100%;
    }

    .quienes-left img {
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 575.5px) {
    .copy-text {
        width: 90%;
        font-size: 1.2rem;
    }

    .nav-pills {
        width: 100%;
    }

    .tab-button {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}
