body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #12001f, #2a003f);
}

/* MOSAIC BACKGROUND EFFECT */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Mosaic pattern */
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);

  background-size: 40px 40px; /* controls grid size */

  pointer-events: none;
  z-index: 0;
}

/* SECTION */
.rj-about {
  padding: 80px 20px;
}

.rj-about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT SIDE */
.rj-about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* IMAGE STACK */
.image-stack {
  position: relative;
  width: 520px;
  height: 520px;
}

/* ALL IMAGES */
.image-stack .img {
  position: absolute;
  border-radius: 20px;
  object-fit: cover;
  transition: 0.5s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* MAIN IMAGE (BIG HERO) */
.main-img {
  width: 360px;
  height: 360px;
  top: 80px;
  left: 80px;
  z-index: 5;
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(255, 79, 216, 0.4);
  transition: opacity 0.3s ease;
}

/* SIDE IMAGES */
.img1 {
  width: 180px;
  height: 180px;
  top: 0;
  left: 0;
}

.img2 {
  width: 160px;
  height: 160px;
  bottom: 0;
  left: 40px;
}

.img3 {
  width: 170px;
  height: 170px;
  top: 20px;
  right: 0;
}

/* CLICKABLE */
.thumb {
  cursor: pointer;
}

.thumb:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.main-img { animation: float 3s ease-in-out infinite; }
.img1 { animation: float 4s ease-in-out infinite; }
.img2 { animation: float 5s ease-in-out infinite; }
.img3 { animation: float 6s ease-in-out infinite; }

/* RIGHT SIDE */
.rj-about-content {
  color: #fff;
}

.rj-about-content h2 {
  font-size: 34px;
}

.rj-about-content span {
  color: #ff4fd8;
}

.about-text {
  color: #ddd;
  line-height: 1.7;
}

.sub-heading {
  color: #ff4fd8;
  margin-top: 15px;
}

.about-list {
  list-style: none;
  padding: 0;
}

/* SCROLL ANIMATION */
.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: 0.8s;
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: 0.8s;
}

.fade-left.active,
.fade-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .rj-about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-stack {
    width: 320px;
    height: 320px;
  }

  .main-img {
    width: 220px;
    height: 220px;
    top: 50px;
    left: 50px;
  }

  .img1, .img2, .img3 {
    width: 100px;
    height: 100px;
  }
}