:root {
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #1e293b;
  --color-primary: #0ea5e9;
  --color-secondary: #64748b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

#app-wrapper {
  width: 100%;
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  /* Hide for Firefox */
  -ms-overflow-style: none !important;
  /* Hide for IE/Edge */
}

#app-wrapper::-webkit-scrollbar {
  display: none !important;
  /* Hide for Chrome/Safari/Brave */
}

body {
  font-family: 'Source Sans 3', sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

.hero-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(14, 165, 233, 0.2);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.video-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-1 {
  animation-delay: 0.2s;
}

.stagger-2 {
  animation-delay: 0.4s;
}

.stagger-3 {
  animation-delay: 0.6s;
}

/* Scroll-triggered animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-fade-in.visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-60px);
}

.scroll-slide-left.visible {
  animation: slideInLeft 0.8s ease-out forwards;
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(60px);
}

.scroll-slide-right.visible {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Button animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section animations */
.section-animate {
  animation: slideUp 0.6s ease-out;
}

/* Button smooth transitions */
button,
a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Continuous Marquee Animation */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
  -webkit-mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 15%,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 15%,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 100%);
  gap: 8rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-width: 100%;
  gap: 8rem;
  padding: 1.5rem 0;
  animation: scroll 60s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 8rem));
  }
}



/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal overflow on long words/titles */
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}