/* Hero Section */
.p-hero {
  background: url("../assets/images/service.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(156, 61, 125, 0.5);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 760px;
  padding: 62px;
  color: #fff;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 90px;
  line-height: 1.6;
}

.btn-secondary {
  background: #e28225;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
}

/* Services Section */
.services {
  padding: 60px 40px;
  background-color: #fff;
  text-align: center;
}

.services-header h2 {
  font-size: 2rem;
  color: #9c3d7d;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 1rem;
  color: #8c8c8c;
  margin-bottom: 40px;
}

.card-container {
  margin-top: 150px;
}

.cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.cardx {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 23%;
  transition: all 0.3s ease;
  border: 1.5px solid #9c3d7d;
  text-align: left;
  /* position: relative; */
}

.cardx.purple {
  background: #9c3d7d;
  color: white;
  border: none;
}

.cardx img {
  margin-bottom: 15px;
}

.cardx h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1e1e1e;
}

.cardx.purple h3 {
  color: #fff;
}

.cardx p {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.5;
}

.cardx.purple p {
  color: #fff;
}

.cardx:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta {
  position: relative;
  background: url("") no-repeat center center/cover;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  margin: 40px;
  overflow: hidden;
}

.cta-overlay {
  background: linear-gradient(120deg, #ff543e, #9c3d7d);
  opacity: 0.9;
  padding: 40px;
  text-align: center;
  color: white;
  width: 100%;
  height: 100%;
}

.cta h2 {
  font-size: 1.6rem;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 40px;
}

.cta .btn-primary {
  background-color: #e28225;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-secondary {
    font-size: 1rem;
    padding: 10px 20px;
  }

  /* Service Section */
  .cards {
    width: 80%;
    margin: auto;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .cardx {
    width: 100%;
  }

  .cta h2 {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .cta {
    height: auto;
    padding: 20px 10px;
  }
}
