/* Industries Component Styles */

/* Main container */
.cate-with-img-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    justify-content: center;
}

/* Individual industry chip */
.roundiconwithdata {
    display: flex;
    border: 1px solid #fff;
    border-radius: 100px;
    align-items: center;
    justify-content: flex-start;
    grid-gap: 20px;
    padding: 6px;
    height: fit-content;
    background: #fff;
    box-shadow: 0px 10px 20px -10px rgb(7 0 52 / 10%);
    flex: 1 1 calc(25% - 30px);
    min-width: 200px;
    max-width: 280px;
}

/* Icon container */
.imgimg {
    width: 70px;
    height: 70px;
    background: #f6f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 100px;
    overflow: hidden;
}

/* Industry text */
.roundiconwithdata p {
    font-size: 17px;
    line-height: 28px;
    font-weight: 600;
    color: #101f38;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
    flex: 1;
}

/* Dark theme styles */
.darkmode .roundiconwithdata {
    border-color: var(--black-bg-3);
    background: var(--black-bg-2);
}

.darkmode .roundiconwithdata p {
    color: #ffffff !important;
}

/* Responsive styles */

/* Large screens (1280px+) - 3 columns */
@media only screen and (max-width: 1280px) {
    .roundiconwithdata {
        flex: 1 1 calc(33.333% - 30px);
        min-width: 180px;
        max-width: 250px;
    }
}

/* Medium screens (992px-1280px) - 2 columns */
@media only screen and (max-width: 992px) {
    .roundiconwithdata {
        flex: 1 1 calc(50% - 30px);
        min-width: 160px;
        max-width: 220px;
    }
}

/* Tablets (768px-992px) - 2 columns */
@media only screen and (max-width: 768px) {
    .roundiconwithdata {
        flex: 1 1 calc(50% - 20px);
        min-width: 140px;
        max-width: 200px;
        grid-gap: 14px;
    }

    .imgimg {
        width: 50px;
        height: 50px;
        padding: 9px;
    }

    .roundiconwithdata p {
        font-size: 15px;
        line-height: 25px;
        white-space: normal;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Small screens (575px-768px) - 2 columns */
@media only screen and (max-width: 575px) {
    .cate-with-img-main {
        gap: 15px;
    }

    .roundiconwithdata {
        flex: 1 1 calc(50% - 15px);
        min-width: 120px;
        max-width: 180px;
        grid-gap: 12px;
    }

    .roundiconwithdata p {
        font-size: 14px;
        line-height: 22px;
    }
}

/* Very small screens (400px-575px) - 1 column */
@media only screen and (max-width: 400px) {
    .roundiconwithdata {
        flex: 1 1 100%;
        min-width: 100px;
        max-width: none;
        grid-gap: 10px;
    }

    .imgimg {
        width: 45px;
        height: 45px;
        padding: 8px;
    }

    .roundiconwithdata p {
        font-size: 13px;
        line-height: 20px;
    }
}
