/* Custom styles for Haven Home Health */

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

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover effects */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(54, 184, 126, 0.2);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #112240;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a192f;
}

/* Selection color */
::selection {
    background-color: #ccf3db;
    color: #020c1b;
}

/* Animation for back to top button */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Print styles */
@media print {
    header,
    footer,
    #back-to-top,
    .service-card,
    .testimonial-card {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
