.pe-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #e9efff, #ffffff);
  font-family: 'Rubik', sans-serif;
}

.pe-container {
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform 0.3s ease;
}

.pe-container:hover {
  transform: scale(1.01);
}

.pe-text {
  flex: 1;
}

.pe-text h1 {
  font-size: 36px;
  color: #263d98;
  position: relative;
  margin-bottom: 20px;
}

.pe-text h1::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #263d98;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.pe-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

.pe-image {
  flex: 1;
  text-align: center;
}

.pe-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.pe-image img:hover {
  transform: scale(1.03);
}
.pe-image-mobile {
  display: none;
}

.pe-image-desktop {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .pe-image-mobile {
    display: block;
    margin-bottom: 1rem;
  }

  .pe-image-desktop {
    display: none;
  }
  .pe-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .pe-text h1 {
    font-size: 28px;
    text-align: center;
  }

  .pe-text h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .pe-image {
    margin-top: 25px;
  }

  .pe-text p {
    font-size: 16px;
  }
  .pe-container {
    flex-direction: column;
  }

  .pe-image {
    order: -1; /* Move image to top on mobile */
  }

}