* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(
    135deg,
    rgb(248, 242, 250) 0%,
    rgb(230, 200, 255) 50%,
    rgb(182, 120, 253) 100%
  );
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}

.back-home {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: rgb(117, 20, 117);
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 154, 255, 0.3);
  z-index: 100;
}

.back-home:hover {
  background: rgb(206, 154, 255);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(206, 154, 255, 0.3);
}

.title {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.title h1 {
  text-align: center;
  font-size: 78px;
  color: rgb(74, 16, 107);
  font-family: "Rubik", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.services-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  padding: 0 20px;
}

.service-item {
  width: 100%;
  height: auto;
  margin: 15px 0;
  padding: 25px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.25);
}

.service-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(206, 154, 255, 0.1) 0%,
    transparent 50%
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.image-container {
  width: 300px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.image-container::before {
  content: "";
  position: absolute;
  font-size: 120px;
  color: rgba(206, 154, 255, 0.3);
  z-index: 1;
}

.service-icon {
  font-size: 80px;
  color: rgb(117, 20, 117);
  z-index: 2;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.description-container {
  flex: 1;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  margin: 0 20px;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.description-container h1 {
  font-size: 28px;
  color: rgb(74, 16, 107);
  font-family: "Rubik", sans-serif;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.description-container p {
  font-size: 16px;
  color: rgb(74, 16, 107);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  opacity: 0.9;
}

.service-category {
  font-size: 14px;
  color: rgb(117, 20, 117);
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.8;
}

.sub-service {
  margin: 10px 0;
  padding: 10px 15px;
  background: rgba(206, 154, 255, 0.1);
  border-radius: 8px;
  border-left: 3px solid rgb(206, 154, 255);
}

.sub-service h3 {
  font-size: 18px;
  color: rgb(74, 16, 107);
  margin-bottom: 5px;
}

.sub-service p {
  font-size: 14px;
  color: rgb(74, 16, 107);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .title h1 {
    font-size: 48px;
  }

  .service-item {
    flex-direction: column !important;
    text-align: center;
  }

  .service-item:nth-child(even) {
    flex-direction: column !important;
  }

  .image-container {
    width: 200px;
    height: 150px;
    margin-bottom: 20px;
  }

  .service-icon {
    font-size: 60px;
    width: 100px;
    height: 100px;
  }

  .description-container {
    margin: 0;
    padding: 20px;
  }

  .description-container h1 {
    font-size: 24px;
  }

  .title::before,
  .title::after {
    display: none;
  }
}
