/* Additional custom styles */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #9333ea;
    color: #faf5ff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #faf5ff;
}
::-webkit-scrollbar-thumb {
    background: #c084fc;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}

/* Navbar transition */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

/* Mobile link hover */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(243,232,255,0.1);
    transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover {
    color: #fbbf24;
    padding-left: 8px;
}

/* Service card icon animation */
.service-card:hover .w-14 {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s;
}
.service-card .w-14 {
    transition: transform 0.3s;
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Pulse ring for hero badge */
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(251,191,36,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(251,191,36,0); }
    100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
}
.geo-circle[style*="320px"] {
    animation: pulseRing 3s infinite;
}

/* Reduce motion */
@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; }
    .marquee-track { animation: none; }
    .reveal-hidden { opacity: 1 !important; transform: none !important; }
}
