/* Custom styles for dark theme and typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1117; /* Deep Dark theme background */
    color: #e5e7eb;
    overflow-x: hidden;
}

/* Hero Canvas Styling for 3D effect */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Subtle 3D background */
}

/* Ensure sections are stacked correctly over the canvas */
.content-container {
    position: relative;
    z-index: 10;
}

/* Custom scroll animation utility class */
.animate-scroll-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-scroll-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Style for primary buttons */
.primary-button {
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.primary-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}

/* Hide the scrollbar for the horizontal menu on mobile devices */
.overflow-x-auto::-webkit-scrollbar {
    display: none;
}
.overflow-x-auto {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Custom Keyframes for subtle floating animation */
@keyframes subtle-float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.02); }
}

/* Apply the animation to the image container */
.animate-float-subtle {
    animation: subtle-float 4s ease-in-out infinite alternate;
}