/* e-adam.com Design System & UI Architecture Styles */

:root {
  /* Color Palette - Oklch mapped to Hex equivalents */
  --primary: #D1FE3F;             /* Neon Lime/Green */
  --primary-foreground: #000000;
  
  --secondary: #F4FFCC;          /* Light green/yellow accent border */
  --secondary-bg: #E3E7EB;       /* Card backgrounds */
  --background: #FFFFFF;
  --foreground: #111111;         /* Main text color */
  --muted-foreground: #5E5E5E;   /* Muted paragraph text */
  --border: rgba(17, 24, 39, 0.1);
  --dark-bg: #111111;            /* Footer background */
  --dark-card: #202025;          /* Inner CTA cards */

  /* Fonts & Weights */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base Styles */
body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accent Underline Animation for Hero Section */
.hero-gradient-text {
  background: linear-gradient(to right, rgba(209, 254, 63, 0.9), #D1FE3F);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
}

/* Custom Scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* --- INFINITE MARQUEE ANIMATION --- */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.animate-marquee {
  animation: marquee var(--duration, 30s) linear infinite;
}

.animate-marquee-reverse {
  animation: marquee-reverse var(--duration, 30s) linear infinite;
}

.marquee-container {
  display: flex;
  width: max-content;
  gap: var(--gap, 20px);
}

/* --- ORBIT ANIMATIONS --- */
@keyframes orbit-cw {
  0% {
    transform: rotate(0deg) translateY(var(--radius)) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateY(var(--radius)) rotate(-360deg);
  }
}

@keyframes orbit-ccw {
  0% {
    transform: rotate(360deg) translateY(var(--radius)) rotate(-360deg);
  }
  100% {
    transform: rotate(0deg) translateY(var(--radius)) rotate(0deg);
  }
}

.animate-orbit {
  animation: orbit-cw var(--duration, 30s) linear infinite;
}

.animate-orbit-reverse {
  animation: orbit-ccw var(--duration, 30s) linear infinite;
}

/* --- NPROGRESS STYLES --- */
#nprogress {
  pointer-events: none;
}
#nprogress .bar {
  background: var(--primary);
  position: fixed;
  z-index: 1600;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px var(--primary), 0 0 5px var(--primary);
  opacity: 1;
  transform: rotate(3deg) translate(0px, -4px);
}

/* Custom Interactive States */
.transition-custom {
  transition: all 0.2s ease-in-out;
}

/* Hover effects for services grid cards */
.service-card-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.service-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.05);
}

/* Video grid thumbnail hover overlay effect */
.video-grid-card {
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.video-grid-card:hover {
  filter: grayscale(0) brightness(0.9);
  transform: scale(1.02);
}
