/* Custom Animations & Styles for Winning Solution */

:root {
    --navy: #0F172A;
    --accent: #2563EB;
    --amber: #F59E0B;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Custom Nav Link */
.nav-link {
    position: relative;
    color: var(--navy);
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-active .faq-content {
    max-height: 500px;
}

/* Adjust max-height as needed */

.text-outline {
    -webkit-text-stroke: 1px var(--teal);
    color: transparent;
}

/* Navbar active states */
.scrolled .nav-link {
    color: var(--navy);
}

.scrolled .nav-link:hover {
    color: var(--teal);
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite 2s;
}

/* Service Card Hover */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.service-card:hover {
    border-color: var(--accent);
}

/* Bounce in effect for CTA */
@keyframes bounce-in {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in:hover {
    animation: bounce-in 0.5s ease-out forwards;
}

/* Smooth Scroll behavior handled by tailwind class scroll-smooth but added here for fallback */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid var(--navy);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* AOS Tweaks */
[data-aos] {
    transition-timing-function: cubic-bezier(.4, 0, .25, 1);
}

/* Tab Styles */
.tab-btn {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: var(--navy);
}

.tab-btn.active {
    background: var(--navy) !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

.tab-btn.active span {
    color: white !important;
}

.tab-content {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-bounce-x {
    animation: bounceX 1.5s infinite;
}

@keyframes bounceX {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
        color: var(--accent);
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}