/* Custom Styles for Cherie Breda Medical & Health */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f9f5f7;
}

::-webkit-scrollbar-thumb {
    background: #d4b8c8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b08aa0;
}

/* Selection Color */
::selection {
    background-color: #ffe9a8;
    color: #301528;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 194, 51, 0.2);
}

/* Button Hover Effects */
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(85, 43, 71, 0.3);
}

/* Image Loading Fade */
img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(85, 43, 71, 0.1);
}

/* Service Card Hover */
.group:hover .w-14 {
    transform: scale(1.05);
}

.w-14 {
    transition: transform 0.3s ease;
}

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

.absolute.-bottom-6.-left-6 {
    animation: float 3s ease-in-out infinite;
}
