:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

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

.nav-link.is-active::after {
    width: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-img {
    transition: transform 0.3s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.scroll-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

#loader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5faff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
    border: 3px solid #f5faff;
    transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #007bff #f5faff;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}
