/* Service Gallery Images - Square with Cover */
.service-gallery-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.service-gallery-image:hover {
    transform: scale(1.05);
}

/* Ensure thumb-info-wrapper maintains square aspect */
.thumb-info-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px !important;
}

.thumb-info-wrapper img.service-gallery-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile Responsive Service Gallery */
@media (max-width: 768px) {
    .service-gallery-image {
        height: 250px !important;
    }
    
    .thumb-info-wrapper {
        height: 250px !important;
    }
}

@media (max-width: 576px) {
    .service-gallery-image {
        height: 200px !important;
    }
    
    .thumb-info-wrapper {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .service-gallery-image {
        height: 180px !important;
    }
    
    .thumb-info-wrapper {
        height: 180px !important;
    }
}

/* Client Carousel Styles */
.client-item {
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
}

.client-item .bg-white {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.client-item:hover .bg-white {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #007bff;
}

/* Custom heading styles */
.custom-heading-1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    margin-bottom: 1rem;
}

.custom-heading-1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Responsive adjustments for client carousel */
@media (max-width: 768px) {
    .client-item .bg-white {
        height: 100px !important;
        padding: 1rem !important;
    }
    
    .client-item img {
        max-height: 60px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .client-item .bg-white {
        height: 80px !important;
        padding: 0.75rem !important;
    }
    
    .client-item img {
        max-height: 50px !important;
        max-width: 100px !important;
    }
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: white;
}

.floating-btn:active {
    transform: translateY(-1px);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.call-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* Animation for floating effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-btn {
    animation: float 3s ease-in-out infinite;
}

.floating-btn:hover {
    animation: none;
}

/* Social Media Icons */
.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.twitter:hover {
    background: #1a91da;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover {
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.linkedin:hover {
    background: #006ba1;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-action-buttons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
