/* ========================================================
   1. CORE SYSTEM & SCROLLBAR
   ======================================================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Base image safety */
img {
  max-width: 100%;
  display: block;
}

/* ========================================================
   2. REVEAL & BIDIRECTIONAL SCROLL ANIMATIONS
   ======================================================== */
.slide-up {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.slide-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Page View Enter Fade */
.page-view-enter {
  animation: pageViewAnimation 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageViewAnimation {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================================
   3. HERO SLIDER & MULTIPLE IMAGES SPECIFIC STYLES
   ======================================================== */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75);
}

/* Hero Dots */
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  width: 24px;
  background-color: #E31E25;
}

/* ========================================================
   4. NAVIGATION PILL & HOVER ANIMATIONS
   ======================================================== */
@keyframes navIconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-7px) scale(1.15) rotate(-6deg); }
  60% { transform: translateY(-2px) scale(1.08) rotate(4deg); }
  80% { transform: translateY(-4px) scale(1.1) rotate(0deg); }
}

@keyframes navPillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 30, 37, 0); }
  50% { box-shadow: 0 6px 16px -2px rgba(227, 30, 37, 0.35), 0 0 10px rgba(57, 49, 134, 0.25); }
}

.nav-item-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-item-btn:hover {
  transform: translateY(-3px);
}
.nav-item-btn:hover .nav-icon-wrapper {
  animation: navPillGlow 1.8s ease-in-out infinite, navIconBounce 0.75s ease-in-out;
  background: linear-gradient(135deg, rgba(227, 30, 37, 0.14), rgba(57, 49, 134, 0.16));
  border-color: rgba(227, 30, 37, 0.5);
}

.nav-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.7);
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark .nav-icon-wrapper {
  background: rgba(21, 29, 42, 0.7);
}

/* ========================================================
   5. SPECIALTY & WORKSPACE SVG ANIMATIONS
   ======================================================== */
@keyframes pendulumSwing {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(14deg); }
}
.pendulum-swing {
  transform-origin: 50% 0%;
  animation: pendulumSwing 2.2s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.desk-levitate {
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes steamFloat {
  0% { opacity: 0; transform: translateY(0px) scaleX(1); }
  50% { opacity: 0.6; transform: translateY(-7px) scaleX(1.3); }
  100% { opacity: 0; transform: translateY(-14px) scaleX(0.8); }
}
.steam-puff {
  animation: steamFloat 2.5s ease-in-out infinite;
}

/* ========================================================
   6. BUTTON SHIMMER & NEON PULSE
   ======================================================== */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}
.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg);
  transition: all 0.65s ease;
}
.shimmer-btn:hover::after {
  left: 130%;
}

@keyframes neonGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 136, 255, 0.25), inset 0 0 15px rgba(0, 136, 255, 0.15);
    border-color: rgba(0, 136, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 136, 255, 0.5), inset 0 0 25px rgba(0, 136, 255, 0.3);
    border-color: rgba(0, 136, 255, 0.9);
  }
}
.neon-pulse-border {
  animation: neonGlow 3.5s ease-in-out infinite;
}

/* Typewriter Blinker */
.cursor-blink {
  display: inline-block;
  width: 3px;
  margin-left: 4px;
  background-color: currentColor;
  animation: blink 0.8s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Carousel Marquee */
@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollGallery 32s linear infinite;
}
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* Product Card 3D micro hover */
.product-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 25px -5px rgba(57, 49, 134, 0.15), 0 10px 10px -5px rgba(227, 30, 37, 0.08);
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.pin-pulse {
  animation: pinBounce 1.5s ease-in-out infinite;
}

/* ========================================================
   7. SUBPAGE CARD STYLES & FAQ ACCORDION
   ======================================================== */
@keyframes cardFloatingAura {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.4deg); }
}
.card-float-aura {
  animation: cardFloatingAura 4.5s ease-in-out infinite;
}

.glass-interactive-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark .glass-interactive-card {
  background: rgba(17, 23, 38, 0.8);
  border-color: rgba(51, 65, 85, 0.7);
}
.glass-interactive-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(57, 49, 134, 0.25), 0 0 15px rgba(227, 30, 37, 0.15);
  border-color: rgba(227, 30, 37, 0.5);
}

.faq-drawer {
  max-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-drawer.open {
  max-height: 350px;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.holo-banner {
  background: linear-gradient(135deg, #111726 0%, #1e194b 50%, #0e131f 100%);
  box-shadow: 0 10px 25px -5px rgba(57, 49, 134, 0.4), inset 0 0 12px rgba(0, 136, 255, 0.3);
  border: 1.5px solid rgba(0, 136, 255, 0.4);
}

@media (max-width: 640px) {
  .carousel-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .carousel-track {
    animation: none !important;
  }
}

html, body { overflow-x: hidden; max-width: 100%; }

/* product-card ka transition reveal animation ko override na kare */
.product-card {
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
}

@media (max-width: 640px) {
  .carousel-container { overflow-x: auto !important; }
  .carousel-track { animation: none !important; }
  .dup-card { display: none; }
}
