/* Custom Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Animations for cards */
.service-card, .stat-card {
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.service-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.1);
}

/* WhatsApp Icon Animation */
.whatsapp-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Text Animation */
.hero-section h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    animation: fadeInUp 1.2s ease-out;
}

/* Smooth Transition for Theme Toggle */
body, .navbar, .card, .footer {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Fix text contrast in dark footer - text-muted has low contrast on bg-dark */
.footer .text-muted {
    color: #adb5bd !important;
}
.footer .text-white {
    color: #dee2e6 !important;
}
.footer .h5, .footer h5 {
    color: #ffffff !important;
}

/* Image Hover Effects */
.service-image img {
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.1);
}

/* Product Badge Animation */
.badge {
    transition: transform 0.3s ease;
}

.service-card:hover .badge {
    transform: scale(1.1);
}
