/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

/* Animations */
.fade-in {
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism for cards */
.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
}

/* Corrected Smooth Scroll Logic */
html {
    scroll-behavior: smooth;
}

/* The 'Anchor Fix' - Using !important ensures it overrides Tailwind's defaults */
#services, 
#methodology, 
#who-we-are, 
#contact {
    scroll-margin-top: 140px !important;
}
/* Smoothly transition the nav and logo size changes */
nav, nav img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}