/* Container setup for full-screen fixed background layer */
#app-body {
  position: relative;
  overflow-x: hidden;
}

/* Fullscreen Background Cross-fade Container */
#bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: blur(12px) brightness(0.85);
  transform: scale(1.08);
  transition: opacity 0.8s ease-in-out;
}

.bg-layer.active {
  opacity: 1;
}

/* Clear Transparent Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
              inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.glass-card input,
.glass-card textarea,
.glass-card select {
  background: rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Product Image animation styling */
#product-img {
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.slide-left {
  animation: slideInLeft 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-right {
  animation: slideInRight 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(50px) scale(0.88) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(-50px) scale(0.88) rotate(-4deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

/* Team Card Hover Animation */
.team-card {
  transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}