/* Custom CSS for NeuralCo */

:root {
  --color-brand: #800000;
  --color-brand-rgb: 128, 0, 0;
  --color-accent: #3b82f6; /* Blue for contrast/tech feel */
  --color-accent-purple: #8b5cf6;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Glassmorphism Classes */

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

html.dark .glass {
  background: rgba(17, 24, 39, 0.6); /* gray-900 with opacity */
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}


html.dark .glass-card {
  background: rgba(31, 41, 55, 0.4); /* gray-800 with opacity */
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(128, 0, 0, 0.4); /* brand maroon glow border */
  box-shadow: 0 10px 30px -10px rgba(128, 0, 0, 0.3);
}

/* Text Glow Effects */
.text-glow-brand {
  color: var(--color-brand);
  text-shadow: 0 0 15px rgba(var(--color-brand-rgb), 0.6),
               0 0 30px rgba(var(--color-brand-rgb), 0.3);
}

/* Hide scrollbar */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Background Gradients / Blobs */

.bg-blob {
  position: absolute;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
}

.blob-1 {
  background: radial-gradient(circle, var(--color-brand) 0%, transparent 70%);
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
}

@media (max-width: 900px) {
  .blob-1 {
    width: 320px;
    height: 320px;
    top: -60px;
    left: -60px;
  }
}

.blob-2 {
  background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
  width: 400px;
  height: 400px;
  top: 40%;
  right: -50px;
  animation-delay: -5s;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero Word Transition */
#hero-dynamic-word {
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: inline-block;
}

/* Utility to override Tailwind colors if needed */
.text-brand-maroon {
  color: #800000;
}
.bg-brand-maroon {
  background-color: #800000;
}

.team-thumb {
  min-width: 18vw;
  min-height: 18vw;
}
@media (min-width: 640px) {
  .team-thumb {
    min-width: 80px;
    min-height: 80px;
  }
}
@media (min-width: 768px) {
  .team-thumb {
    min-width: 96px;
    min-height: 96px;
  }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f3f4f6; 
}
html.dark ::-webkit-scrollbar-track {
  background: #030712; 
}
::-webkit-scrollbar-thumb {
  background: #d1d5db; 
  border-radius: 4px;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #374151; 
}
::-webkit-scrollbar-thumb:hover {
  background: #800000; 
}
