/* Icon fallback styles */
.service-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #2c5aa0;
    font-size: 24px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 24px;
    line-height: 1;
}

.service-icon .icon-fallback {
    font-size: 24px;
    line-height: 1;
}

/* FontAwesome leaf icon */
.service-icon i.fa-leaf:before {
    content: "\f06c";
}

/* Show fallback if icons don't load */
.service-icon i.ti-leaf:before {
    content: "\e64a";
}

/* If the icon font fails to load, show emoji fallback */
@supports not (font-family: "themify") {
    .service-icon i.ti-leaf {
        display: none;
    }
    .service-icon .icon-fallback {
        display: inline-block !important;
    }
}

/* Hover effects */
.service-card:hover .service-icon {
    background-color: #2c5aa0;
    color: white;
    transform: translateY(-5px);
}

/* Ensure all service icons have consistent styling */
.service-icon i.ti-car:before { content: "\e6b5"; }
.service-icon i.ti-heart:before { content: "\e634"; }
.service-icon i.ti-home:before { content: "\e69b"; }
.service-icon i.ti-world:before { content: "\e665"; }
.service-icon i.ti-briefcase:before { content: "\e651"; }

/* FontAwesome icons support */
.service-icon i.fa {
    font-family: 'FontAwesome';
}