@media screen and (min-width: 767px) {
    .home-why-build-v2-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr); /* Maintain 3-column layout */
        gap: 50px; /* Increase spacing between items to prevent crowding */
        max-width: 1200px; /* Prevent layout from stretching too wide */
        margin: 0 auto;
    }

    .home-why-build-v2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

}

.why-build-v2-link svg {
    margin-left: 16px;
}
.why-build-v2-link {
    width: 371px;
    margin: 0 auto;
}
.why-build-v2-link a {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #ED1C24 !important;
}
.why-build-v2-link:hover {
    opacity: 20%;
}

.home-why-build-v2-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%; /* Make all items take equal height */
}

.home-why-build-v2-title {
    margin-top: 24px;
    margin-bottom: 8px;
    font-family: 'Museo';
    color: var(--dark-text-color);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}
.home-why-build-v2-text {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6; /* Improve readability */
    text-align: center;
    max-width: 260px; /* Keep text at a reasonable width */
    margin: 0 auto; /* Ensure text is centered under the icon */
    word-break: normal; /* Prevent unnecessary breaks */
}

.home-why-build-v2-icon {
    width: 63px;
    height: 60px;
    object-fit: cover;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .home-why-build-v2-wrapper {
        display: block; /* Revert to block layout for Flickity */
        overflow: hidden; /* Prevent content overflow */
    }
    .home-why-build-v2 {
        width: 100%; /* Ensure each item fits inside Flickity's cell */
        margin: 0 auto; /* Center align */
        text-align: center; /* Optional: Center-align content */
    }

    /* Optional: Adjust Flickity dots */
    .flickity-page-dots {
        bottom: -20px; /* Position dots closer or further below the gallery */
    }
    .flickity-page-dots .dot {
        background-color: #999999; /* Customize dot color */
    }
    .flickity-page-dots .dot.is-selected {
        background-color: #ED1C24; /* Highlight active dot */
    }
}
.why-build-v2-link {
    max-width: 100%; /* Ensure the link container fits within the screen width */
    overflow: hidden; /* Prevent horizontal overflow */
    padding: 0 16px; /* Add padding to ensure spacing is consistent */
    box-sizing: border-box; /* Include padding in the element's total width */
    text-align: center; /* Keep the link centered */
}
