.toggle-container {
  margin-top: 15px;
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Glassmorphism */
.glass {
  background: rgba(68, 67, 68, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-header {
  background: rgba(68, 67, 68, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-footer {
  background: rgba(68, 67, 68, 0.05);
  backdrop-filter: blur(1.5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: none;
  border-bottom-right-radius: none;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Swatch Animations */
.swatch {
  transition: all 0.3s ease-in-out;
}
.swatch:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
/* Sidebar Animation */
.sidebar {
  transition: transform 0.3s ease-in-out;
}
.sidebar-hidden {
  transform: translateX(100%);
}
/* Updated Gradient Background to Black Gradient */
body {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}
/* Active State for Hero Buttons */
.mode-active {
  background-color: rgba(59, 130, 246, 0.8);
  border-bottom: 2px solid white;
}
.mode-inactive {
  background-color: rgba(255, 255, 255, 0.2);
  border-bottom: none;
}
/* Sticky Toggle Buttons */
.sticky-toggle {
  position: sticky;
  top: 100px;
  z-index: 10;
}
.toggle-container {
  margin-bottom: 2rem;
  padding-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Notification */
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  z-index: 50;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}
/* Tooltip Styling */
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.group:hover .tooltip {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes revealText {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
.fade-in {
  animation: fadeIn 1.5s ease-in forwards;
}
.reveal-text {
  display: inline-block;
  animation: revealText 1.8s ease-in forwards;
}
/* Footer Icon Hover */
.footer-icon {
  transition: transform 0.3s ease-in-out;
}
.footer-icon:hover {
  transform: scale(1.2);
}
.glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  font-weight: bold;
}
.glow-on-hover:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000,
    #543720
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}
.glow-on-hover:active {
  color: #000;
}
.glow-on-hover:active:after {
  background: transparent;
}
.glow-on-hover:hover:before {
  opacity: 1;
}
.glow-on-hover:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}
@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.glow-grid {
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%; /* Fallback for w-1/5 */
  padding: 0.75rem; /* Fallback for p-2 sm:p-3 */
  border-radius: 0.5rem; /* Fallback for rounded-lg */
  transition: all 0.3s ease-in-out;
}
.swatch:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
