/*Estilos generales de la sección*/
.what-we-do-container {
    width: 100%;
    background-color: #f8fafc;
    padding: 45px 8%;
    box-sizing: border-box;
}

.about-header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.orange-divider-center {
    width: 80px;
    height: 4px;
    background-color: #ef6e00;
    align-self: center;
}

/*Estilos para el listado horizontal*/
.horizontal-list-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    list-style: none;
    padding: 25px 0;
    margin: 0;
    gap: 1.8rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.horizontal-list-card::-webkit-scrollbar {
    height: 5px;
}

.horizontal-list-card::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.horizontal-list-card::-webkit-scrollbar-thumb {
    background: #ef6e00;
    border-radius: 10px;
}

/* Estilos de las tarjetas que utilizamos para mostrar información */
.card-item {
    flex: 0 0 240px;
    min-height: 420px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 25, 50, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.item-icon-card {
    height: 100px;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-icon-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #001932;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.card-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #001932;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    margin: 10px 6px;
    line-height: 1.3;
}

.card-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 400;

    text-align: center;
    line-height: 1.5;
    margin: 10px 0 0 0;
}

/*Media querys para pantallas pequeñas*/

@media (min-width: 1024px) {
    .horizontal-list-card {
        overflow-x: visible;
        justify-content: space-between;
        width: 100%;
    }

    .card-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .horizontal-list-container {
        padding: 40px 5%;
    }

}