/* Explain: Global styles, including resets, body defaults, and utility class animations. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[x-cloak] { 
    display: none !important; 
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Floating Actions & Buttons Pulse */
.floating-action-btn {
    animation: btn-pulse 2s infinite ease-in-out;
}

.floating-action-btn:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes btn-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn, button[aria-label="اسأل المساعد الذكي"] {
    animation: btn-pulse 2s infinite ease-in-out;
}

.btn:hover, .floating-action-btn:hover, button[aria-label="اسأل المساعد الذكي"]:hover {
    animation-play-state: paused;
}