/* Services Section Styles */
.services {
  padding: 80px 40px;
  background-color: #f9f9f9;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-top: 16px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #A7988D;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(167, 152, 141, 0.2);
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

.service-card:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(167, 152, 141, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s ease;
}

.service-icon i {
  font-size: 1.8rem;
  color: #A7988D;
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  transition: all 0.4s ease;
}

/* Media Queries */
@media screen and (max-width: 991px) {
  .services {
    padding: 64px 40px;
  }
  
  .services-header h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .services {
    padding: 64px 24px;
  }
  
  .services-header {
    margin-bottom: 40px;
  }
  
  .services-header h2 {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 32px 20px;
  }
}