@theme {
  /* Font Family definitions for ultra-modern look */
  --font-sans: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Redefine amber palette to a beautiful, highly modernized Sapphire & Gold Cream theme */
  /* This combines pure luxury sapphire blue with soft golden-cream secondary accents */
  --color-amber-50: #f8fafc; /* Sleek cool off-white */
  --color-amber-100: #f1f5f9; /* Slate 100 base */
  --color-amber-200: #e2e8f0; /* Slate 200 border */
  --color-amber-300: #3b82f6; /* Modern Sapphire Blue */
  --color-amber-400: #2563eb; /* Energetic brand Blue */
  --color-amber-500: #1d4ed8; /* Premium Deep Blue */
  --color-amber-600: #1e40af; /* Luxurious Royal Blue hover */
  --color-amber-700: #1e3a8a; /* Pressed Sapphire */
  --color-amber-800: #0f172a; /* Slate 900 for modern deep typography text */
  --color-amber-900: #020617; /* Very deep slate black for display headings */
  --color-amber-950: #020617;
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Base custom interactive styles */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
body.bg-slate-50, body {
  font-family: var(--font-sans);
  background-color: #f2f7fc !important;
  background-image: 
    radial-gradient(at 5% 5%, rgba(245, 158, 11, 0.06) 0px, transparent 40%),
    radial-gradient(at 95% 5%, rgba(37, 99, 235, 0.05) 0px, transparent 40%),
    radial-gradient(at 50% 90%, rgba(191, 219, 254, 0.3) 0px, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 80 Q 40 50, 80 80 T 160 80 L 160 160 L 0 160 Z' fill='rgba%28255,255,255,0.09%29'/%3E%3Cpath d='M0 120 Q 40 100, 80 120 T 160 120 L 160 160 L 0 160 Z' fill='rgba%28255,255,255,0.06%29'/%3E%3C/svg%3E") !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 240px 240px !important;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Modern Card Hover Effects */
.premium-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.01);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
  border-color: transparent !important;
}

/* Card Image Border-Radius Transition & Popping Effect */
.premium-card a.relative.block,
#products-carousel > div .relative.aspect-video {
  margin: 12px 12px 0 12px;
  border-radius: 16px;
  overflow: hidden;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover a.relative.block,
#products-carousel > div:hover .relative.aspect-video {
  border-radius: 24px;
  transform: scale(1.02);
}

/* Remove carousel product card border color on hover */
#products-carousel > div:hover {
  border-color: transparent !important;
}

/* Dynamic Glassmorphism Layer */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Glowing Accent Ring */
.glow-on-hover:hover {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
}

/* Interactive gradient text animation */
.gradient-text-animated {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #1d4ed8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Scroll reveal scroll-reveal utility classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-0 {
  transition-delay: 0ms;
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

/* Shimmering skeleton loader class - brand-aligned with soft dairy blue shimmer */
.skeleton {
  background: linear-gradient(90deg, #f8fafc 25%, #e0effe 50%, #f8fafc 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
}

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

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Infinite Marquee Animation for Certification Ticker Tape */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Parallax style override to ensure hardware accelerated performance */
#hero-content-container {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.3s ease-out; /* Omit transform transition to prevent scroll lag */
}


