/*--------------------------------------------------
 # Button Styles
--------------------------------------------------*/
/*--------------------------------------------------
 # Base Button Styles + Ripple Effect
--------------------------------------------------*/
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}


/* =============================
   Primary Button Variant
   ============================= */
.btn-primary {
  background: linear-gradient(90deg, #4527a0, #7b1fa2);
  color: #fff;
  box-shadow: 0 5px 15px rgba(123, 31, 162, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #3b1f8a, #6a1a8c);
  transform: translateY(-2px);
}

/* =============================
   Services Button Variant
   ============================= */
.btn-services {
  background: #ffffff;
  color: #4527a0;
  border: 2px solid #4527a0;
  box-shadow: 0 5px 15px rgba(123, 31, 162, 0.2);
}

.btn-services:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 31, 162, 0.3);
}

/* =============================
   Outline Button Variant
   ============================= */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255,255,255,0.05); /* subtle shadow at rest */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
  color: #fff;
    color: #fff;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transition: all 0.5s ease;
    z-index: -1;
    transform: skewX(-15deg);
}

.btn-outline:hover::before {
    width: 100%;
}

/* =============================
   View More Button (Portfolio Section)
   ============================= */
.view-more .btn {
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.view-more .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(69, 39, 160, 0.2);
  color: #fff;
}