/* Custom styles complementing Tailwind */
html {
    scroll-padding-top: 80px;
}

/* Smooth focus styles */
*:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #22c55e;
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #153047;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1e4260;
}

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

/* Mobile menu animation */
.mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Service card stagger animation */
.service-card {
    opacity: 1;
}

/* Button ripple effect on click */
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Subtle gradient text fallback */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}
