/* Custom styles beyond Tailwind */

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

/* Geometric accent bar on service cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, #1EC488, #45D9A0);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
}

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

/* Geometric background patterns */
.geo-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(30, 196, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 196, 136, 0.05) 0%, transparent 40%);
}

/* Selection color */
::selection {
    background: rgba(30, 196, 136, 0.3);
    color: #fff;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #45D9A0;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for status dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
