/* Custom Styles & Utilities */
body {
    background-color: #020617;
    color: #ffffff;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Selection Color */
::selection {
    background: #10b981;
    color: #020617;
}

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

@keyframes float-delayed-2 {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

/* Hero Card Animations */
.hero-card-1 {
    animation: float 6s ease-in-out infinite;
}
.hero-card-2 {
    animation: float-delayed 7s ease-in-out infinite;
}
.hero-card-3 {
    animation: float-delayed-2 8s ease-in-out infinite;
}

/* Hover Effects */
.service-card:hover {
    box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.15);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.show {
    max-height: 300px;
    opacity: 1;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero-card-1, .hero-card-2, .hero-card-3 {
        animation: none;
    }
    .group:hover img {
        transform: none;
    }
}
