.enhanced-services {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.enhanced-services::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
}

.enhanced-services::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(10, 36, 99, 0.2) 0%, rgba(10, 36, 99, 0) 70%);
  border-radius: 50%;
}

.enhanced-services .section-title {
  margin-bottom: 5rem;
  position: relative;
}

.enhanced-services .section-title::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.services-intro p {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-color);
}

.enhanced-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.enhanced-service-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.enhanced-service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.enhanced-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.enhanced-service-card:hover::before {
  opacity: 1;
}

.enhanced-service-header {
  padding: 3rem;
  position: relative;
  background: var(--gradient-primary);
  color: var(--text-light);
}

.enhanced-service-icon {
  position: absolute;
  top: -25px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.enhanced-service-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.enhanced-service-card:hover .enhanced-service-icon i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.enhanced-service-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 1.5rem;
}

.enhanced-service-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.enhanced-service-card:hover .enhanced-service-title::after {
  width: 80px;
}

.enhanced-service-body {
  padding: 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.enhanced-service-description {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.enhanced-service-features {
  list-style: none;
  margin-top: auto;
}

.enhanced-service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.enhanced-service-features li i {
  color: var(--secondary-color);
  margin-right: 1.5rem;
  font-size: 1.6rem;
}

.enhanced-service-footer {
  padding: 2rem 3rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.enhanced-service-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-secondary);
  color: var(--text-dark);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.enhanced-service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.enhanced-service-cta i {
  margin-left: 1rem;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
  .enhanced-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .enhanced-service-grid {
    grid-template-columns: 1fr;
  }
  
  .enhanced-service-header {
    padding: 2.5rem;
  }
  
  .enhanced-service-body {
    padding: 2.5rem;
  }
  
  .enhanced-service-footer {
    padding: 1.5rem 2.5rem;
  }
}

/* Animation for service cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enhanced-service-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.enhanced-service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.enhanced-service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.enhanced-service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.enhanced-service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.enhanced-service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.enhanced-service-card:nth-child(6) {
  animation-delay: 0.6s;
}

.enhanced-service-card:nth-child(7) {
  animation-delay: 0.7s;
}

.enhanced-service-card:nth-child(8) {
  animation-delay: 0.8s;
}
