/* Custom styles that complement Tailwind CSS */

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

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

::-webkit-scrollbar-track {
    background: #1a2744;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #3dc974;
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(88, 214, 141, 0.3); }
    50% { box-shadow: 0 0 40px rgba(88, 214, 141, 0.6); }
}

/* Floating animation for geometric shapes */
.geometric-shape {
    animation: float 6s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.geometric-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 7s;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #58d68d 0%, #7dcea8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover card lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.2);
}

/* Pulse animation for CTAs */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .geometric-shape,
    .animate-bounce {
        display: none;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #58d68d;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Selection color */
::selection {
    background: #58d68d;
    color: #0a1128;
}
