/* Custom styles — extends Tailwind where needed */

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

/* Selection color */
::selection {
    background: rgba(52, 212, 180, 0.25);
    color: #0A1628;
}

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

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Image loading placeholder */
img {
    background-color: #f0fdf9;
}

/* Subtle gradient border on service cards */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(52, 212, 180, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Map container overlay */
.map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
