.widget.ft_category_box_widget h3 {
    text-align: center;
    text-transform: none;
    color: var(--Black, #232536);
font-family: Archivo;
font-size: 36px;
font-style: normal;
font-weight: 700;
line-height: 48px; 
margin-bottom: 48px;
}

.categories-widget {
    display: flex;
    flex-direction: column; /* Column layout by default for mobile */
    gap: 20px;
    flex-wrap: wrap;
}

.categories-widget .category-box {
    flex: 1 1 100%; /* Full width for mobile */
    border: 1px solid #e1e1e1;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row; /* Ensures the icon and text are in a row */
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: clamp(90px, 10vw, 110px); /* Dynamic height with clamp */
}

.categories-widget .category-box:hover {
    background-color: #025550;
    color: #fff;
}

.categories-widget .category-icon img {
    max-width: 40px; /* Adjust the size of the icon as needed */
    height: auto;
}

.categories-widget .category-box:hover .category-icon img {
    filter: brightness(0) invert(1); /* Makes the icon white on hover */
}

.categories-widget .category-name {
    color: var(--Black, #232536);
    font-family: Archivo;
    font-style: normal;
    font-weight: 700;
    line-height: clamp(14px, 2vw, 40px); /* Dynamic line-height with clamp */
    /*letter-spacing: -1px;*/
}

.categories-widget .category-box:hover .category-name {
    color: #FFF;
}

@media (max-width: 1440px) {
    .categories-widget .category-name {
        font-size: clamp(14px, 2vw, 20px); /* Dynamic font-size with clamp below 1440px */
    }
}

@media (min-width: 1441px) {
    .categories-widget .category-name {
        font-size: 20px; /* Fixed font-size above 1440px */
    }
}

@media (min-width: 768px) {
    .categories-widget {
        flex-direction: row;
        justify-content: space-between;
    }

    .categories-widget .category-box {
        flex: 1 1 calc(25% - 20px); /* Equal width for tablet and larger screens */
    }
}