/* Custom Font */
body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Text Gradient */
.hero-text-gradient {
    background: linear-gradient(to right, #38bdf8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.hero-text-gradient-secondary {
    background: linear-gradient(to right, #a3a3a3, #e5e5e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


/* Subtle grid pattern for the hero background */
.bg-grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 2rem 2rem;
}


/* Dark Service Card Styling */
.service-card {
    background-color: #0c131e; /* Very dark blue */
    border: 1px solid #1e293b; /* gray-800 */
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3); /* blue-500 glow */
    border-color: rgba(59, 130, 246, 0.5);
}

.service-card img {
    border-bottom: 1px solid #1e293b;
    transition: transform 0.3s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}

/* Dark Team Member Styling */
.team-member {
    background-color: #111827; /* gray-900 */
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #1e293b;
    transition: transform 0.3s ease, background-color 0.3s ease;
    min-width: 220px;
}

.team-member:hover {
    transform: translateY(-5px);
    background-color: #1f2937; /* gray-800 */
}

/* Contact Link Styling */
.contact-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #3b82f6; /* blue-600 */
    color: #eff6ff; /* blue-50 */
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link:hover {
    background-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* --- Animations --- */

/* Initial state for hero animation */
.fade-in-up {
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state for scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}