/* Custom styles — overrides and additions beyond Tailwind */

/* Smooth focus for accessibility */
*:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Ensure all text has proper contrast */
.text-emerald-800\/70 {
    color: rgba(6, 78, 59, 0.7);
}

/* Custom geometric accent bars */
.accent-bar {
    display: inline-block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 2px;
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}

/* Nav link active state */
.nav-link.active {
    background: #ecfdf5;
    color: #059669;
}

/* Counter styling */
.counter-value {
    display: inline-block;
}

/* Print styles */
@media print {
    nav, #back-to-top, .float-1, .float-2, .float-3, .float-4 {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
