/* Space Grotesk Font Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Apply Space Grotesk as default font */
body {
  font-family: 'Space Grotesk', sans-serif;
}

/* Utility classes for specific font weights */
.font-thin {
  font-weight: 300;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Basic Tailwind Utilities */
.font-space-grotesk {
  font-family: 'Space Grotesk', sans-serif;
}

/* Video Background Styles */
.video-background {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Improve video performance */
video {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Responsive video */
@media (max-width: 768px) {
  .video-background video {
    object-position: center;
  }
}

/* Video loading states */
.video-loading {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Full screen video background section */
.full-video-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.full-video-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.full-video-bg .content {
  position: relative;
  z-index: 2;
}

/* Video background container */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .video-container video {
    display: none;
  }
  
  .full-video-bg::before {
    background-color: rgba(0, 0, 0, 0.85);
  }
}

/* Transparent Header Styles */
header {
  background-color: transparent !important;
  backdrop-filter: none;
}

header.bg-transparent {
  background-color: transparent !important;
}

header.bg-transparent.scrolled {
  background-color: transparent !important;
}

/* Header transition */
header.transition-all {
  transition: all 0.5s ease;
}

/* Ensure header text remains visible on transparent background */
header a,
header span {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navigation styling for transparent header */
.nav-transparent {
  background-color: transparent;
}

.nav-transparent ul li a {
  color: white;
  transition: color 0.3s ease;
}

.nav-transparent ul li a:hover {
  color: #fbbf24; /* yellow-400 */
}

.text-center {
  text-align: center;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-yellow-400 {
  color: #fbbf24;
}

.bg-black {
  background-color: #000;
}

.bg-gray-900 {
  background-color: #111827;
}

.bg-yellow-400 {
  background-color: #fbbf24;
}

.p-8 {
  padding: 2rem;
}

.p-3 {
  padding: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.w-full {
  width: 100%;
}

.h-screen {
  height: 100vh;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.leading-7 {
  line-height: 1.875rem;
}

.leading-relaxed {
  line-height: 1.625;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.scale-90 {
  transform: scale(0.9);
}

.scale-105 {
  transform: scale(1.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.border {
  border-width: 1px;
}

.border-gray-700 {
  border-color: #374151;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-x-scroll {
  overflow-x: scroll;
}

.h-full {
  height: 100%;
}

.w-10 {
  width: 2.5rem;
}

.object-cover {
  object-fit: cover;
}

.text-black {
  color: #000;
}

.text-white {
  color: #fff;
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-10 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.-mt-16 {
  margin-top: -4rem;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}