/* Custom styles for R.A Waide & Associates */

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

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Selection color */
::selection {
    background-color: rgba(16, 185, 129, 0.3);
    color: white;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Subtle hover effect for cards */
.group:hover .group-hover\:bg-mint-500\/20 {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Transition for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Button hover lift effect */
button,
a {
    transition: all 0.2s ease-in-out;
}

button:hover,
a:hover {
    transform: translateY(-1px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}
