body {
  background: 
    linear-gradient(180deg, #3a277cdd 0%, #000a 100%),
    url('/pages/stylish/images/background.jpg') center/cover no-repeat;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  background-blend-mode: overlay;
}

.services-hero,
.loan-lifecycle {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 600px;
  background: none;
}

.services-overlay {
  background: linear-gradient(180deg, #3a277cdd 0%, #000a 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
}

.services-hero > .container,
.loan-lifecycle > .container {
  position: relative;
  z-index: 2;
}

/* Service Cards */
.service-card {
  min-height: 320px;
  box-shadow: 0 6px 24px #0002;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px #0004;
  background: rgba(255, 255, 255, 0.90);
}

.service-icon img {
  filter: grayscale(1) brightness(0.2) sepia(0.8) hue-rotate(200deg) saturate(2.5);
}

.btn-outline-primary {
  border-color: #3a277c;
  color: #3a277c;
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #3a277c;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #3a277c;
  border: none;
  font-weight: 700;
  border-radius: 2rem;
}

.loan-lifecycle .lifecycle-step {
  background: rgba(40, 38, 95, 0.15);
  border-radius: 18px;
  box-shadow: 0 4px 18px #0002;
  padding: 35px 24px;
  height: 100%;
  position: relative;
}

.loan-lifecycle .lifecycle-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #d3c5ff;
  opacity: 0.25;
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 0;
  pointer-events: none;
}

.loan-lifecycle .lifecycle-icon img {
  filter: none;
}

.loan-lifecycle h5 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.loan-lifecycle p {
  font-size: 0.98em;
  margin-bottom: 0;
}

.footer-section {
  margin-top: 30px;
}

.footer-bottom {
  background: #1d1570;
  text-align: center;
  padding: 14px 0;
  color: #fff;
  font-size: 0.96em;
  letter-spacing: 1px;
}

/* Responsive tweaks (Bootstrap handles most) */
@media (max-width: 991px) {
  .services-hero,
  .loan-lifecycle {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  .service-card {
    min-height: 250px;
  }
  .loan-lifecycle .lifecycle-step {
    padding: 25px 10px;
  }
}

@media (max-width: 600px) {
  .services-hero,
  .loan-lifecycle {
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .service-card {
    min-height: 180px;
    padding: 1.5rem 0.7rem;
  }
  .loan-lifecycle .lifecycle-step {
    padding: 18px 2px;
  }
}

/* Fix navbar background for mobile */
@media (max-width: 768px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
  }
}

.nav-item :hover {
  color: white;
  font-size: 18;
  text-decoration: underline;
  padding: 2px 2px;
  border-radius: 12px;
}