.before-after-section {
  background-color: #c0bcc6;
}

.transformations {
  background: #faf7f3;
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  color: #c9a24d;
  letter-spacing: 1px;
}

.subtitle {
  max-width: 600px;
  margin: 10px auto 50px;
  color: #6b6b6b;
}

.transformations-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Before After */
.ba-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
}

.ba-image {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after {
  clip-path: inset(0 0 0 50%);
}

.tag {
  position: absolute;   /* this was missing */
  top: 15px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  z-index: 5;
}

.before-tag {
  left: 15px;
  background: #6b4c8c;
}

.after-tag {
  right: 15px;
  background: #d8b45a;
}

.ba-slider {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  cursor: pointer;
}

/* Project Details */
.project-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.title {
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: #3F2B4F; /* deep purple */
  letter-spacing: -1px;
  margin: 0;
}

.highlight {
  color: #805a99; /* light purple */
  padding: 0.1em 0.3em;
  border-radius: 4px;
}
/* PROJECT DETAILS CARD */
.details-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.details-card h4 {
  font-size: 22px;
  margin-bottom: 24px;
  color: #3d2b56;
}

.details-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 16px;
  color: #7a6c91;
}

.details-row strong {
  color: #3d2b56;
}

.details-card hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 22px 0;
}

.features span {
  font-weight: 600;
  color: #7a6c91;
}

.features p {
  margin-top: 6px;
  color: #3d2b56;
}

/* QUOTE CARD */
.quote-card {
  position: relative;
  padding: 36px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    #f6f1fb,
    #faf7ff
  );
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.quote-mark {
  font-size: 60px;
  color: #c7b6e6;
  line-height: 1;
  margin-bottom: 10px;
}

.quote-card p {
  font-size: 16px;
  color: #4c3a63;
  line-height: 1.6;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  background: #5a3f86;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.stars {
  color: #d8b45a;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .transformations-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   BEFORE-AFTER MOBILE FIXES
   ============================================= */

@media (max-width: 768px) {
  .transformations {
    padding: 50px 16px;
  }

  .title {
    font-size: 36px !important;
  }

  .transformations-grid {
    grid-template-columns: 1fr !important;
  }

  .ba-wrapper {
    height: 260px;
  }

  .details-card {
    padding: 20px;
  }

  .details-row {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 28px !important;
  }
}