/* Custom styles for Tactical Financial Solutions */

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

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

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

::-webkit-scrollbar-thumb {
    background: #1A3A6B;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fff;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(6, 17, 36, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

/* Pulse animation with custom timing */
@keyframes customPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.animate-pulse {
    animation: customPulse 4s ease-in-out infinite;
}

/* Service card hover effect */
.group:hover .group-hover\:bg-mint-500\/20 {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #34D399, #10B981);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Testimonial card hover */
.bg-midnight-700\/40:hover {
    background-color: rgba(15, 34, 64, 0.8);
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

/* CTA button hover glow */
a:hover {
    transition: all 0.3s ease;
}

/* Image hover zoom */
.group:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* Process step connector line */
.lg\:block {
    position: absolute;
    top: 40px;
    left: 60%;
    width: 80%;
    height: 1px;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .lg\:block {
        display: none !important;
    }
}

/* Subtle text gradient */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

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

/* Loading state for buttons */
button:disabled,
button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    nav,
    #contact,
    .bg-gradient-to-r {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
