.policy-btn {
  display: inline-block;
  padding: 12px 26px; /* slightly smaller height & width */
  border-radius: 40px; /* balanced with smaller size */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25), 0 5px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  font-size: 0.95rem; /* slightly smaller text */
}

/* Animated shine line */
.policy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.policy-btn:hover::before {
  left: 125%;
}

/* 3D Hover & Press Effect */
.policy-btn:hover {
  transform: translateY(-3px) rotateX(8deg);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25), 0 12px 20px rgba(0, 0, 0, 0.3);
}

.policy-btn:active {
  transform: translateY(2px) rotateX(0deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* Color Themes */
.policy-btn.blue {
  background: linear-gradient(145deg, #007bff, #00bfff);
}

.policy-btn.green {
  background: linear-gradient(145deg, #28a745, #5cd85c);
}

.policy-btn.yellow {
  background: linear-gradient(145deg, #ffc107, #ffda47);
  color: #333;
}

.policy-btn.red {
  background: linear-gradient(145deg, #dc3545, #ff6b81);
}

/* Responsive */
@media (max-width: 768px) {
  .policy-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 8px; /* tighter spacing on mobile */
  }
}

/* Reduce space between buttons in desktop view */
.d-flex.gap-3 {
  gap: 0.75rem !important; /* smaller gap between buttons */
}
