/* ======================================================
   WORKSPACE TRANSFORMATION SECTION (FIXED)
   ====================================================== */

.workspace-transform{
  padding: 60px 0;
}

/* Container */
.workspace-transform .container{
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ======================================================
   INTRO
   ====================================================== */

.workspace-intro{
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.workspace-intro h2 span{
  color: var(--color-primary);
}

.workspace-intro p{
  margin-top: 15px;
  font-size: 17px;
}

/* ======================================================
   GRID
   ====================================================== */

.workspace-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 70px;
}

.workspace-card{
  background: var(--color-white);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
  box-shadow: var(--shadow-soft);
}

.workspace-card img{
  width: 50px;
  margin-bottom: 15px;
}

.workspace-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Highlight */
.workspace-card.highlight{
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: white;
}

.workspace-card.highlight h4,
.workspace-card.highlight p{
  color: white;
}

/* ======================================================
   SHOWCASE
   ====================================================== */

.workspace-showcase{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.workspace-showcase img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ✅ FIXED OVERLAY */
.workspace-overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.4),
    transparent
  );
}

/* TEXT */
.workspace-overlay h4{
  color: white;
  font-size: 22px;
  max-width: 60%;
}

/* BUTTON FIX */
.workspace-overlay .btn-primary{
  background: var(--color-bamboo);
  color: var(--color-dark);
  font-weight: 600;
  padding: 12px 100px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.workspace-overlay .btn-primary:hover{
  background: var(--color-white);
  color: var(--color-primary);
}

/* Floating leaves (unchanged) */
.leaf{
  position:absolute;
  width:60px;
  height:60px;
  background:url('/assets/images/leaf.png') no-repeat center/contain;
  opacity:.45;
  animation:floatLeaf 7s ease-in-out infinite;
  z-index:1;
}

/* LEFT SIDE LEAVES */
.office-interior-leaf-left-1{
  top:120%;
  left:5%;
  animation-delay:0s;
}

.office-interior-leaf-left-2{
  top:145%;
  left:72%;
  animation-delay:2s;
}


@keyframes floatLeaf{
  0%{
    transform:translateY(0) rotate(0deg);
  }

  50%{
    transform:translateY(-20px) rotate(12deg);
  }

  100%{
    transform:translateY(0) rotate(0deg);
  }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media(max-width: 992px){

  .workspace-grid{
    grid-template-columns: 1fr;
  }

  .workspace-showcase img{
    height: 280px;
  }

  .workspace-overlay{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .workspace-overlay h3{
    max-width: 100%;
  }
}

@media(max-width: 576px){

  .workspace-transform .container{
    padding: 0 15px;
  }

  .workspace-card{
    padding: 25px;
  }
}