/* Custom styles and overrides */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a192f;
}

::-webkit-scrollbar-thumb {
    background: #112240;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a2f54;
}

/* Selection color */
::selection {
    background: #56d49d;
    color: #020c1b;
}

/* Hero image gradient overlay on hover */
.hero-img-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 12, 27, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

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

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

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(86, 212, 157, 0.3); }
    50% { box-shadow: 0 0 40px rgba(86, 212, 157, 0.6); }
}

.cta-glow:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Geometric shape decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #56d49d;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .float-animation {
        animation: none;
    }
    
    .cta-glow:hover {
        animation: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-img-wrapper {
        margin-top: 2rem;
    }
}
