/* Custom utility overrides and additional styles */
:root {
    --plum-deep: #1e1035;
    --amber-gold: #fbbf24;
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #f5f0ff;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animated gradient border for premium cards */
@keyframes borderShift {
    0%, 100% { border-color: rgba(168, 85, 247, 0.15); }
    50% { border-color: rgba(251, 191, 36, 0.3); }
}

/* Subtle water ripple animation for hero background */
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.5; }
}

.hero-bg {
    animation: ripple 8s ease-in-out infinite;
}

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

.service-card .w-14 {
    transition: transform 0.4s ease;
}

/* Mobile menu line animation */
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Parallax-like subtle movement on scroll */
@media (prefers-reduced-motion: no-preference) {
    .stat-card {
        will-change: transform;
    }
}
