.why-choose-section {
    text-align: center;
    padding: 50px;
}

.why-choose-section h2 {
    font-size: 32px;
    color: #1e73be;
    margin-bottom: 15px;
    font-family: Roboto, sans-serif;
}

.why-choose-section p {
    font-size: 16px;
    color: #6c757d;
    font-family: Roboto, sans-serif;
}

.why-choose-statistics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    text-align: center;
    position: relative;
    height: 180px; /* Set a fixed or max height for each stat item */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
    margin: 0 10px; /* Add margin for spacing between items */
}

.stat-item h3 {
    font-size: 24px;
    color: #1e73be;
    font-family: Roboto, sans-serif;
}

.stat-item p {
    font-size: 14px;
    color: #6c757d;
    font-family: Roboto, sans-serif;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%; /* Adjust line position */
    bottom: 20%; /* Adjust line position */
    width: 1px;
    background-color: #d1d9e6; /* Adjust the line color here */
}


@media (max-width: 768px) {
    .why-choose-statistics {
        display: block; /* Stack the items vertically */
    }

    .stat-item {
        flex: none;
        min-width: auto;
        padding: 20px 0;
        border-bottom: 1px solid #d1d9e6; /* Add horizontal dividers */
        height: auto; /* Make sure the height is auto for responsive content */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center the content vertically */

    }

    .stat-item:not(:last-child)::after {
        display: none; /* Remove vertical lines for mobile view */
    }

    .stat-item:not(:last-child) {
        border-bottom: 1px solid #d1d9e6; /* Show a line between items */
    }

    /* Set a maximum height, so that each item doesn't stretch too much */
    .stat-item h3 {
        font-size: 24px; /* Adjust based on mobile view needs */
        margin-bottom: 5px;
    }

    .stat-item p {
        font-size: 14px;
        color: #6c757d;
    }
}

