/* DB Studio Website Styles */

/* Custom Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6A0DAD;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a0a91;
}

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, #6A0DAD, #FF6B6B, #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes giraffeWalk {
  0% {
    transform: translateX(-200px) scale(1);
  }
  50% {
    transform: translateX(50vw) scale(1.1);
  }
  100% {
    transform: translateX(calc(100vw + 200px)) scale(0.9);
  }
}

@keyframes danceText {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-10px) rotate(1deg) scale(1.05);
  }
  50% {
    transform: translateY(5px) rotate(-1deg) scale(0.98);
  }
  75% {
    transform: translateY(-5px) rotate(0.5deg) scale(1.02);
  }
}

@keyframes danceTextDelayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-8px) rotate(-1deg) scale(1.03);
  }
  40% {
    transform: translateY(3px) rotate(1deg) scale(0.97);
  }
  60% {
    transform: translateY(-3px) rotate(-0.5deg) scale(1.01);
  }
  80% {
    transform: translateY(2px) rotate(0.5deg) scale(0.99);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Font Family Utilities */
.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

.font-open-sans {
  font-family: 'Open Sans', sans-serif;
}

/* Color Variables for JavaScript Usage */
:root {
  --deep-purple: #5D3FD3;
  --bright-purple: #9370DB;
  --dark-gray-purple: #483D8B;
  --light-purple: #E6E6FA;
  --medium-gray: #666666;
  --pale-gray: #F5F5F5;
  --caption-gray: #999999;
}

/* Partners Slider */
.partners-slider {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.partner-logo {
  min-width: 160px;
}

.partner-logo img {
  transition: all 0.3s ease;
  pointer-events: none;
}

.partner-logo:hover img {
  transform: scale(1.1);
}

/* Cursor styles for dragging */
.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}

/* Smooth transitions for slider */
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent text selection during drag */
.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Giraffe Animation Styles */
.giraffe-animation {
  position: absolute;
  animation: giraffeWalk 15s linear infinite;
}

.giraffe-1 {
  top: 20%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.giraffe-2 {
  top: 60%;
  animation-delay: 6s;
  animation-duration: 22s;
}

.giraffe-3 {
  top: 40%;
  animation-delay: 12s;
  animation-duration: 20s;
}

/* Dancing Text Styles */
.dance-text {
  display: inline-block;
  animation: danceText 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.dance-text-delayed {
  display: inline-block;
  animation: danceTextDelayed 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* Reduce animations on mobile for performance */
@media (max-width: 768px) {
  .giraffe-animation {
    animation-duration: 25s;
  }
  
  .dance-text,
  .dance-text-delayed {
    animation-duration: 4s;
  }
}
@keyframes gradient-x {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 6s ease infinite;
}

/* Add this CSS somewhere global (e.g., index.css or a custom CSS file) */
@keyframes pulse-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}