/* ============================
   TF Image Box
   ============================ */

.tf-imagebox-wrapper {
    display: grid;
    gap: 48px;
}

.tf-imagebox-wrapper.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.tf-imagebox-wrapper.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tf-imagebox-wrapper.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tf-imagebox-wrapper.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================
   Box
   ============================ */
.tf-imagebox {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hover-image img {
    object-fit: cover;
    width: 100%;
    transition: all 1s;
}
.hover-image {
    overflow: hidden;
    position: relative;
}
.hover-image:after {
    width: 200% !important;
}
.image-box:hover .hover-image:after {
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}
.image-box:hover .hover-image img {
    transform: scale(1.1);
}
.tf-imagebox-link {
    display: block;
    text-decoration: none;
    color: inherit;
        width: 100%;
}

/* ============================
   Icon
   ============================ */
.tf-imagebox-img {
    border-radius: 24px;
}

.tf-imagebox-icon {
    color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
        margin-top: -40px;
    z-index: 2;
}
.tf-imagebox-icon svg {
    width: 48px;
    height: 48px;
}
.tf-imagebox-icon svg path{
    fill: #00A8D0;
}
.tf-imagebox-icon i {
    font-size: 48px;
    color: #00A8D0;
}

/* ============================
   Title
   ============================ */
.tf-imagebox-title {
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    margin-top: 32px;
}

.tf-imagebox:hover .tf-imagebox-title {
    color: #00A8D0;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1280px) {
    .tf-imagebox-wrapper.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {

    .tf-imagebox-wrapper.columns-3,
    .tf-imagebox-wrapper.columns-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
}

@media (max-width: 768px) {
     .tf-imagebox-wrapper.columns-3,
    .tf-imagebox-wrapper.columns-4 {
        grid-template-columns: repeat(1, 1fr) !important;
         gap: 30px;
    }

}