/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Solid dark background to match logo */
body {
    background: #1a1a1a;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-icon {
    animation: float 3s ease-in-out infinite;
}

.float-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.float-icon:nth-child(3) {
    animation-delay: 1s;
}

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(163, 230, 53, 0.8);
}

/* Card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(163, 230, 53, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(163, 230, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Typing cursor effect */
.typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: #a3e635;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Particle canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Stat counter animation */
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #a3e635;
}

/* Glowing border effect */
.glow-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #a3e635, #65a30d, #a3e635);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-border:hover::before {
    opacity: 1;
}
