body {
    background: linear-gradient(to bottom, #2563eb, #93c5fd);
    min-height: 100vh;
    margin: 0;
    font-family: Georgia, serif;
  }
h1, h2, p {
    font-family: Georgia, serif;
}
.navbar-nav .nav-link {
  position: relative;
  }
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.comparison-slider {
  position: relative;
  width: 600px;
  height: 400px;
  overflow: hidden;
}
.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.comparison-slider .img-after {
  animation: swipeReveal 6s ease-in-out infinite alternate;
}
.comparison-slider .slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transform: translateX(-50%);
  animation: barMove 6s ease-in-out infinite alternate;
}
@keyframes swipeReveal {
  0%, 10% {
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
  }
  90%, 100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes barMove {
  0%, 10% {
    left: 0%;
  }
  90%, 100% {
    left: 100%;
  }
}
.slider-status-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 13px;
  background-color: rgba(220, 38, 38, 0.85); /* Red for BEFORE */
  color: #fff;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}
.slider-status-badge.after-mode {
  background-color: rgba(22, 163, 74, 0.85); /* Green for AFTER */
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1.0); }
}
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulseAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.pulse-text {
    animation: pulseAnimation 1.5s infinite ease-in-out;
    font-weight: bold;
    letter-spacing: 2px;
}
