/* Custom Performance CSS - Extracted from inline styles */

.thumb-slide-effect {
    position: relative;
    overflow: hidden;
    border-radius: none;
    will-change: transform;
}

.thumb-slide-effect:before {
    background: rgba(54, 107, 42, 0.27);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: -100%;
    transition: all 0.6s ease-out;
    content: "";
    z-index: 2;
    border-radius: none;
}

.thumb-slide-effect:after {
    position: absolute;
    content: "";
    background: rgba(54, 107, 42, 0.36);
    height: 100%;
    width: 100%;
    left: 0;
    bottom: -100%;
    z-index: 3;
    transition: all 0.6s ease-out;
    border-radius: none;
    opacity: 0.6;
}

.service_single_item:hover .thumb-slide-effect:before,
.owl-carousel .service_single_item:hover .thumb-slide-effect:before {
    top: 0 !important;
}

.service_single_item:hover .thumb-slide-effect:after,
.owl-carousel .service_single_item:hover .thumb-slide-effect:after {
    bottom: 0 !important;
}

.service_single_item .thumb-slide-effect img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 10px;
}

.service_single_item:hover .thumb-slide-effect img {
    transform: scale(1.05);
}

/* Owl Carousel specific fixes */
.owl-carousel .service_single_item .thumb-slide-effect {
    position: relative !important;
    overflow: hidden !important;
}

.owl-carousel .service_single_item .thumb-slide-effect:before {
    position: absolute !important;
    top: -100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
}

.owl-carousel .service_single_item .thumb-slide-effect:after {
    position: absolute !important;
    bottom: -100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3 !important;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .service_single_item .thumb-slide-effect:before,
    .service_single_item .thumb-slide-effect:after {
        transition: none !important;
        opacity: 0 !important;
    }
    
    .thumb-slide-effect::before,
    .thumb-slide-effect::after,
    .thumb-slide-effect:hover::before,
    .thumb-slide-effect:hover::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .thumb-slide-effect {
        transform: none !important;
        transition: none !important;
    }
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    background: #fff;
}

.file-label {
    background: #366B2A;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    transition: background 0.3s;
}

.file-label i {
    margin-right: 6px;
}

.file-label:hover {
    background: #E43636;
}

.file-input {
    display: none;
}

#file-name {
    font-size: 14px;
    color: #666;
}

.whatsapp-float {
    width: 49px;
    height: 49px;
    background-color: #20b954;
    color: #fff;
    border-radius: 24%;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #fff;
    text-decoration: none;
}
    
.floating-buttons {
    position: fixed;
    bottom: 35px;
    right: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
 
    z-index: 9999999999;
}

.floating-buttons .prgoress_indicator {
    position: static;
    right: auto;
    bottom: auto;
}