.services {
  padding: 160px 0;
  width: 75%;
  margin: 0 auto;
  color: #fff;
  position: relative; 
}

.services-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.services-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.2rem;

  font-size: 0.75rem;
  letter-spacing: 0.5px;

  color: #d6d6d6;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.25),
    rgba(180, 180, 180, 0.15)
  );

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;

  backdrop-filter: blur(6px);
}

.services-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  padding: 36px 30px;
  min-height: 220px;

  background: radial-gradient(
    500px 500px at 25% 30%,
    rgba(187, 136, 49, 0.5),
    transparent 60%
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;

  opacity: 0;
  overflow: hidden;
  transform: translateY(60px);

  z-index: 2;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  opacity: 0.5;
  pointer-events: none;
}

.card-bg-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;

  width: 144px;
  height: 144px;

  opacity: 0.2;
  pointer-events: none;

  transform: rotate(-10deg);
  transition: transform 0.6s ease, opacity 0.6s ease;

  border-radius: 15px;
   filter: invert(1) brightness(2);
}

.service-card:hover .card-bg-icon {
  transform: translateY(-6px) rotate(-6deg) scale(1.05);
  opacity: 1;
}

@media (max-width: 1024px) {
  .services {
    width: 90%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.btn-icon {
  font-size: 1rem;
  line-height: 1;
}

.filled-btn {
  background-color: #bb8831;
  color: #fff;
  border: none;
  overflow: hidden;
}

.filled-btn::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.outline-btn {
  background: transparent;
  color: #bb8831;
  border: 1.5px solid #bb8831;
}

.outline-btn:hover {
  background: rgba(187, 136, 49, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}